DataDescription¶
- class DataDescription(dd_id: int, spw: SpectralWindow, pol_id: int)[source]¶
Bases:
objectA logical representation of an entry in the DATA_DESCRIPTION table.
The DATA_DESCRIPTION table in the measurement set defines the shape of the data in the MAIN table.
- id¶
Numerical identifier of the data description entry.
- spw¶
SpectralWindow object for the spectral window ID associated with the data description.
- pol_id¶
Polarization ID associated with the data description.
- obs_time¶
Mean of midpoint observation times for data matching the data description.
- chan_freq¶
List of channel centre frequencies for data matching the data description.
- corr_axis¶
Vector containing polarization labels that were correlated together for data matching the data description.
Attributes Summary
Return number of polarizations in the DataDescription.
Return polarizations in the DataDescription.
Methods Summary
get_polarization_id(pol)Get the polarization ID associated with given polarization label.
get_polarization_label(pol_id)Get the polarization label associated with given polarization ID.
Attributes Documentation
- num_polarizations¶
Return number of polarizations in the DataDescription.
- polarizations¶
Return polarizations in the DataDescription.
- Returns:
List of polarizations.
Methods Documentation