28 #ifndef CALTABLES_CALINTERP_H
29 #define CALTABLES_CALINTERP_H
casacore::Bool aipslinF()
void asFloatArr(const casacore::Array< casacore::Complex > &in, casacore::Array< casacore::Float > &out)
A Vector of integers, for indexing into Array<T> objects.
casacore::Array< casacore::Bool > & parOK(const casacore::Int &spw)
casacore::Cube< casacore::Float > p
casacore::PtrBlock< casacore::Cube< casacore::Bool > * > tOk_
CalInterp()
Null ctor does nothing.
casacore::String & timeType()
Access to imutable private data.
casacore::Vector< casacore::Double > t0_
casacore::Time Interpolation ordinate info (per spw)
casacore::Cube< casacore::Float > a
void rPart(casacore::Array< casacore::Complex > &c, casacore::Array< casacore::Float > &rp)
casacore::Double & lastTime()
void initFreqInterp(const casacore::Vector< casacore::Double > freq)
casacore::Array< casacore::Float > & fPC()
casacore::Bool & exactTime()
casacore::Array< T > & par(const casacore::Int &spw)
void interpFreq(const casacore::Vector< casacore::Double > &freq)
Do freq-dep interpolation (called by interpolate)
casacore::Vector< casacore::Double > lastTime_
Prior interp time, per spw.
casacore::Int & currSlot()
virtual ~CalInterp()
Destructor.
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
casacore::Bool exactTime_
Exact time match flag.
casacore::PtrBlock< casacore::Array< casacore::Float > * > tPC_
casacore::IPosition & ip4d()
Access to IPositions.
casacore::Vector< casacore::Double > & datFreq()
casacore::PtrBlock< casacore::IPosition * > ip3d_
casacore::Cube< casacore::Complex > r_
casacore::Bool nearestF()
casacore::IPosition & ip3d()
casacore::Int currSpwMap()
void setSpwMap(const casacore::Vector< casacore::Int > &spwmap)
Set non-trivial spw mapping.
casacore::Cube< casacore::Bool > ok
casacore::Cube< casacore::Float > fP_
casacore::Vector< casacore::Int > currSlot_
casacore::Cube< casacore::Float > tA_
casacore::Time Interpolation results (currSpw)
void part(const casacore::Array< casacore::Complex > &c, const casacore::Int &which, casacore::Array< casacore::Float > &f)
casacore::Bool nearestT()
casacore::Vector< casacore::Bool > & ef()
casacore::PtrBlock< casacore::Vector< casacore::Bool > * > ef_
casacore::Int spwMap(const casacore::Int &spw)
casacore::Vector< casacore::Double > & csTimes()
casacore::Bool interpTime(const casacore::Double &time)
Do time-dep interpolation (called by interpolate)
casacore::Cube< casacore::Float > fA_
Freq Interpolation results (currSspw)
casacore::Cube< casacore::Complex > fC_
casacore::Array< casacore::Float > & tPC()
casacore::IPosition & ip2d()
casacore::Vector< casacore::Double > & fdf()
casacore::Int & nTime()
Access to in-focus portion of CalSet (spwmap'd)
casacore::Cube< casacore::Bool > & resultOK()
casacore::Vector< casacore::Bool > finit_
Frequency initialization flag (true if init complete)
casacore::Vector< casacore::Int > spwMap_
Spw map.
casacore::Int & nSpw()
Access to shape info:
casacore::PtrBlock< casacore::IPosition * > ip2d_
casacore::Cube< casacore::Bool > & tOk()
casacore::Vector< casacore::Int > & nChan()
casacore::PtrBlock< casacore::Array< casacore::Complex > * > tCC_
casacore::Vector< casacore::Int > lastlo_
bool Bool
Define the standard types used by Casacore.
casacore::Vector< casacore::Double > tS_
casacore::PtrBlock< casacore::IPosition * > ip4d_
casacore::Array shapes
casacore::Array< casacore::Bool > & csParOK()
casacore::Vector< casacore::Double > & csFreq()
casacore::Vector< casacore::Double > & df()
casacore::Cube< casacore::Float > tP_
casacore::Cube< casacore::Complex > & result()
Access to result (by reference)
casacore::PtrBlock< casacore::Array< casacore::Float > * > fPC_
A drop-in replacement for Block<T*>.
casacore::Array< casacore::Float > & fAC()
In-focus Freq Interpolation coefficients.
casacore::LogSink logSink_p
casacore::Bool interpolate(const casacore::Double &time, const casacore::Int &spw, const casacore::Vector< casacore::Double > &freq=casacore::Vector< casacore::Double >())
Interpolate, given timestamp, spw, freq list; returns T if new result.
casacore::Double slotTime()
Timestamp of current Slot.
void interpTimeCalc(const casacore::Double &time)
casacore::Vector< casacore::Int > nFreq_
Number of channels.
casacore::PtrBlock< casacore::Array< casacore::Float > * > fAC_
Freq Interpolation coefficients (per spw)
casacore::PtrBlock< casacore::Cube< casacore::Bool > * > fOk_
casacore::PtrBlock< casacore::Array< casacore::Float > * > tAC_
casacore::Time Interpolation coefficients (per spw)
casacore::PtrBlock< casacore::Vector< casacore::Double > * > df_
casacore::Bool findSlot(const casacore::Double &time)
Find the reference timeslot for requested time.
casacore::Vector< casacore::Bool > spwOK()
Spwmap-sensitive spwOK()
casacore::Vector< casacore::Int > & nTime()
casacore::PtrBlock< casacore::Array< casacore::Complex > * > fCC_
casacore::String timeType_
Interpolation modes.
casacore::Vector< casacore::Double > & frequencies(const casacore::Int &spw)
Freq list per spw.
casacore::Array< casacore::Float > & tAC()
In-focus casacore::Time Interpolation coefficients.
casacore::Vector< casacore::Int > & spwMap()
casacore::Cube< casacore::Complex > r
Distribute LogMessages to their destination(s)
void setSpwOK()
Set spwOK_ according to spwmap RI made public 200910.
casacore::Vector< casacore::Int > & ch0()
String: the storage and methods of handling collections of characters.
casacore::Bool aipslinT()
casacore::PtrBlock< casacore::Vector< casacore::Double > * > solFreq_
Freq lists.
void iPart(casacore::Array< casacore::Complex > &c, casacore::Array< casacore::Float > &ip)
casacore::Array< casacore::Complex > & tCC()
casacore::Cube< casacore::Complex > c
casacore::String & freqType()
casacore::PtrBlock< casacore::Vector< casacore::Double > * > datFreq_
casacore::LogSink & logSink()
casacore::Cube< casacore::Complex > tC_
casacore::Array< casacore::Complex > & csPar()
casacore::Int & nSpw()
Access to private shape data (reflecting CalSet)
casacore::Vector< casacore::Bool > spwOK_
SpwOK.
casacore::Vector< casacore::Double > & time(const casacore::Int &spw)
casacore::PtrBlock< casacore::Vector< casacore::Int > * > ch0_
Freq Interpolation ordinate info (per spw)
casacore::Double & t0()
Access to in-focus interpolation abscissa data.
casacore::Int & currSpw()
Access to info relevant to currSpw.
casacore::Array< casacore::Complex > & fCC()
casacore::String freqType_
casacore::PtrBlock< casacore::Vector< casacore::Double > * > fdf_
CalSet< casacore::Complex > * cs_
The CalSet from which we interpolate.
casacore::Cube< casacore::Bool > & fOk()