sourcefinder.accessors.aartfaaccasaimage#
Attributes#
Classes#
A class to represent an AARTFAAC CASA image, extending the CasaImage class. |
Module Contents#
- class sourcefinder.accessors.aartfaaccasaimage.AartfaacCasaImage(url, plane=0, beam=None)[source]#
Bases:
sourcefinder.accessors.casaimage.CasaImageA class to represent an AARTFAAC CASA image, extending the CasaImage class.
- Parameters:
- urlstr
The location of the CASA table.
- planeint, default: 0
If the data is a cube, specifies which plane to use.
- beamtuple, default: None
Beam parameters in degrees, in the form (bmaj, bmin, bpa).
- parse_frequency(table)[source]#
Extract frequency-related information from the casacore table.
This method overrides the implementation in the CasaImage class, which retrieves the entries from the ‘spectral2’ sub-table.
- Parameters:
- tablecasacore.tables.table
The CASA table from which frequency information is extracted.
- Returns:
- freq_efffloat
The effective frequency (rest frequency) in Hz extracted from the casacore table.
- freq_bwfloat
The frequency bandwidth in Hz, derived from the WCS ‘cdelt’ value in the casacore table.