Scan¶
- class Scan(id=None, antennas=None, intents=None, fields=None, states=None, data_descriptions=None, scan_times=None)[source]¶
Bases:
objectA logical representation of a single scan.
- Parameters:
id (int | None)
antennas (list[Antenna] | None)
intents (list[str] | None)
fields (list[Field] | None)
states (list[State] | None)
data_descriptions (list[DataDescription] | None)
scan_times (dict | None)
- id¶
The scan number within the MeasurementSet.
- antennas¶
Set of Antenna objects for antennas associated with this scan.
- intents¶
Set of Pipeline intents corresponding to the states associated with this scan.
- fields¶
Set of Field objects for fields associated with this scan.
- states¶
Set of State objects for states associated with this scan.
- data_descriptions¶
Set of DataDescription objects for data description entries associated with this scan.
Attributes Summary
Return end time of the Scan as a CASA 'epoch' measure dictionary.
Return set of SpectralWindow objects for spectral windows associated with this Scan.
Return start time of the Scan as a CASA 'epoch' measure dictionary.
Return time-on-source for the Scan.
Methods Summary
exposure_time(spw_id)Return exposure time for this Scan for given spectral window ID.
mean_interval(spw_id)Return the "mean" sub-scan integration time for given spectral window ID.
Attributes Documentation
- end_time¶
Return end time of the Scan as a CASA 'epoch' measure dictionary.
- spws¶
Return set of SpectralWindow objects for spectral windows associated with this Scan.
- start_time¶
Return start time of the Scan as a CASA 'epoch' measure dictionary.
- time_on_source¶
Return time-on-source for the Scan.
Methods Documentation
- exposure_time(spw_id)[source]¶
Return exposure time for this Scan for given spectral window ID.
- Parameters:
spw_id (int) -- Numerical identifier of spectral window to select.
- Returns:
Exposure time for this Scan and given spectral window ID.
- Return type:
timedelta
- mean_interval(spw_id)[source]¶
Return the "mean" sub-scan integration time for given spectral window ID.
Note: at present, it is assumed that the integration time does not vary per sub-scan, and it therefore takes the integration time from the first sub-scan in this Scan to be representative (i.e. it does not take the mean from all sub-scan integration times).
- Parameters:
spw_id (int) -- Numerical identifier of spectral window to select.
- Returns:
Sub-scan integration time for given spectral window ID.
- Return type:
timedelta