casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
casa::CalStatsPhase Class Reference


End of CalStatsAmp class definition

More...

#include <CalStatsDerived.h>

Inheritance diagram for casa::CalStatsPhase:
casa::CalStats

Public Member Functions

 CalStatsPhase (const casacore::Cube< casacore::DComplex > &oValue, const casacore::Cube< casacore::Double > &oValueErr, const casacore::Cube< casacore::Bool > &oFlag, const casacore::Vector< casacore::String > &oFeed, const casacore::Vector< casacore::Double > &oFrequency, const casacore::Vector< casacore::Double > &oTime, const CalStats::AXIS &eAxisIterUserID, const casacore::Bool &bUnwrap, const casacore::Double &dJumpMax)
 Generic constructor. More...
 
 ~CalStatsPhase (void)
 Destructor. More...
 
- Public Member Functions inherited from casa::CalStats
 CalStats (const casacore::Cube< casacore::Double > &oValue, const casacore::Cube< casacore::Double > &oValueErr, const casacore::Cube< casacore::Bool > &oFlag, const casacore::Vector< casacore::String > &oFeed, const casacore::Vector< casacore::Double > &oFrequency, const casacore::Vector< casacore::Double > &oTime, const AXIS &eAxisIterUser)
 Generic constructor. More...
 
 CalStats (const CalStats &oCalStats)
 Copy constructor and operator=() function. More...
 
CalStatsoperator= (const CalStats &oCalStats)
 
virtual ~CalStats (void)
 Destructor. More...
 
casacore::IPosition axisIterID (void) const
 Axis ID states. More...
 
AXIS axisNonIterID (void) const
 
casacore::Vector
< casacore::String
axisIterFeed (void) const
 Axis value states. More...
 
casacore::Vector
< casacore::Double
axisIterUser (void) const
 
casacore::Vector
< casacore::Double
axisNonIter (void) const
 
casacore::IPosition statsShape (void) const
 Output statistics cube shape state. More...
 
casacore::Cube
< casacore::Double > & 
value (void) const
 casacore::Input data states More...
 
casacore::Cube
< casacore::Double > & 
valueErr (void) const
 
casacore::Cube< casacore::Bool > & flag (void) const
 
template<typename T >
casacore::Matrix< OUT< T > > stats (const ARG< T > &oArg)
 Calculate statistics (allowed T: CalStats::NONE gets data without calculating statistics, CalStatsFitter::FIT calculates fits, and CalStatsHist::HIST calculates histogram statistics). More...
 
template<typename T >
statsWrap (const casacore::Vector< casacore::Double > &oAbs, const casacore::Vector< casacore::Double > &oValue, const casacore::Vector< casacore::Double > &oValueErr, casacore::Vector< casacore::Bool > &oFlag, const ARG< T > &oArg)
 

Static Public Member Functions

static void unwrapGD (casacore::Vector< casacore::Double > &oPhase, const casacore::Vector< casacore::Double > &oFrequency, const casacore::Vector< casacore::Bool > &oFlag)
 Group-delay unwrapping member function. More...
 
static void unwrapSimple (casacore::Vector< casacore::Double > &oPhase, const casacore::Double &dJumpMax, const casacore::Vector< casacore::Bool > &oFlag)
 Simple phase unwrapping member function. More...
 
- Static Public Member Functions inherited from casa::CalStats
static casacore::String axisName (const AXIS &eAxis)
 The axis names. More...
 

Static Private Member Functions

static casacore::Vector
< casacore::Double > & 
fringePacket2 (const casacore::Vector< casacore::Double > &oPhase, const casacore::Vector< casacore::Double > &oFrequency, const casacore::Vector< casacore::Double > &oTime)
 Form the squared-amplitude fringe packet. More...
 
template<typename T >
static casacore::DoublemaxLocation (const casacore::Vector< T > &oAbs, const casacore::Vector< T > &oValue)
 Find the abscissa corresponding to the peak value of an ordinate vector. More...
 

Static Private Attributes

static const casacore::uInt NUM_ITER_UNWRAP
 The maximum number of iterations for unwrapping. More...
 
static const casacore::Double NEW_RANGE_FACTOR
 The new time range per unwrapping iteration is this factor times the present time increment. More...
 

