Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/TCC/html/classtcc_1_1_tel_mod.html
Дата изменения: Tue Sep 15 02:25:39 2015
Дата индексирования: Sun Apr 10 01:37:21 2016
Кодировка:

Поисковые слова: comet tail
lsst.tcc: tcc::TelMod Class Reference
lsst.tcc  1.2.2-3-g89ecb63
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
tcc::TelMod Class Reference

#include <telMod.h>

Public Member Functions

 TelMod ()
 
 TelMod (std::string const &filePath)
 
 ~TelMod ()
 
void init ()
 
void loadPath (std::string const &filePath)
 
int addTerm (std::string const &termName, double termValue)
 
int getNumTerms () const
 
std::vector< std::string > getTermNames () const
 
double getTerm (std::string const &termName) const
 
void setTerm (std::string const &termName, double termValue)
 
std::string __repr__ ()
 

Public Attributes

TPMOD _model
 

Detailed Description

Definition at line 12 of file telMod.h.

Constructor & Destructor Documentation

tcc::TelMod::TelMod ( )
inlineexplicit

Construct an empty model

Definition at line 17 of file telMod.h.

tcc::TelMod::TelMod ( std::string const &  filePath)
inlineexplicit

Construct a model from a file specified by path

Definition at line 24 of file telMod.h.

tcc::TelMod::~TelMod ( )
inline

Definition at line 28 of file telMod.h.

Member Function Documentation

std::string tcc::TelMod::__repr__ ( )

Return a detailed string representation (especially for Python)

Definition at line 119 of file telMod.cc.

int tcc::TelMod::addTerm ( std::string const &  termName,
double  termValue 
)

Definition at line 46 of file telMod.cc.

int tcc::TelMod::getNumTerms ( ) const

Get the number of terms in the model

Returns
number of terms

Definition at line 66 of file telMod.cc.

double tcc::TelMod::getTerm ( std::string const &  termName) const

Get the value of a term, by name

Parameters
termNamename of term
Returns
the value of the specified term (arcsec)

Definition at line 85 of file telMod.cc.

std::vector< std::string > tcc::TelMod::getTermNames ( ) const

Get the names of the terms in the model

Returns
a vector of term names, in order

Definition at line 75 of file telMod.cc.

void tcc::TelMod::init ( )

Definition at line 17 of file telMod.cc.

void tcc::TelMod::loadPath ( std::string const &  filePath)

Definition at line 27 of file telMod.cc.

void tcc::TelMod::setTerm ( std::string const &  termName,
double  termValue 
)

Definition at line 105 of file telMod.cc.

Member Data Documentation

TPMOD tcc::TelMod::_model

Definition at line 142 of file telMod.h.


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