casac::sdtable Class Reference

#include <sdtable_cmpt.h>

List of all members.


Detailed Description

sdtable component class

// TODO: WRITE YOUR DESCRIPTION HERE!

Author:
Version:

Definition at line 34 of file sdtable_cmpt.h.

Public Member Functions

 sdtable ()
 sdtable (const asap::SDMemTableWrapper &mt)
virtual ~sdtable ()
::casac::sdtablecopy (const std::string &tosdtable="")
bool open (const std::string &insdtable="")
int getif ()
int getbeam ()
int getpol ()
std::string lines ()
int nif ()
int nbeam ()
int npol ()
int nchan ()
int nrow ()
bool setif (const int whichif)
bool setbeam (const int whichbeam)
bool setpol (const int whichpol)
std::string getfluxunit ()
bool setfluxunit (const std::string &unit)
bool setinstrument (const std::string &instrument)
::casac::sdtablegetscan (const std::vector< int > &scan)
::casac::sdtablegetsource (const std::string &source)
std::vector< double > getspectrum (const int whichRow=0)
int nstokes ()
std::vector< double > getstokesspectrum (const int whichRow=0, const bool doPol=false)
std::vector< double > stokestopolspectrum (const int whichRow=0, const bool tolinear=false, const int thepol=-1)
std::string getpolarizationlabel (const bool linear=false, const bool stokes=false, const bool linpol=false)
bool setspectrum (const std::vector< double > &spectrum, const int whichRow=0)
std::vector< double > getabcissa (const int whichRow=0)
std::string getabcissalabel (const int whichRow=0)
std::vector< bool > getmask (const int whichRow=0)
std::vector< double > gettsys ()
std::string getsourcename (const int whichRow=0)
double getelevation (const int whichRow=0)
double getazimuth (const int whichRow=0)
double getparangle (const int whichRow=0)
std::string gettime (const int whichRow=0)
bool flag (const int whichRow=-1)
bool save (const std::string &filename)
bool summary (const bool verbose=true)
std::vector< double > getrestfreqs ()
bool setrestfreqs (const std::vector< double > &restfreqs, const std::string &unit, const std::vector< std::string > &lines, const std::string &source, const int whichif)
bool setcoordinfo (const std::vector< std::string > &theinfo)
std::vector< std::string > getcoordinfo ()
std::vector< std::string > gethistory ()
bool addhistory (const std::string &theinfo)
bool addfit (const int whichRow, const std::vector< double > &p, const std::vector< bool > &m, const std::vector< std::string > &f, const std::vector< int > &c)
bool recalc_azel ()
bool close ()


Constructor & Destructor Documentation

casac::sdtable::sdtable (  ) 

casac::sdtable::sdtable ( const asap::SDMemTableWrapper &  mt  ) 

virtual casac::sdtable::~sdtable (  )  [virtual]


Member Function Documentation

::casac::sdtable* casac::sdtable::copy ( const std::string &  tosdtable = ""  ) 

bool casac::sdtable::open ( const std::string &  insdtable = ""  ) 

int casac::sdtable::getif (  ) 

int casac::sdtable::getbeam (  ) 

int casac::sdtable::getpol (  ) 

std::string casac::sdtable::lines (  ) 

int casac::sdtable::nif (  ) 

int casac::sdtable::nbeam (  ) 

int casac::sdtable::npol (  ) 

int casac::sdtable::nchan (  ) 

int casac::sdtable::nrow (  ) 

bool casac::sdtable::setif ( const int  whichif  ) 

bool casac::sdtable::setbeam ( const int  whichbeam  ) 

bool casac::sdtable::setpol ( const int  whichpol  ) 

std::string casac::sdtable::getfluxunit (  ) 

bool casac::sdtable::setfluxunit ( const std::string &  unit  ) 

bool casac::sdtable::setinstrument ( const std::string &  instrument  ) 

::casac::sdtable* casac::sdtable::getscan ( const std::vector< int > &  scan  ) 

::casac::sdtable* casac::sdtable::getsource ( const std::string &  source  ) 

std::vector<double> casac::sdtable::getspectrum ( const int  whichRow = 0  ) 

int casac::sdtable::nstokes (  ) 

std::vector<double> casac::sdtable::getstokesspectrum ( const int  whichRow = 0,
const bool  doPol = false 
)

std::vector<double> casac::sdtable::stokestopolspectrum ( const int  whichRow = 0,
const bool  tolinear = false,
const int  thepol = -1 
)

std::string casac::sdtable::getpolarizationlabel ( const bool  linear = false,
const bool  stokes = false,
const bool  linpol = false 
)

bool casac::sdtable::setspectrum ( const std::vector< double > &  spectrum,
const int  whichRow = 0 
)

std::vector<double> casac::sdtable::getabcissa ( const int  whichRow = 0  ) 

std::string casac::sdtable::getabcissalabel ( const int  whichRow = 0  ) 

std::vector<bool> casac::sdtable::getmask ( const int  whichRow = 0  ) 

std::vector<double> casac::sdtable::gettsys (  ) 

std::string casac::sdtable::getsourcename ( const int  whichRow = 0  ) 

double casac::sdtable::getelevation ( const int  whichRow = 0  ) 

double casac::sdtable::getazimuth ( const int  whichRow = 0  ) 

double casac::sdtable::getparangle ( const int  whichRow = 0  ) 

std::string casac::sdtable::gettime ( const int  whichRow = 0  ) 

bool casac::sdtable::flag ( const int  whichRow = -1  ) 

bool casac::sdtable::save ( const std::string &  filename  ) 

bool casac::sdtable::summary ( const bool  verbose = true  ) 

std::vector<double> casac::sdtable::getrestfreqs (  ) 

bool casac::sdtable::setrestfreqs ( const std::vector< double > &  restfreqs,
const std::string &  unit,
const std::vector< std::string > &  lines,
const std::string &  source,
const int  whichif 
)

bool casac::sdtable::setcoordinfo ( const std::vector< std::string > &  theinfo  ) 

std::vector<std::string> casac::sdtable::getcoordinfo (  ) 

std::vector<std::string> casac::sdtable::gethistory (  ) 

bool casac::sdtable::addhistory ( const std::string &  theinfo  ) 

bool casac::sdtable::addfit ( const int  whichRow,
const std::vector< double > &  p,
const std::vector< bool > &  m,
const std::vector< std::string > &  f,
const std::vector< int > &  c 
)

bool casac::sdtable::recalc_azel (  ) 

bool casac::sdtable::close (  ) 


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:48:42 2008 for NRAOCASA by  doxygen 1.5.1