Image Metadata

This class defines the metadata structure stored in image. Defined in src/img/ImgMetaData.h

class ImgMetaData : public TObject

Public Functions

ImgMetaData()

Constructor.

virtual ~ImgMetaData()

Destructor.

void SetFITSCards(Caesar::FITSFileInfo &fits_info)

Set cards from FITS file.

inline std::string GetWCSType()

Get current WCS type.

inline void SetWCSType(std::string value)

Set current WCS type.

WCS *GetWCS(int coordSystem = -1)

Get world coordinate system (TO BE DEPRECATED)

Get world coordinate system

inline double GetPixelArea()

Get pixel area in deg^2.

inline double GetBeamWidth()

Get width of synthetic beam.

inline double GetBeamArea()

Get area of synthetic beam.

inline int GetBeamWidthInPixel()

Get pixel scale.

inline double GetBeamFluxIntegral()

Get flux correction from beam.

bool HasBeamInfo()

Check if beam info have been specified and are valid.

inline void SetBeamInfo(double bmaj, double bmin, double pa)

Set beam info.

bool HasFrequencyInfo()

Check if frequency info have been specified and are valid.