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

#include <CalSolVi2Organizer.h>

Public Member Functions

 CalSolVi2Organizer ()
 Construct. More...
 
 ~CalSolVi2Organizer ()
 Dtor. More...
 
int nLayers () const
 
vi::VisibilityIterator2makeFullVI ()
 Build and Return a reference to the fully-stacked VI. More...
 
int countSolutions (casacore::Vector< int > &nChunkPerSolve)
 Count solutions. More...
 
void addDiskIO (casacore::MeasurementSet *ms, float interval, casacore::Bool combobs=false, casacore::Bool combscan=false, casacore::Bool combfld=false, casacore::Bool combspw=false, casacore::Bool useMSIter2=true, std::shared_ptr< vi::FrequencySelections > freqSel=nullptr)
 Add disk-accesing layer factory. More...
 
void addSimIO ()
 Add spoofed data layer factory. More...
 
void addSimIO (const vi::SimpleSimVi2Parameters &ss)
 
void addCalForSolving (float calfactor)
 Add calibrating layer factory (one way or another) More...
 
void addCalForSolving (VisEquation &ve)
 
void addChanAve (casacore::Vector< int > chanbin)
 Add chan-averaging layer factory. More...
 
void addTimeAve (float timebin)
 Add time-averaging layer factory. More...
 
void addCalFilter (casacore::Record const &config)
 Add calibration specific data filter config should have the following entries: "mode" (String) – calibration mode (only "SDGAIN_OTFD" is supported) mode="SDGAIN_OTFD" configuration parameters "smooth" (Bool) – apply smoothing or not (optional; default is False) "radius" (String) – radius of the central region as a quantity string (optional; default is half of beam size) More...
 

Private Member Functions

void barf ()
 
void appendFactory (vi::ViiLayerFactory *f)
 Add a factory to the internal list. More...
 
void cleanUp ()
 Delete everything. More...
 
void deriveVI2Sort (casacore::Block< int > &sortcols, bool combobs, bool combscan, bool combfld, bool combspw)
 Derive MS iteration sort order, based on comb*. More...
 

Private Attributes

vi::ViiLayerFactorydata_
 Pointers to the various kinds of layer factories we may use. More...
 
vi::ViiLayerFactorycal_
 
vi::ViiLayerFactorychanave_
 
vi::ViiLayerFactorytimeave_
 
vi::ViiLayerFactorycalfilter_
 
casacore::Vector
< vi::ViiLayerFactory * > 
factories_
 vi::SimpleSimVi2LayerFactory *ss_; vi::CalSolvingVi2LayerFactoryByVE *cal_; vi::ChannelAverageTVILayerFactory *chanave_; AveragingVi2LayerFactory *timeave_; More...
 
vi::VisibilityIterator2vi_
 

Detailed Description

Definition at line 44 of file CalSolVi2Organizer.h.

Constructor & Destructor Documentation

casa::CalSolVi2Organizer::CalSolVi2Organizer ( )

Construct.

casa::CalSolVi2Organizer::~CalSolVi2Organizer ( )

Dtor.

Member Function Documentation

void casa::CalSolVi2Organizer::addCalFilter ( casacore::Record const &  config)

Add calibration specific data filter config should have the following entries: "mode" (String) – calibration mode (only "SDGAIN_OTFD" is supported) mode="SDGAIN_OTFD" configuration parameters "smooth" (Bool) – apply smoothing or not (optional; default is False) "radius" (String) – radius of the central region as a quantity string (optional; default is half of beam size)

void casa::CalSolVi2Organizer::addCalForSolving ( float  calfactor)

Add calibrating layer factory (one way or another)

void casa::CalSolVi2Organizer::addCalForSolving ( VisEquation ve)
void casa::CalSolVi2Organizer::addChanAve ( casacore::Vector< int >  chanbin)

Add chan-averaging layer factory.

void casa::CalSolVi2Organizer::addDiskIO ( casacore::MeasurementSet ms,
float  interval,
casacore::Bool  combobs = false,
casacore::Bool  combscan = false,
casacore::Bool  combfld = false,
casacore::Bool  combspw = false,
casacore::Bool  useMSIter2 = true,
std::shared_ptr< vi::FrequencySelections freqSel = nullptr 
)

Add disk-accesing layer factory.

void casa::CalSolVi2Organizer::addSimIO ( )

Add spoofed data layer factory.

void casa::CalSolVi2Organizer::addSimIO ( const vi::SimpleSimVi2Parameters ss)
void casa::CalSolVi2Organizer::addTimeAve ( float  timebin)

Add time-averaging layer factory.

void casa::CalSolVi2Organizer::appendFactory ( vi::ViiLayerFactory f)
private

Add a factory to the internal list.

void casa::CalSolVi2Organizer::barf ( )
private
void casa::CalSolVi2Organizer::cleanUp ( )
private

Delete everything.

int casa::CalSolVi2Organizer::countSolutions ( casacore::Vector< int > &  nChunkPerSolve)

Count solutions.

void casa::CalSolVi2Organizer::deriveVI2Sort ( casacore::Block< int > &  sortcols,
bool  combobs,
bool  combscan,
bool  combfld,
bool  combspw 
)
private

Derive MS iteration sort order, based on comb*.

vi::VisibilityIterator2& casa::CalSolVi2Organizer::makeFullVI ( )

Build and Return a reference to the fully-stacked VI.

int casa::CalSolVi2Organizer::nLayers ( ) const
inline

Definition at line 54 of file CalSolVi2Organizer.h.

References factories_.

Member Data Documentation

vi::ViiLayerFactory * casa::CalSolVi2Organizer::cal_
private

Definition at line 108 of file CalSolVi2Organizer.h.

vi::ViiLayerFactory * casa::CalSolVi2Organizer::calfilter_
private

Definition at line 108 of file CalSolVi2Organizer.h.

vi::ViiLayerFactory * casa::CalSolVi2Organizer::chanave_
private

Definition at line 108 of file CalSolVi2Organizer.h.

vi::ViiLayerFactory* casa::CalSolVi2Organizer::data_
private

Pointers to the various kinds of layer factories we may use.

Definition at line 108 of file CalSolVi2Organizer.h.

casacore::Vector<vi::ViiLayerFactory*> casa::CalSolVi2Organizer::factories_
private

vi::SimpleSimVi2LayerFactory *ss_; vi::CalSolvingVi2LayerFactoryByVE *cal_; vi::ChannelAverageTVILayerFactory *chanave_; AveragingVi2LayerFactory *timeave_;

Definition at line 115 of file CalSolVi2Organizer.h.

Referenced by nLayers().

vi::ViiLayerFactory * casa::CalSolVi2Organizer::timeave_
private

Definition at line 108 of file CalSolVi2Organizer.h.

vi::VisibilityIterator2* casa::CalSolVi2Organizer::vi_
private

Definition at line 117 of file CalSolVi2Organizer.h.


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