DP3
Public Member Functions | List of all members
dp3::parmdb::PatchInfo Class Reference

Info about a patch. More...

#include <PatchInfo.h>

Public Member Functions

 PatchInfo ()
 Default constructor. More...
 
 PatchInfo (const std::string &name, double ra, double dec, int category, double apparentBrightness)
 
double apparentBrightness () const
 Get the apparent brightness of the patch (in Jy). More...
 
int getCategory () const
 Get the category. More...
 
double getDec () const
 Get the declination in radians (J2000). More...
 
const std::string & getName () const
 Get the patch name. More...
 
double getRa () const
 Get the right ascension in radians (J2000). More...
 
void setApparentBrightness (double apparentBrightness)
 Set the apparent brightness of the patch (in Jy). More...
 
void setDec (double dec)
 Set the declination in radians (J2000). More...
 
void setRa (double ra)
 Set the right ascension in radians (J2000). More...
 

Detailed Description

Info about a patch.

Constructor & Destructor Documentation

◆ PatchInfo() [1/2]

dp3::parmdb::PatchInfo::PatchInfo ( )
inline

Default constructor.

◆ PatchInfo() [2/2]

dp3::parmdb::PatchInfo::PatchInfo ( const std::string &  name,
double  ra,
double  dec,
int  category,
double  apparentBrightness 
)
inline

Create from patch name, category, ra, dec, and apparent brightness (Jy). Ra and dec must be in radians in J2000.

Member Function Documentation

◆ apparentBrightness()

double dp3::parmdb::PatchInfo::apparentBrightness ( ) const
inline

Get the apparent brightness of the patch (in Jy).

◆ getCategory()

int dp3::parmdb::PatchInfo::getCategory ( ) const
inline

Get the category.

◆ getDec()

double dp3::parmdb::PatchInfo::getDec ( ) const
inline

Get the declination in radians (J2000).

◆ getName()

const std::string& dp3::parmdb::PatchInfo::getName ( ) const
inline

Get the patch name.

◆ getRa()

double dp3::parmdb::PatchInfo::getRa ( ) const
inline

Get the right ascension in radians (J2000).

◆ setApparentBrightness()

void dp3::parmdb::PatchInfo::setApparentBrightness ( double  apparentBrightness)
inline

Set the apparent brightness of the patch (in Jy).

◆ setDec()

void dp3::parmdb::PatchInfo::setDec ( double  dec)
inline

Set the declination in radians (J2000).

◆ setRa()

void dp3::parmdb::PatchInfo::setRa ( double  ra)
inline

Set the right ascension in radians (J2000).


The documentation for this class was generated from the following file: