Public Member Functions | |
def | __init__ |
def | __call__ |
Private Attributes | |
__bases__ | |
__doc__ | |
Static Private Attributes | |
string | __name__ |
Definition at line 18 of file msmoments_pg.py.
def msmoments_pg.msmoments_pg_.__init__ | ( | self | ) |
Definition at line 21 of file msmoments_pg.py.
def msmoments_pg.msmoments_pg_.__call__ | ( | self, | |
infile = None , |
|||
moments = None , |
|||
antenna = None , |
|||
field = None , |
|||
spw = None , |
|||
includemask = None , |
|||
excludemask = None , |
|||
outfile = None , |
|||
overwrite = None , |
|||
async = None |
|||
) |
Compute moments from an MS The spectral moment distributions at each row in input MS are determined. Input MS must have FLOAT_DATA column, i.e. autocorrelation data. See the cookbook and User Reference Manual for mathematical details. The main control of the calculation is given by parameter moments: moments=-1 - mean value of the spectrum moments=0 - integrated value of the spectrum moments=1 - intensity weighted coordinate;traditionally used to get 'velocity fields' moments=2 - intensity weighted dispersion of the coordinate; traditionally used to get "velocity dispersion" moments=3 - median of I moments=4 - median coordinate moments=5 - standard deviation about the mean of the spectrum moments=6 - root mean square of the spectrum moments=7 - absolute mean deviation of the spectrum moments=8 - maximum value of the spectrum moments=9 - coordinate of the maximum value of the spectrum moments=10 - minimum value of the spectrum moments=11 - coordinate of the minimum value of the spectrum Note that includemask and excludemask cannot set simultaneously. Keyword arguments: infile -- Name of input MS data default: none; example: infile="OrionS_rawACSmod" moments -- List of moments you would like to compute default: 0 (integrated spectrum);example: moments=[0,1] see list above antenna -- antenna name or id that the user wants to compute moments default: '' (all antennae) field -- field name or id that the user wants to compute moments default: '' (all fields) spw -- spectral window id that the user wants to compute moments default: '' (all spectral windows) includemask -- List of masks to include default: [-1] (include all channels); example=[2,100] excludemask -- List of masks to exclude default: [-1] (don't exclude channels); example=[100,200] outfile -- Output MS file name (or root for multiple moments) default: '' (input+auto-determined suffix);example: outfile='source_moment' overwrite -- Overwrite existing output files default: false Example for finding the 1-momment, intensity-weighted coordinate, often used for finding velocity fields. msmoments( infile='mydata', moment=1, outfile='velocityfields' )
Definition at line 26 of file msmoments_pg.py.
References vla_uvfits_line_sf.verify.
msmoments_pg.msmoments_pg_.__bases__ [private] |
Definition at line 22 of file msmoments_pg.py.
msmoments_pg.msmoments_pg_.__doc__ [private] |
Definition at line 23 of file msmoments_pg.py.
string msmoments_pg.msmoments_pg_.__name__ [static, private] |
Definition at line 19 of file msmoments_pg.py.