Additional Inherited Members

- Public Types inherited from casa::CalStats
enum  AXIS {
  INIT,
  FEED,
  FREQUENCY,
  TIME
}
 Axis enums. More...
 
typedef enum casa::CalStats::AXIS AXIS
 Axis enums. More...
 
- Protected Member Functions inherited from casa::CalStats
 CalStats (void)
 Unused constructor. More...
 
void next (void)
 Simultaneously increment and reset all input parameter cube iterators. More...
 
void reset (void)
 
- Protected Attributes inherited from casa::CalStats
casacore::IPosition oAxisIterID
 The axis IDs. More...
 
AXIS eAxisNonIterID
 
casacore::Vector
< casacore::String
oAxisIterFeed
 Internal copies of the iteration and non-iteration axis values. More...
 
casacore::Vector
< casacore::Double
oAxisIterUser
 
casacore::Vector
< casacore::Double
oAxisNonIter
 
casacore::IPosition oStatsShape
 Shape of the output statistics cubes. More...
 
casacore::Cube
< casacore::Double > * 
poValue
 Internal copies of input parameter cubes. More...
 
casacore::Cube
< casacore::Double > * 
poValueErr
 
casacore::Cube< casacore::Bool > * poFlag
 
casacore::ArrayIterator
< casacore::Double > * 
poValueIter
 casacore::Input parameter cube iterators More...
 
casacore::ArrayIterator
< casacore::Double > * 
poValueErrIter
 
casacore::ArrayIterator
< casacore::Bool > * 
poFlagIter
 

Detailed Description


End of CalStatsAmp class definition


Start of CalStatsPhase class definition

Definition at line 220 of file CalStatsDerived.h.

Constructor & Destructor Documentation

casa::CalStatsPhase::CalStatsPhase ( const casacore::Cube< casacore::DComplex > &  oValue,
const casacore::Cube< casacore::Double > &  oValueErr,
const casacore::Cube< casacore::Bool > &  oFlag,
const casacore::Vector< casacore::String > &  oFeed,
const casacore::Vector< casacore::Double > &  oFrequency,
const casacore::Vector< casacore::Double > &  oTime,
const CalStats::AXIS eAxisIterUserID,
const casacore::Bool bUnwrap,
const casacore::Double dJumpMax 
)

Generic constructor.

casa::CalStatsPhase::~CalStatsPhase ( void  )

Destructor.

Member Function Documentation

static casacore::Vector<casacore::Double>& casa::CalStatsPhase::fringePacket2 ( const casacore::Vector< casacore::Double > &  oPhase,
const casacore::Vector< casacore::Double > &  oFrequency,
const casacore::Vector< casacore::Double > &  oTime 
)
staticprivate

Form the squared-amplitude fringe packet.

template<typename T >
casacore::Double & casa::CalStatsPhase::maxLocation ( const casacore::Vector< T > &  oAbs,
const casacore::Vector< T > &  oValue 
)
staticprivate

Find the abscissa corresponding to the peak value of an ordinate vector.


End of CalStatsPhase class definition


Start of CalStatsDerived::maxLocation<T> template private statistics member

function

Call the minMax() function and return the position of the maximum value

Definition at line 299 of file CalStatsDerived.h.

References casacore::minMax().

static void casa::CalStatsPhase::unwrapGD ( casacore::Vector< casacore::Double > &  oPhase,
const casacore::Vector< casacore::Double > &  oFrequency,
const casacore::Vector< casacore::Bool > &  oFlag 
)
static

Group-delay unwrapping member function.

static void casa::CalStatsPhase::unwrapSimple ( casacore::Vector< casacore::Double > &  oPhase,
const casacore::Double dJumpMax,
const casacore::Vector< casacore::Bool > &  oFlag 
)
static

Simple phase unwrapping member function.

Member Data Documentation

const casacore::Double casa::CalStatsPhase::NEW_RANGE_FACTOR
staticprivate

The new time range per unwrapping iteration is this factor times the present time increment.

Definition at line 257 of file CalStatsDerived.h.

const casacore::uInt casa::CalStatsPhase::NUM_ITER_UNWRAP
staticprivate

The maximum number of iterations for unwrapping.

Definition at line 253 of file CalStatsDerived.h.


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