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

for simulating corruptions More...

#include <CalCorruptor.h>

Inheritance diagram for casa::CalCorruptor:
casa::ANoiseCorruptor casa::AtmosCorruptor casa::DJonesCorruptor casa::GJonesCorruptor

Public Member Functions

 CalCorruptor (const casacore::Int nSim)
 
virtual ~CalCorruptor ()
 
casacore::uIntnSim ()
 
casacore::Booltimes_initialized ()
 
casacore::Intcurr_slot ()
 
casacore::Doublecurr_time ()
 
casacore::DoublestartTime ()
 
casacore::DoublestopTime ()
 
casacore::Doubleslot_time (const casacore::Int i)
 
casacore::Doubleslot_time ()
 
casacore::Vector
< casacore::Double > & 
slot_times ()
 
casacore::Floatamp ()
 
virtual void initialize ()
 
void initialize (const casacore::Float amp, const casacore::Record &simpar)
 a generic initializer that just takes amplitude and simpar More...
 
casacore::Recordsimpar ()
 
casacore::Stringmode ()
 
void setEvenSlots (const casacore::Double &dt)
 
virtual casacore::Complex simPar (const VisIter &vi, VisCal::Type type, casacore::Int ipar)
 
casacore::uIntnPar ()
 
casacore::uIntnChan ()
 
const casacore::uIntfocusChan ()
 
const casacore::DoublefocusFreq ()
 
virtual void setFocusChan (casacore::Int chan)
 
virtual void setCurrTime (const casacore::Double &time)
 
casacore::uIntprtlev ()
 inherited from VC More...
 
casacore::uIntnAnt ()
 
casacore::uIntnSpw ()
 
casacore::uIntcurrAnt ()
 
casacore::uIntcurrAnt2 ()
 
casacore::uIntcurrSpw ()
 
casacore::Vector
< casacore::Float > & 
fRefFreq ()
 
casacore::Vector
< casacore::Float > & 
fWidth ()
 
casacore::Vector
< casacore::uInt > & 
fnChan ()
 
casacore::Vector
< casacore::uInt > & 
currChans ()
 
casacore::BoolfreqDepPar ()
 

Protected Attributes

casacore::uInt nSim_
 
casacore::Int curr_slot_
 
casacore::Bool times_initialized_
 
casacore::Bool freqdep_
 
casacore::uInt nPar_
 
casacore::Double curr_time_
 
casacore::Double starttime_
 
casacore::Double stoptime_
 
casacore::Double curr_freq_
 
casacore::Float amp_
 
casacore::Vector
< casacore::Double
slot_times_
 
casacore::Record simpar_
 
casacore::String mode_
 
casacore::uInt prtlev_
 
casacore::uInt nAnt_
 
casacore::uInt curr_ant_
 
casacore::uInt nSpw_
 
casacore::uInt curr_spw_
 
casacore::uInt curr_ant2_
 
casacore::Vector< casacore::FloatfRefFreq_
 
casacore::Vector< casacore::FloatfWidth_
 
casacore::Vector< casacore::uIntfnChan_
 
casacore::Vector< casacore::uIntcurr_chan_
 

Detailed Description

for simulating corruptions

Definition at line 85 of file CalCorruptor.h.

Constructor & Destructor Documentation

casa::CalCorruptor::CalCorruptor ( const casacore::Int  nSim)
virtual casa::CalCorruptor::~CalCorruptor ( )
virtual

Member Function Documentation

casacore::Float& casa::CalCorruptor::amp ( )
inline

Definition at line 100 of file CalCorruptor.h.

casacore::Int& casa::CalCorruptor::curr_slot ( )
inline

Definition at line 93 of file CalCorruptor.h.

casacore::Double& casa::CalCorruptor::curr_time ( )
inline

Definition at line 94 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::currAnt ( )
inline

Definition at line 132 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::currAnt2 ( )
inline

Definition at line 133 of file CalCorruptor.h.

casacore::Vector<casacore::uInt>& casa::CalCorruptor::currChans ( )
inline

Definition at line 138 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::currSpw ( )
inline

Definition at line 134 of file CalCorruptor.h.

casacore::Vector<casacore::uInt>& casa::CalCorruptor::fnChan ( )
inline

Definition at line 137 of file CalCorruptor.h.

const casacore::uInt& casa::CalCorruptor::focusChan ( )
inline

Definition at line 116 of file CalCorruptor.h.

const casacore::Double& casa::CalCorruptor::focusFreq ( )
inline

Definition at line 117 of file CalCorruptor.h.

casacore::Vector<casacore::Float>& casa::CalCorruptor::fRefFreq ( )
inline

Definition at line 135 of file CalCorruptor.h.

casacore::Bool& casa::CalCorruptor::freqDepPar ( )
inline

Definition at line 140 of file CalCorruptor.h.

casacore::Vector<casacore::Float>& casa::CalCorruptor::fWidth ( )
inline

Definition at line 136 of file CalCorruptor.h.

virtual void casa::CalCorruptor::initialize ( )
inlinevirtual

Reimplemented in casa::GJonesCorruptor, casa::DJonesCorruptor, and casa::ANoiseCorruptor.

Definition at line 101 of file CalCorruptor.h.

