casa  $Rev:20696$
Functions | Variables
calanalysis_private.h File Reference

Go to the source code of this file.

Functions

std::string uint2string (const unsigned int &number)
Bool parseInput (const ::casac::variant &field, const ::casac::variant &antenna, const ::casac::variant &timerange, const ::casac::variant &spw, const ::casac::variant &feed, const std::string &axis, const std::string &ap, const bool &norm, const bool &unwrap, const double &jumpmax, CalAnalysis::INPUT &oInput)
Bool parseField (const ::casac::variant &field, Vector< uInt > &oField)
Bool parseAntenna (const ::casac::variant &antenna, Vector< uInt > &oAntenna1, Vector< Int > &oAntenna2)
Bool parseTimeRange (const ::casac::variant &timerange, Double &dStartTime, Double &dStopTime, Vector< Double > &oTime)
Bool parseSPW (const ::casac::variant &spw, Vector< uInt > &oSPW, Vector< Vector< uInt > > &oChannel)
Bool parseFeed (const ::casac::variant &feed, Vector< String > &oFeed)
Bool parseAxis (const std::string &axis, CalStats::AXIS &eAxisIterUserID)
Bool parseRAP (const std::string &ap, CalAnalysis::RAP &eRAP)
Bool parseJumpMax (const double &jumpmax, Double &dJumpMax)
Bool parseArg (const std::string &order, const std::string &type, const bool &weight, CalStats::ARG< CalStatsFitter::FIT > &oArg)
Bool parseOrder (const std::string &order, CalStatsFitter::ORDER &eOrder)
Bool parseType (const std::string &type, CalStatsFitter::TYPE &eType)
Bool parseWeight (const bool &weight, CalStatsFitter::WEIGHT &eWeight)
template<typename T >
Bool writeInput (const CalAnalysis::OUTPUT< T > &oOutput, const uInt &row, const uInt &col,::casac::record &oRecIter)
template<typename T >
Bool writeData (const CalAnalysis::OUTPUT< T > &oOutput, const uInt &row, const uInt &col,::casac::record &oRecIter)
template<typename T >
Bool writeFit (const CalStats::ARG< T > &oArg, const CalAnalysis::OUTPUT< T > &oOutput, const uInt &row, const uInt &col,::casac::record &oRecIter)

Variables

String oCalTable
CalAnalysis * poCA

Function Documentation

Bool parseAntenna ( const ::casac::variant antenna,
Vector< uInt > &  oAntenna1,
Vector< Int > &  oAntenna2 
)
Bool parseArg ( const std::string &  order,
const std::string &  type,
const bool &  weight,
CalStats::ARG< CalStatsFitter::FIT > &  oArg 
)
Bool parseAxis ( const std::string &  axis,
CalStats::AXIS &  eAxisIterUserID 
)
Bool parseFeed ( const ::casac::variant feed,
Vector< String > &  oFeed 
)
Bool parseField ( const ::casac::variant field,
Vector< uInt > &  oField 
)
Bool parseInput ( const ::casac::variant field,
const ::casac::variant antenna,
const ::casac::variant timerange,
const ::casac::variant spw,
const ::casac::variant feed,
const std::string &  axis,
const std::string &  ap,
const bool &  norm,
const bool &  unwrap,
const double &  jumpmax,
CalAnalysis::INPUT &  oInput 
)
Bool parseJumpMax ( const double &  jumpmax,
Double &  dJumpMax 
)
Bool parseOrder ( const std::string &  order,
CalStatsFitter::ORDER &  eOrder 
)
Bool parseRAP ( const std::string &  ap,
CalAnalysis::RAP &  eRAP 
)
Bool parseSPW ( const ::casac::variant spw,
Vector< uInt > &  oSPW,
Vector< Vector< uInt > > &  oChannel 
)
Bool parseTimeRange ( const ::casac::variant timerange,
Double &  dStartTime,
Double &  dStopTime,
Vector< Double > &  oTime 
)
Bool parseType ( const std::string &  type,
CalStatsFitter::TYPE &  eType 
)
Bool parseWeight ( const bool &  weight,
CalStatsFitter::WEIGHT &  eWeight 
)
std::string uint2string ( const unsigned int &  number)
template<typename T >
Bool writeData ( const CalAnalysis::OUTPUT< T > &  oOutput,
const uInt &  row,
const uInt &  col,
::casac::record oRecIter 
)
template<typename T >
Bool calanalysis::writeFit ( const CalStats::ARG< T > &  oArg,
const CalAnalysis::OUTPUT< T > &  oOutput,
const uInt &  row,
const uInt &  col,
::casac::record oRecIter 
)

--- //

Write the fit order, type, and weight parameters

Write the fit validity flag

Write the fit reduced chi2 value

Write the fit parameters

Write the fit variances

Write the fit covariances

Write the fit model

Write the fit residuals

Write the fit residual variance

Write the fit residual mean

Return True

Definition at line 167 of file calanalysis_template.h.

References casac::record::insert(), casa::True, and casa::typeName().

template<typename T >
Bool calanalysis::writeInput ( const CalAnalysis::OUTPUT< T > &  oOutput,
const uInt &  row,
const uInt &  col,
::casac::record oRecIter 
)

--- //

Write the field

Write the antenna 1

Write the antenna 2

Write the feed

Write the user-defined iteration axis

Write the RAP parameter

Write the amplitude normalization boolean

Write the phase unwrapping boolean and the maximum phase jump parameter

Return True

Definition at line 5 of file calanalysis_template.h.

References casac::record::insert(), casa::vpf::toString(), and casa::True.


Variable Documentation

String oCalTable

Definition at line 2 of file calanalysis_private.h.

CalAnalysis* poCA

Definition at line 3 of file calanalysis_private.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines