#include <SloanCoords.hxx>


Public Member Functions | |
| SloanCoords () | |
| Constructor just sets the method name.   | |
| virtual | ~SloanCoords () | 
| Destructor.   | |
| void | setSource (IntMap &tbls, IntMap &cols, StringMap units) | 
| Sources are the data columns with the RA and DEC.   | |
| void | setTarget (IntMap &cols, StringMap units) | 
| void | doit (TableData< DataType > &data, int row1, int row2) | 
| Fill up the data columns for the Sloan coordinates.   | |
| void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) | 
Private Attributes | |
| int | lambdaColno | 
| int | etaColno | 
| int | raColno | 
| int | decColno | 
| double | decFact | 
| double | raFact | 
| double | lFact | 
| double | eFact | 
| double | degToRad | 
| double | raOffset | 
| double | etaOffset | 
| Converter | converter | 
Implements the method to calculate polar angles in the Sloan coordinate system, from input RA and DEC.
| SloanCoords< DataType >::SloanCoords | ( | ) |  [inline] | 
        
Constructor just sets the method name.
| virtual SloanCoords< DataType >::~SloanCoords | ( | ) |  [inline, virtual] | 
        
Destructor.
| void SloanCoords< DataType >::doit | ( | TableData< DataType > & | data, | |
| int | row1, | |||
| int | row2 | |||
| ) |  [inline, virtual] | 
        
Fill up the data columns for the Sloan coordinates.
Implements DataMethod< DataType >.
References Logger::addError(), TableData< DataType >::assign(), ExpectNames::dec, SloanCoords< DataType >::decColno, SloanCoords< DataType >::decFact, SloanCoords< DataType >::eFact, ExpectNames::eta, SloanCoords< DataType >::etaColno, SloanCoords< DataType >::etaOffset, ExpectNames::lambda, SloanCoords< DataType >::lambdaColno, SloanCoords< DataType >::lFact, StringOps::NumToString(), ExpectNames::ra, SloanCoords< DataType >::raColno, SloanCoords< DataType >::raFact, SloanCoords< DataType >::raOffset, and TableData< DataType >::value().
| void SloanCoords< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) |  [inline, virtual] | 
        
Implements DataMethod< DataType >.
| void SloanCoords< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) |  [inline, virtual] | 
        
Sources are the data columns with the RA and DEC.
Implements DataMethod< DataType >.
References SloanCoords< DataType >::converter, SloanCoords< DataType >::decColno, SloanCoords< DataType >::decFact, SloanCoords< DataType >::degToRad, SloanCoords< DataType >::etaOffset, Converter::getFactor(), SloanCoords< DataType >::raColno, SloanCoords< DataType >::raFact, and SloanCoords< DataType >::raOffset.
| void SloanCoords< DataType >::setTarget | ( | IntMap & | cols, | |
| StringMap | units | |||
| ) |  [inline, virtual] | 
        
Targets are the data columns for the two Sloan coordinates "lambda" and "eta"
Implements DataMethod< DataType >.
References SloanCoords< DataType >::converter, SloanCoords< DataType >::eFact, SloanCoords< DataType >::etaColno, Converter::getFactor(), SloanCoords< DataType >::lambdaColno, and SloanCoords< DataType >::lFact.
Converter SloanCoords< DataType >::converter [private] | 
        
Referenced by SloanCoords< DataType >::setSource(), and SloanCoords< DataType >::setTarget().
int SloanCoords< DataType >::decColno [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setSource().
double SloanCoords< DataType >::decFact [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setSource().
double SloanCoords< DataType >::degToRad [private] | 
        
Referenced by SloanCoords< DataType >::setSource().
double SloanCoords< DataType >::eFact [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setTarget().
int SloanCoords< DataType >::etaColno [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setTarget().
double SloanCoords< DataType >::etaOffset [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setSource().
int SloanCoords< DataType >::lambdaColno [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setTarget().
double SloanCoords< DataType >::lFact [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setTarget().
int SloanCoords< DataType >::raColno [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setSource().
double SloanCoords< DataType >::raFact [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setSource().
double SloanCoords< DataType >::raOffset [private] | 
        
Referenced by SloanCoords< DataType >::doit(), and SloanCoords< DataType >::setSource().
 1.6.3