Functions | |
def | description |
def | isquantized |
def | data |
def | run |
def | time_then_chan_avg |
def | disk_usage |
Variables | |
dictionary | expected |
def time_then_chan_avg.data | ( | ) |
As I understand it, this must return the filenames of needed input data.
Definition at line 365 of file time_then_chan_avg.py.
Referenced by run().
def time_then_chan_avg.description | ( | ) |
Definition at line 8 of file time_then_chan_avg.py.
def time_then_chan_avg.disk_usage | ( | pat | ) |
Returns a dictionary, keyed by path, of the disk usage in kilobytes for each path matching the shell filename pattern pat.
Definition at line 583 of file time_then_chan_avg.py.
def time_then_chan_avg.isquantized | ( | val | ) |
Returns whether or not val has a type with quantized values, i.e. would 1.1 * val's type differ from val's?
Definition at line 350 of file time_then_chan_avg.py.
Referenced by run().
def time_then_chan_avg.run | ( | fetch = False | ) |
Definition at line 375 of file time_then_chan_avg.py.
References locatescript.copydata(), data(), isquantized(), asap.asapmath.keys, and time_then_chan_avg().
def time_then_chan_avg.time_then_chan_avg | ( | inms, | |
tbin, | |||
chanbin, | |||
outms = "" , |
|||
zaptemp = True , |
|||
zaporig = False , |
|||
chanselstr = "" , |
|||
datacolstr = 'corrected' |
|||
) |
Bins time and frequency in 1.x passes. First inms is time averaged to in_timebin<tbin>.ms by split with timebin = tbin. Then in_timebin<tbin>.ms (much smaller than inms!) is channel averaged to outms by split with width = chanbin. outms: Name to use for the output MS. Defaults to inms - ".ms" + "_" + chanselstr + "_timebin" + tbin + "_width" + chanbin + ".ms". zaptemp: whether or not to delete the intermediate ms. zaporig: whether or not to delete the original ms. chanselstr: An spw:chan;step channel selection string corresponding to split's spw. Note that it is an error to select fewer than chanbin channels in any of the selected input spws. Defaulting to averaging all the channels would be reasonable in that case, but it would make it hard to detect more serious errors. Not that you should rely on casapy to detect your bad selection strings...
Definition at line 489 of file time_then_chan_avg.py.
Referenced by run().
dictionary time_then_chan_avg.expected |
Definition at line 14 of file time_then_chan_avg.py.