33 #ifndef CAL_ANALYSIS_H
34 #define CAL_ANALYSIS_H
318 INIT=-1, REAL=0, AMPLITUDE, PHASE
364 template <
typename T>
410 template <
typename T>
415 template <
typename T>
419 template <
typename T>
424 template <
typename T>
498 void spwInfoSet(
const SPW_INFO& oSPWInfoIn );
639 template <
typename T>
681 casacore::Bool bGetGroup = getGroup( oNCT, oInputNew, oFieldGroup, oAntenna1Group,
682 oAntenna2Group, oTimeUniqueGroup, oFreqGroup, oCParamGroup, oFParamGroup,
683 oParamErrGroup, oFlagGroup );
697 output.
resize( uiNumGroup,
false );
704 output[g].uiField = oFieldGroup[g];
705 output[g].uiAntenna1 = oAntenna1Group[g];
706 output[g].iAntenna2 = oAntenna2Group[g];
707 output[g].eRAP = oInputNew.
eRAP;
708 output[g].bNorm = oInputNew.
bNorm;
709 output[g].bUnwrap = oInputNew.
bUnwrap;
710 output[g].dJumpMax = oInputNew.
dJumpMax;
719 oParamErrGroup[g], oFlagGroup[g], oInputNew.
oFeed, oFreqGroup[g],
724 oParamErrGroup[g], oFlagGroup[g], oInputNew.
oFeed, oFreqGroup[g],
729 oParamErrGroup[g], oFlagGroup[g], oInputNew.
oFeed, oFreqGroup[g],
737 output[g].oOut = poCS->
stats<T>( oArg );
746 <<
", iteration (field,antenna1,antenna2) = (" << oFieldGroup[g]
747 <<
"," << oAntenna1Group[g] <<
"," << oAntenna2Group[g]
795 template <
typename T>
803 if ( tValue == oValue[v] ) value =
true;
841 template <
typename T>
848 if ( oInput[i] == tValue ) {
896 template <
typename T>
906 if ( oVector[v1] == oVector[v2] ) {
914 unq.operator[](unq.
nelements()-1) = oVector[v1];
casacore::String oMSName
Get the associated casacore::MS name and set the private variable.
casacore::uInt uiNumTime
Get the times and set the private variables.
LatticeExprNode log(const LatticeExprNode &expr)
Start of CalStats class definition
casacore::Matrix< CalStats::OUT< T > > oOut
casacore::String oParType
Get the parameter column type and set the private variable.
Statistics OUT nested class (allowed T: CalStats::NONE, CalStatsFitter::FIT, or CalStatsHist::HIST), used to hold the output of statsWrap<T>().
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
casacore::String oCalName
Get the calibration table name and set the private variable.
End of CalStatsReal class definition
Order
Enumerate the sort order:
Statistics ARG nested class (allowed T: CalStats::NONE, CalStatsFitter::FIT, or CalStatsHist::HIST), used as an input to stats<T>() and statsWrap<T>().
casacore::Double dJumpMax
PtrHolder< T > & operator=(const PtrHolder< T > &other)
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
A 2-D Specialization of the Array class.
ostream-like interface to creating log messages.
casacore::String oPolBasis
Get the polarization basis and set the private variable.
Change the message priority to WARN.
const String & getMesg() const
RAP
Real/Amplitude/Phase enums.
casacore::Vector< casacore::uInt > oSPW
End of CalStatsAmp class definition
casacore::uInt uiNumAntenna1
Get the antenna 1 numbers and set the private variables.
casacore::String oVisCal
Get the visibility calibration type and set the private variable.
SPW_INFO oSPWInfo
Get the spectral window information and set the private variables.
casacore::uInt uiNumField
Get the field numbers and set the private variables.
Start of CalAnalysis class definition
OUTPUT nested class (allowed T: CalStats::NONE, CalStatsFitter::FIT, or CalStatsHist::HIST), used to hold the vector output of stats<T>()
bool Bool
Define the standard types used by Casacore.
casacore::uInt uiNumAntenna2
Get the antenna 2 numbers and set the private variables.
Post the accumulated message.
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).
LogOrigin: The source code location of the originator of a LogMessage.
casacore::Vector< casacore::uInt > oNumChannel
Base class for all Casacore library errors.
casacore::Vector< casacore::Vector< casacore::Double > > oFrequency
static uInt sort(T *, uInt nr, Sort::Order=Sort::Ascending, int options=0)
Sort a C-array containing nr T-type objects.
String: the storage and methods of handling collections of characters.
void resize(size_t len, Bool copyValues=False)
Start of CalStatsReal class definition
casacore::uInt uiAntenna1
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
casacore::uInt uiNumFeed
Get the feeds and set the private variables.
casacore::uInt uiNumAntenna
Get the antenna numbers and set the private variables.