|
| PtSrcReader (std::string catalogFile) |
|
| PtSrcReader () |
|
void | initialize () |
|
virtual | ~PtSrcReader () |
|
void | setCatalogFile (std::string catalogFile) |
|
std::vector< PtSrcReader::Source > | findSources (HourAngle ra, Declination dec, Angle radius, Flux fMin=minFlux_, Flux fMax=maxFlux_, bool doPrint=true) |
|
unsigned | countSources (HourAngle ra, Declination dec, Angle radius, Flux fMin=minFlux_, Flux fMax=maxFlux_) |
|
void | indexSources () |
|
bool | checkAngle (PtSrcReader::Source &src, HourAngle &ra, Declination &dec, Angle &radius) |
|
void | printHeader (std::ostream &os) |
|
virtual void | openCatalogFile ()=0 |
|
virtual void | closeCatalogFile ()=0 |
|
virtual Source | readNextEntry ()=0 |
|
virtual bool | eof ()=0 |
|
virtual void | applyCorrections (Source &src) |
|
virtual void | setRaRange (HourAngle &ra, Declination &dec, Angle &radius) |
|
|
static Flux | minFlux_ |
|
static Flux | maxFlux_ |
|
|
std::string | catalogFile_ |
|
long | sourceIndices_ [25] |
|
unsigned | nSrc_ |
|
PtSrcReader::PtSrcReader |
( |
std::string |
catalogFile | ) |
|
....................................................................... Constructor.
PtSrcReader::PtSrcReader |
( |
| ) |
|
....................................................................... Constructor.
PtSrcReader::~PtSrcReader |
( |
| ) |
|
|
virtual |
....................................................................... Destructor.
....................................................................... Check if the second position is within radius of the first position
....................................................................... Return a list of sources within radius of the requested position.
Note that the FIRST catalog is in J2000 coordinates, so that the requested positions should be too.
....................................................................... Return a list of sources within radius of the requested position.
Note that the FIRST catalog is in J2000 coordinates, so that the requested positions should be too.
void PtSrcReader::indexSources |
( |
| ) |
|
....................................................................... Index the list of sources
void PtSrcReader::initialize |
( |
void |
| ) |
|
....................................................................... Initialize critical members
void PtSrcReader::printHeader |
( |
std::ostream & |
os | ) |
|
....................................................................... Utility function to allow: std::cout << src
void PtSrcReader::setCatalogFile |
( |
std::string |
catalogFile | ) |
|
....................................................................... Set the catalog file
void PtSrcReader::throwCfitsioError |
( |
int |
status | ) |
|
|
protected |
....................................................................... Report an error generated by the cfitsio library
Flux PtSrcReader::maxFlux_ |
|
static |
Initial value:=
Flux(Flux::Jansky(), 1e10)
Flux PtSrcReader::minFlux_ |
|
static |
Initial value:=
Flux(Flux::Jansky(), 0.0)
The documentation for this class was generated from the following files:
- gcpCbass/util/common/PtSrcReader.h
- gcpCbass/util/common/PtSrcReader.cc