pipeline.hif.tasks.tclean.plot_spectra¶
Functions
|
This function is called by atmosphereVariation. |
|
|
|
Given the descriptor returned by plt.subplot, draws a frequency axis label at the top x-axis. |
|
Reads the date of observation, central RA and Dec, and observatory from an image cube header and then calls lsrkToTopo to return the specified frequency range in TOPO (in Hz). freqrange: desired range of frequencies (empty string or list = whole cube) floating point list of two frequencies, or a delimited string (delimiter = ‘,’, ‘~’ or space) prec: in fractions of Hz (only used to display the value when verbose=True) vis: read date of observation from the specified measurement set header: dictionary output by imheadlist -Todd Hunter. |
|
Converts an optical velocity into barycentric, LSRK and TOPO frames. |
|
Emulates imhead(mode=’list’) but leaves off the min/max/minpos/maxpos keywords, the filling of which makes it take so long to run on large cubes. |
|
Converts an LSRK frequency, LSRK velocity, and observing date/direction to the corresponding frequency in the rest frame. |
|
Converts an LSRKfrequency and observing date/direction to the corresponding frequency in the TOPO frame. |
|
Finds the number of channels in a CASA image cube, using the ia tool. returnFreqs: if True, then also return the frequency of the first and last channel (in Hz) returnChannelWidth: if True, then also return the channel width (in Hz) verbose: if True, then print the frequencies of first and last channel Returns: an int -Todd Hunter. |
|
Converts a string frequency (or dictionary) into floating point in Hz, based on the units. |
|
Converts a frequency string into floating point in GHz, based on the units. |
|
Takes a pipeline-produced cube and plots the spectrum within the clean mask (pixels with value=1 in the mask), and the noise spectrum from outside the mask and within the 0.2-0.3 level (auto adjusted upward if image size has been mitigated). |
|
Convert a position in RA/Dec from radians to sexagesimal string which is comma-delimited, e.g. |
|
Converts a rest frequency, LSRK velocity, and observing date/direction to the corresponding frequency in the TOPO frame. |