SourceTable Class Reference

#include <SourceTable.h>

Inheritance diagram for SourceTable:
Inheritance graph
[legend]
Collaboration diagram for SourceTable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SourceTable (TableData< Numeric > *aDataPtr, TableInfo *aInfoPtr)
 Constructor.
 ~SourceTable ()
 Destructor.
void insertUserSupplied ()
void copyPassband (const MergeTable &aMergeTable, const CameoSet &aCameoTables)
void insertAstrometricData (const MergeTable &aMergeTable, const CameoSet &aCameoTables)
void calcMergedClass (const MergeTable &aMergeTable, const CameoSet &aCameoTables)
void finishOff ()
void fillExtinctionValues ()
 Add in the galactic extinction values.
void writeAsBinary ()
 Dump the merged data into a binary file for later ingest.

Private Types

enum  SourceClass {
  Saturated = -9, ProbGalaxy = -3, ProbStar, Star,
  Noise, Galaxy
}

Member Enumeration Documentation

enum SourceTable::SourceClass [private]
Enumerator:
Saturated 
ProbGalaxy 
ProbStar 
Star 
Noise 
Galaxy 

Constructor & Destructor Documentation

SourceTable::SourceTable ( TableData< Numeric > *  aDataPtr,
TableInfo aInfoPtr 
) [inline]

Constructor.

SourceTable::~SourceTable (  )  [inline]

Destructor.


Member Function Documentation

void SourceTable::calcMergedClass ( const MergeTable aMergeTable,
const CameoSet aCameoTables 
)

Calculates the "merged class" and class category probabilities from the individual object classifications from the passbands; also calculates the continuously-distributed merged class statistic requested by SJW.

Parameters:
aMergeTable Input merge table
aCameoTables Input cameo (passband) data

References TableData< DataType >::assign(), TableData< DataType >::at(), TableInfo::ColNotFound, Galaxy, TableInfo::getAttNo(), TableInfo::getTableName(), TableData< DataType >::isDefined(), Table< Numeric >::mDataPtr, Table< Numeric >::mInfoPtr, Noise, StringOps::NumToString(), ProbGalaxy, ProbStar, TableData< DataType >::qNumRows(), Saturated, and Star.

void SourceTable::copyPassband ( const MergeTable aMergeTable,
const CameoSet aCameoTables 
)

Copy to the merged source table the values of the passband-dependent attributes from each of the individual passband detection tables

Parameters:
aMergeTable Input merge table
aCameoTables Input cameo (passband) data

References TableData< DataType >::assign(), MergeTable::getEntry(), TableInfo::getName(), Table< Numeric >::mDataPtr, Table< Numeric >::mInfoPtr, TableData< DataType >::qNumCols(), and TableData< DataType >::qNumRows().

void SourceTable::fillExtinctionValues (  ) 
void SourceTable::finishOff (  ) 

Calculate the remaining attributes in the merged data. These include cartesian values, HTM indicies, various polar coordinate systems, and colour indicies

References Logger::addMessage(), TableInfo::ColNotFound, DataMethod< DataType >::determineSourceAndTarget(), DataMethod< DataType >::doit(), Options::getArchive(), TableInfo::getAttNo(), Table< Numeric >::mDataPtr, Table< Numeric >::mInfoPtr, and TableData< DataType >::qNumRows().

void SourceTable::insertAstrometricData ( const MergeTable aMergeTable,
const CameoSet aCameoTables 
)

Fill merged source positions and epochs for the given source table schema based on an astrometic solution.

Parameters:
aMergeTable Input merge table
aCameoTables Input cameo (passband) data

References Logger::addMessage(), TableData< DataType >::assign(), TableInfo::ColNotFound, TableInfo::getAttNo(), MergeTable::getEntry(), Converter::getFactor(), Options::getOptionDbl(), TableInfo::getTableName(), TableInfo::getUnits(), Table< Numeric >::mDataPtr, Table< Numeric >::mInfoPtr, StringOps::NumToString(), TableData< DataType >::qNumRows(), ExpectNames::ra, and DefaultValues::realdef.

void SourceTable::insertUserSupplied (  ) 
void SourceTable::writeAsBinary (  ) 

The documentation for this class was generated from the following files:
Generated on Mon Oct 4 10:39:39 2010 for WfcamSrc by  doxygen 1.6.3