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

Info about a patch direction. More...

#include <PatchInfo.h>

Public Member Functions

 PatchSumInfo (unsigned int patchId)
 
void add (double ra, double dec, double flux)
 Add a source direction to determine the average patch direction. More...
 
double getDec () const
 
double getFlux () const
 Get the total flux of the patch. More...
 
unsigned int getPatchId () const
 Get the patchId. More...
 
double getRa () const
 Get the patch direction (flux-weighted average direction of its sources). More...
 

Detailed Description

Info about a patch direction.

Constructor & Destructor Documentation

◆ PatchSumInfo()

dp3::parmdb::PatchSumInfo::PatchSumInfo ( unsigned int  patchId)
inlineexplicit

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

Member Function Documentation

◆ add()

void dp3::parmdb::PatchSumInfo::add ( double  ra,
double  dec,
double  flux 
)

Add a source direction to determine the average patch direction.

◆ getDec()

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

◆ getFlux()

double dp3::parmdb::PatchSumInfo::getFlux ( ) const
inline

Get the total flux of the patch.

◆ getPatchId()

unsigned int dp3::parmdb::PatchSumInfo::getPatchId ( ) const
inline

Get the patchId.

◆ getRa()

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

Get the patch direction (flux-weighted average direction of its sources).


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