sourcefinder.accessors.lofarfitsimage#
Classes#
Use PyFITS to pull image data out of a FITS file. |
Module Contents#
- class sourcefinder.accessors.lofarfitsimage.LofarFitsImage(url, plane=False, beam=False, hdu=0)[source]#
Bases:
sourcefinder.accessors.fitsimage.FitsImage,sourcefinder.accessors.lofaraccessor.LofarAccessorUse PyFITS to pull image data out of a FITS file.
Provide standard attributes, as per
DataAccessor. In addition, we provide atelescopeattribute if the FITS file has aTELESCOPheader.- Parameters:
- urlPath or str
The path or URL to the FITS file.
- planeint, default: None
If the data is a datacube, specifies which plane to use.
- beamtuple, default: None
Beam parameters in degrees, in the form (bmaj, bmin, bpa). If not supplied, the method will attempt to read these from the header.
- hdu_indexint, default: 0
The index of the HDU to use from the HDU list.