|
My Project
|
Public Member Functions | |
| FirstFitsReader (std::string catalogFile) | |
| FirstFitsReader () | |
| virtual | ~FirstFitsReader () |
| PtSrcReader::Source | parseData () |
| void | readFitsData (long startRow, long nElement) |
| void | applyCorrections (PtSrcReader::Source &src) |
Public Member Functions inherited from gcp::util::PtSrcFitsReader | |
| PtSrcFitsReader (std::string catalogFile) | |
| PtSrcFitsReader () | |
| virtual | ~PtSrcFitsReader () |
| void | initialize () |
| void | openCatalogFile () |
| void | closeCatalogFile () |
| PtSrcReader::Source | readNextEntry () |
| void | readNextChunk () |
| bool | eof () |
| void | setRaRange (HourAngle &ra, Declination &dec, Angle &radius) |
| void | initRange () |
Public Member Functions inherited from gcp::util::PtSrcReader | |
| 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) |
Additional Inherited Members | |
Public Attributes inherited from gcp::util::PtSrcReader | |
| HourAngle | raMin_ |
| HourAngle | raMax_ |
Static Public Attributes inherited from gcp::util::PtSrcReader | |
| static Flux | minFlux_ |
| static Flux | maxFlux_ |
Protected Member Functions inherited from gcp::util::PtSrcFitsReader | |
| void | incrementRange () |
Protected Member Functions inherited from gcp::util::PtSrcReader | |
| void | throwCfitsioError (int status) |
Protected Attributes inherited from gcp::util::PtSrcFitsReader | |
| fitsfile * | fitsFile_ |
| int | status_ |
| long | indices_ [25] |
| unsigned | nChunk_ |
| unsigned | iChunk_ |
| long | nRow_ |
| long | nRowTotal_ |
| unsigned | iRow_ |
| double | ras_ [chunkSize_] |
| double | decs_ [chunkSize_] |
| float | peakFluxes_ [chunkSize_] |
| float | rmsFluxes_ [chunkSize_] |
| float | majorAxes_ [chunkSize_] |
| float | minorAxes_ [chunkSize_] |
| float | positionAngles_ [chunkSize_] |
| char * | sourceNames_ [chunkSize_] |
| unsigned int | nRange_ |
| unsigned int | iRange_ |
| unsigned | rowMin_ |
| unsigned int | rangeStartInd_ [2] |
| unsigned int | rangeStopInd_ [2] |
Protected Attributes inherited from gcp::util::PtSrcReader | |
| std::string | catalogFile_ |
| long | sourceIndices_ [25] |
| unsigned | nSrc_ |
Static Protected Attributes inherited from gcp::util::PtSrcFitsReader | |
| static const unsigned | chunkSize_ = 10 |
| FirstFitsReader::FirstFitsReader | ( | std::string | catalogFile | ) |
Constructor.
....................................................................... Constructor.
| FirstFitsReader::FirstFitsReader | ( | ) |
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
|
virtual |
....................................................................... Read the next entry from the catalog file
Implements gcp::util::PtSrcFitsReader.
|
virtual |
....................................................................... Read the next chunk of data from the FITS file
Data structure from the NVSS catalog.ps file:
1 RA(2000) J2000 Right Ascension (degrees) 2 DEC(2000) J2000 declination (degrees) 3 WARN Warning flag (T/F) 4 PEAK INT Peak Stokes I (Jy/beam) 5 INT FLUX Integrated FLux(Jy) 6 I RMS RMS in the I image (Jy) 7 DEC MAJOR AX Deconvolved major axis (degrees) 8 DEC MINOR AX Deconvolved minor axis (degrees) 9 DEC PA Deconvolved PA (degrees) 10 FIT MAJOR AX Fitted major axis (degrees) 11 FIT MINOR AX Fitted minor axis (degrees) 12 FIT PA Fitted PA (degrees)
Implements gcp::util::PtSrcFitsReader.