My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::FirstTxtReader Class Reference
Inheritance diagram for gcp::util::FirstTxtReader:
gcp::util::PtSrcReader gcp::util::FirstReader

Public Member Functions

 FirstTxtReader (std::string catalogFile)
 
 FirstTxtReader ()
 
void initialize ()
 
virtual ~FirstTxtReader ()
 
void openCatalogFile ()
 
void closeCatalogFile ()
 
Source convertToSource (gcp::util::String &str)
 
bool eof ()
 
PtSrcReader::Source readNextEntry ()
 
void convertCatalog ()
 
void createFitsCatalogFile ()
 
void writeFitsEntry (PtSrcReader::Source &src, long iRow)
 
void createFitsBinTable (long nRow)
 
- 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::SourcefindSources (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 applyCorrections (Source &src)
 
virtual void setRaRange (HourAngle &ra, Declination &dec, Angle &radius)
 
- Public Member Functions inherited from gcp::util::FirstReader
 FirstReader ()
 
virtual ~FirstReader ()
 
void applyCorrections (PtSrcReader::Source &src)
 
void setRestoringBeam (PtSrcReader::Source &src)
 
void setSizeError (PtSrcReader::Source &src, Angle &axis, Angle &error)
 
double getSnr (PtSrcReader::Source &src)
 
Angle getAvBeam (PtSrcReader::Source &src)
 
void setPositionErrors (PtSrcReader::Source &src)
 

Public Attributes

std::ifstream ifStr_
 
- Public Attributes inherited from gcp::util::PtSrcReader
HourAngle raMin_
 
HourAngle raMax_
 

Additional Inherited Members

- Static Public Attributes inherited from gcp::util::PtSrcReader
static Flux minFlux_
 
static Flux maxFlux_
 
- Protected Member Functions inherited from gcp::util::PtSrcReader
void throwCfitsioError (int status)
 
- Protected Attributes inherited from gcp::util::PtSrcReader
std::string catalogFile_
 
long sourceIndices_ [25]
 
unsigned nSrc_
 

Constructor & Destructor Documentation

FirstTxtReader::FirstTxtReader ( std::string  catalogFile)

Constructor.

....................................................................... Constructor.

FirstTxtReader::FirstTxtReader ( )

....................................................................... Constructor.

FirstTxtReader::~FirstTxtReader ( )
virtual

Destructor.

....................................................................... Destructor.

Member Function Documentation

void FirstTxtReader::closeCatalogFile ( )
virtual

....................................................................... Close the catalog file

Implements gcp::util::PtSrcReader.

void FirstTxtReader::convertCatalog ( )

....................................................................... Method to convert the FIRST ASCII-style catalog to an NVSS-style FITS BINTABLE extension

PtSrcReader::Source FirstTxtReader::convertToSource ( gcp::util::String str)

....................................................................... After a line has been read, this method should be called to convert the data to a Source structure.

void FirstTxtReader::createFitsBinTable ( long  nRow)

....................................................................... Append a FITS binary table header

void FirstTxtReader::createFitsCatalogFile ( )

....................................................................... Create a dummy image file to which the catalog will be appended

bool FirstTxtReader::eof ( )
virtual

....................................................................... Return true if the input stream for the catalog file is at the EOF mark

Implements gcp::util::PtSrcReader.

void FirstTxtReader::initialize ( void  )

....................................................................... Initialize critical members

void FirstTxtReader::openCatalogFile ( )
virtual

....................................................................... Open the catalog file

Implements gcp::util::PtSrcReader.

PtSrcReader::Source FirstTxtReader::readNextEntry ( )
virtual

....................................................................... Read the next entry from the catalog file

Implements gcp::util::PtSrcReader.

void FirstTxtReader::writeFitsEntry ( PtSrcReader::Source src,
long  iRow 
)

....................................................................... Write a single source as a FITS binary table entry


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