Functions | |
def | description |
def | data |
def | run |
def | conv_dirstr |
def | run_tasks |
def | getpeak |
def | direction_var |
def | compare |
def | cmp_shape_param |
def equinox_vis.cmp_shape_param | ( | peaks, | |
equinox, | |||
q, | |||
nsigma | |||
) |
Compare shape parameter q ('majoraxis', 'minoraxis', or 'positionangle') in peaks[equinox] to the originals.
Definition at line 196 of file equinox_vis.py.
Referenced by compare().
def equinox_vis.compare | ( | peaks, | |
nsigma = 3.0 |
|||
) |
Definition at line 147 of file equinox_vis.py.
References cmp_shape_param(), and direction_var().
Referenced by run().
def equinox_vis.conv_dirstr | ( | orig_dirstr, | |
newframe | |||
) |
Returns a direction string (suitable for use in clean) made by converting orig_dirstr to newframe.
Definition at line 45 of file equinox_vis.py.
References run_tasks().
Referenced by run_tasks().
def equinox_vis.data | ( | ) |
As I understand it, this must return the filenames of needed input data.
Definition at line 12 of file equinox_vis.py.
Referenced by run().
def equinox_vis.description | ( | ) |
Definition at line 8 of file equinox_vis.py.
def equinox_vis.direction_var | ( | direction | ) |
Given a direction dictionary from imfit with estimated latitude and longitude errors, returns the position variance collapsed down to a single number, in arcsec**2.
Definition at line 136 of file equinox_vis.py.
References irc_cs_task_regression.sum.
Referenced by compare().
def equinox_vis.getpeak | ( | vis, | |
advice | |||
) |
Clean vis and find the peak of the resulting image.
Definition at line 111 of file equinox_vis.py.
Referenced by run_tasks().
def equinox_vis.run | ( | fetch = False | ) |
Run the tasks and compare the results.
Definition at line 17 of file equinox_vis.py.
References compare(), locatescript.copydata(), data(), and run_tasks().
def equinox_vis.run_tasks | ( | origvis = '0420+417.ms' , |
|
advice = None , |
|||
lazy = True , |
|||
equinoxes = ['B1950_VLA' , |
|||
B1950, | |||
J2000, | |||
BMEAN, | |||
BTRUE, | |||
APP, | |||
JMEAN, | |||
JTRUE, | |||
convert_phasecenter = False |
|||
) |
Fill the peaks dictionary by running fixvis, clean, and imfit for equinoxes, and the original one.
Definition at line 60 of file equinox_vis.py.
References conv_dirstr(), and getpeak().
Referenced by conv_dirstr(), and run().