37 #ifndef CAL_STATS_DERIVED_H
38 #define CAL_STATS_DERIVED_H
44 #define _USE_MATH_DEFINES
298 template <
typename T>
310 minMax( dValMin, dValMax, oPosMin, oPosMax, oValue );
313 *pdAbsMax = oAbs(oPosMax);
A Vector of integers, for indexing into Array<T> objects.
~CalStatsAmp(void)
Destructor.
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.
Start of CalStats class definition
End of CalStatsReal class definition
static const casacore::Double NEW_RANGE_FACTOR
The new time range per unwrapping iteration is this factor times the present time increment...
static void norm(casacore::Vector< casacore::Double > &oAmp, casacore::Vector< casacore::Double > &oAmpErr, casacore::Vector< casacore::Bool > &oFlag)
Normalize member function.
CalStatsReal(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 CalStats::AXIS &eAxisIterUserID)
Generic constructor.
CalStatsAmp(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 &bNorm)
Generic constructor.
End of CalStatsAmp class definition
static void unwrapSimple(casacore::Vector< casacore::Double > &oPhase, const casacore::Double &dJumpMax, const casacore::Vector< casacore::Bool > &oFlag)
Simple phase unwrapping member function.
static casacore::Double & maxLocation(const casacore::Vector< T > &oAbs, const casacore::Vector< T > &oValue)
Find the abscissa corresponding to the peak value of an ordinate vector.
~CalStatsReal(void)
Destructor.
bool Bool
Define the standard types used by Casacore.
void minMax(T &min, T &max, const TableVector< T > &tv)
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.
static const casacore::uInt NUM_ITER_UNWRAP
The maximum number of iterations for unwrapping.
~CalStatsPhase(void)
Destructor.
Start of CalStatsReal class definition
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.