void casa::CalCorruptor::initialize ( const casacore::Float  amp,
const casacore::Record simpar 
)
inline

a generic initializer that just takes amplitude and simpar

Definition at line 104 of file CalCorruptor.h.

References casacore::amp().

casacore::String& casa::CalCorruptor::mode ( )
inline

Definition at line 109 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::nAnt ( )
inline

Definition at line 130 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::nChan ( )
inline

Definition at line 115 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::nPar ( )
inline

Definition at line 114 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::nSim ( )
inline

Definition at line 91 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::nSpw ( )
inline

Definition at line 131 of file CalCorruptor.h.

casacore::uInt& casa::CalCorruptor::prtlev ( )
inline

inherited from VC

Definition at line 129 of file CalCorruptor.h.

virtual void casa::CalCorruptor::setCurrTime ( const casacore::Double time)
virtual

Reimplemented in casa::AtmosCorruptor.

void casa::CalCorruptor::setEvenSlots ( const casacore::Double dt)
virtual void casa::CalCorruptor::setFocusChan ( casacore::Int  chan)
inlinevirtual

WARN: this assumes constant channel width - more detailed channel freq may be inaccurate

Reimplemented in casa::AtmosCorruptor.

Definition at line 118 of file CalCorruptor.h.

casacore::Record& casa::CalCorruptor::simpar ( )
inline

Definition at line 108 of file CalCorruptor.h.

virtual casacore::Complex casa::CalCorruptor::simPar ( const VisIter vi,
VisCal::Type  type,
casacore::Int  ipar 
)
virtual
casacore::Double& casa::CalCorruptor::slot_time ( const casacore::Int  i)
inline

Definition at line 97 of file CalCorruptor.h.

casacore::Double& casa::CalCorruptor::slot_time ( )
inline

Definition at line 98 of file CalCorruptor.h.

casacore::Vector<casacore::Double>& casa::CalCorruptor::slot_times ( )
inline

Definition at line 99 of file CalCorruptor.h.

casacore::Double& casa::CalCorruptor::startTime ( )
inline

Definition at line 95 of file CalCorruptor.h.

casacore::Double& casa::CalCorruptor::stopTime ( )
inline

Definition at line 96 of file CalCorruptor.h.

casacore::Bool& casa::CalCorruptor::times_initialized ( )
inline

Definition at line 92 of file CalCorruptor.h.

Member Data Documentation

casacore::Float casa::CalCorruptor::amp_
protected

Definition at line 149 of file CalCorruptor.h.

casacore::uInt casa::CalCorruptor::curr_ant2_
protected

Definition at line 155 of file CalCorruptor.h.

casacore::uInt casa::CalCorruptor::curr_ant_
protected

Definition at line 155 of file CalCorruptor.h.

casacore::Vector<casacore::uInt> casa::CalCorruptor::curr_chan_
protected

Definition at line 157 of file CalCorruptor.h.

casacore::Double casa::CalCorruptor::curr_freq_
protected

Definition at line 148 of file CalCorruptor.h.

casacore::Int casa::CalCorruptor::curr_slot_
protected

Definition at line 145 of file CalCorruptor.h.

casacore::uInt casa::CalCorruptor::curr_spw_
protected

Definition at line 155 of file CalCorruptor.h.

casacore::Double casa::CalCorruptor::curr_time_
protected

Definition at line 148 of file CalCorruptor.h.

casacore::Vector<casacore::uInt> casa::CalCorruptor::fnChan_
protected

Definition at line 157 of file CalCorruptor.h.

casacore::Vector<casacore::Float> casa::CalCorruptor::fRefFreq_
protected

Definition at line 156 of file CalCorruptor.h.

casacore::Bool casa::CalCorruptor::freqdep_
protected

Definition at line 146 of file CalCorruptor.h.

casacore::Vector<casacore::Float> casa::CalCorruptor::fWidth_
protected

Definition at line 156 of file CalCorruptor.h.

casacore::String casa::CalCorruptor::mode_
protected

Definition at line 152 of file CalCorruptor.h.

casacore::uInt casa::CalCorruptor::nAnt_
protected

Definition at line 155 of file CalCorruptor.h.

casacore::uInt casa::CalCorruptor::nPar_
protected

Definition at line 147 of file CalCorruptor.h.

casacore::uInt casa::CalCorruptor::nSim_
protected

Definition at line 140 of file CalCorruptor.h.

casacore::uInt casa::CalCorruptor::nSpw_
protected

Definition at line 155 of file CalCorruptor.h.

casacore::uInt casa::CalCorruptor::prtlev_
protected

Definition at line 154 of file CalCorruptor.h.

casacore::Record casa::CalCorruptor::simpar_
protected

Definition at line 151 of file CalCorruptor.h.

casacore::Vector<casacore::Double> casa::CalCorruptor::slot_times_
protected

Definition at line 150 of file CalCorruptor.h.

casacore::Double casa::CalCorruptor::starttime_
protected

Definition at line 148 of file CalCorruptor.h.

casacore::Double casa::CalCorruptor::stoptime_
protected

Definition at line 148 of file CalCorruptor.h.

casacore::Bool casa::CalCorruptor::times_initialized_
protected

Definition at line 146 of file CalCorruptor.h.


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