for simulating corruptions More...
#include <CalCorruptor.h>
Public Member Functions | |
CalCorruptor (const Int nSim) | |
virtual | ~CalCorruptor () |
uInt & | nSim () |
Bool & | times_initialized () |
Int & | curr_slot () |
Double & | curr_time () |
Double & | startTime () |
Double & | stopTime () |
Double & | slot_time (const Int i) |
Double & | slot_time () |
Vector< Double > & | slot_times () |
Float & | amp () |
virtual void | initialize () |
void | initialize (const Float amp, const Record &simpar) |
a generic initializer that just takes amplitude and simpar | |
Record & | simpar () |
String & | mode () |
void | setEvenSlots (const Double &dt) |
virtual Complex | simPar (const VisIter &vi, VisCal::Type type, Int ipar) |
uInt & | nPar () |
uInt & | nChan () |
const uInt & | focusChan () |
const Double & | focusFreq () |
virtual void | setFocusChan (Int chan) |
virtual void | setCurrTime (const Double &time) |
uInt & | prtlev () |
inherited from VC | |
uInt & | nAnt () |
uInt & | nSpw () |
uInt & | currAnt () |
uInt & | currAnt2 () |
uInt & | currSpw () |
Vector< Float > & | fRefFreq () |
Vector< Float > & | fWidth () |
Vector< uInt > & | fnChan () |
Vector< uInt > & | currChans () |
Bool & | freqDepPar () |
Protected Attributes | |
uInt | nSim_ |
Int | curr_slot_ |
Bool | times_initialized_ |
Bool | freqdep_ |
uInt | nPar_ |
Double | curr_time_ |
Double | starttime_ |
Double | stoptime_ |
Double | curr_freq_ |
Float | amp_ |
Vector< Double > | slot_times_ |
Record | simpar_ |
String | mode_ |
uInt | prtlev_ |
uInt | nAnt_ |
uInt | curr_ant_ |
uInt | nSpw_ |
uInt | curr_spw_ |
uInt | curr_ant2_ |
Vector< Float > | fRefFreq_ |
Vector< Float > | fWidth_ |
Vector< uInt > | fnChan_ |
Vector< uInt > | curr_chan_ |
for simulating corruptions
Definition at line 85 of file CalCorruptor.h.
casa::CalCorruptor::CalCorruptor | ( | const Int | nSim | ) |
virtual casa::CalCorruptor::~CalCorruptor | ( | ) | [virtual] |
Float& casa::CalCorruptor::amp | ( | ) | [inline] |
Definition at line 100 of file CalCorruptor.h.
References amp_.
Int& casa::CalCorruptor::curr_slot | ( | ) | [inline] |
Double& casa::CalCorruptor::curr_time | ( | ) | [inline] |
Definition at line 94 of file CalCorruptor.h.
References curr_time_.
uInt& casa::CalCorruptor::currAnt | ( | ) | [inline] |
Definition at line 132 of file CalCorruptor.h.
References curr_ant_.
uInt& casa::CalCorruptor::currAnt2 | ( | ) | [inline] |
Definition at line 133 of file CalCorruptor.h.
References curr_ant2_.
Vector<uInt>& casa::CalCorruptor::currChans | ( | ) | [inline] |
Definition at line 138 of file CalCorruptor.h.
References curr_chan_.
uInt& casa::CalCorruptor::currSpw | ( | ) | [inline] |
Definition at line 134 of file CalCorruptor.h.
References curr_spw_.
Referenced by focusChan(), nChan(), setFocusChan(), and casa::AtmosCorruptor::setFocusChan().
Vector<uInt>& casa::CalCorruptor::fnChan | ( | ) | [inline] |
Definition at line 137 of file CalCorruptor.h.
References fnChan_.
Referenced by setFocusChan(), and casa::AtmosCorruptor::setFocusChan().
const uInt& casa::CalCorruptor::focusChan | ( | ) | [inline] |
Definition at line 116 of file CalCorruptor.h.
References curr_chan_, and currSpw().
const Double& casa::CalCorruptor::focusFreq | ( | ) | [inline] |
Definition at line 117 of file CalCorruptor.h.
References curr_freq_.
Referenced by casa::AtmosCorruptor::setFocusChan().
Vector<Float>& casa::CalCorruptor::fRefFreq | ( | ) | [inline] |
Definition at line 135 of file CalCorruptor.h.
References fRefFreq_.
Referenced by setFocusChan(), and casa::AtmosCorruptor::setFocusChan().
Bool& casa::CalCorruptor::freqDepPar | ( | ) | [inline] |
Definition at line 140 of file CalCorruptor.h.
Vector<Float>& casa::CalCorruptor::fWidth | ( | ) | [inline] |
Definition at line 136 of file CalCorruptor.h.
References fWidth_.
Referenced by setFocusChan(), and casa::AtmosCorruptor::setFocusChan().
void casa::CalCorruptor::initialize | ( | const Float | amp, | |
const Record & | simpar | |||
) | [inline] |
a generic initializer that just takes amplitude and simpar
Definition at line 104 of file CalCorruptor.h.
virtual void casa::CalCorruptor::initialize | ( | ) | [inline, virtual] |
Reimplemented in casa::ANoiseCorruptor, casa::DJonesCorruptor, and casa::GJonesCorruptor.
Definition at line 101 of file CalCorruptor.h.
String& casa::CalCorruptor::mode | ( | ) | [inline] |
Definition at line 109 of file CalCorruptor.h.
References mode_.
uInt& casa::CalCorruptor::nAnt | ( | ) | [inline] |
Definition at line 130 of file CalCorruptor.h.
References nAnt_.
uInt& casa::CalCorruptor::nChan | ( | ) | [inline] |
Definition at line 115 of file CalCorruptor.h.
uInt& casa::CalCorruptor::nPar | ( | ) | [inline] |
Definition at line 114 of file CalCorruptor.h.
References nPar_.
uInt& casa::CalCorruptor::nSim | ( | ) | [inline] |
Definition at line 91 of file CalCorruptor.h.
References nSim_.
uInt& casa::CalCorruptor::nSpw | ( | ) | [inline] |
Definition at line 131 of file CalCorruptor.h.
References nSpw_.
uInt& casa::CalCorruptor::prtlev | ( | ) | [inline] |
virtual void casa::CalCorruptor::setCurrTime | ( | const Double & | time | ) | [virtual] |
Reimplemented in casa::AtmosCorruptor.
void casa::CalCorruptor::setEvenSlots | ( | const Double & | dt | ) |
virtual void casa::CalCorruptor::setFocusChan | ( | Int | chan | ) | [inline, virtual] |
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.
References curr_chan_, curr_freq_, currSpw(), fnChan(), fRefFreq(), and fWidth().
virtual Complex casa::CalCorruptor::simPar | ( | const VisIter & | vi, | |
VisCal::Type | type, | |||
Int | ipar | |||
) | [virtual] |
Reimplemented in casa::ANoiseCorruptor, casa::DJonesCorruptor, casa::AtmosCorruptor, and casa::GJonesCorruptor.
Record& casa::CalCorruptor::simpar | ( | ) | [inline] |
Definition at line 108 of file CalCorruptor.h.
References simpar_.
Double& casa::CalCorruptor::slot_time | ( | ) | [inline] |
Definition at line 98 of file CalCorruptor.h.
References curr_slot(), and slot_times_.
Double& casa::CalCorruptor::slot_time | ( | const Int | i | ) | [inline] |
Definition at line 97 of file CalCorruptor.h.
References slot_times_.
Vector<Double>& casa::CalCorruptor::slot_times | ( | ) | [inline] |
Definition at line 99 of file CalCorruptor.h.
References slot_times_.
Double& casa::CalCorruptor::startTime | ( | ) | [inline] |
Definition at line 95 of file CalCorruptor.h.
References starttime_.
Double& casa::CalCorruptor::stopTime | ( | ) | [inline] |
Definition at line 96 of file CalCorruptor.h.
References stoptime_.
Bool& casa::CalCorruptor::times_initialized | ( | ) | [inline] |
Definition at line 92 of file CalCorruptor.h.
References times_initialized_.
Float casa::CalCorruptor::amp_ [protected] |
Definition at line 149 of file CalCorruptor.h.
Referenced by amp(), casa::ANoiseCorruptor::initialize(), and initialize().
uInt casa::CalCorruptor::curr_ant2_ [protected] |
Definition at line 155 of file CalCorruptor.h.
Referenced by currAnt2().
uInt casa::CalCorruptor::curr_ant_ [protected] |
Definition at line 155 of file CalCorruptor.h.
Referenced by currAnt().
Vector<uInt> casa::CalCorruptor::curr_chan_ [protected] |
Definition at line 157 of file CalCorruptor.h.
Referenced by currChans(), focusChan(), setFocusChan(), and casa::AtmosCorruptor::setFocusChan().
Double casa::CalCorruptor::curr_freq_ [protected] |
Definition at line 148 of file CalCorruptor.h.
Referenced by focusFreq(), setFocusChan(), and casa::AtmosCorruptor::setFocusChan().
Int casa::CalCorruptor::curr_slot_ [protected] |
Definition at line 145 of file CalCorruptor.h.
Referenced by curr_slot().
uInt casa::CalCorruptor::curr_spw_ [protected] |
Definition at line 155 of file CalCorruptor.h.
Referenced by currSpw().
Double casa::CalCorruptor::curr_time_ [protected] |
Definition at line 148 of file CalCorruptor.h.
Referenced by curr_time().
Vector<uInt> casa::CalCorruptor::fnChan_ [protected] |
Definition at line 157 of file CalCorruptor.h.
Vector<Float> casa::CalCorruptor::fRefFreq_ [protected] |
Definition at line 156 of file CalCorruptor.h.
Referenced by fRefFreq().
Bool casa::CalCorruptor::freqdep_ [protected] |
Definition at line 146 of file CalCorruptor.h.
Vector<Float> casa::CalCorruptor::fWidth_ [protected] |
Definition at line 156 of file CalCorruptor.h.
Referenced by fWidth().
String casa::CalCorruptor::mode_ [protected] |
Definition at line 152 of file CalCorruptor.h.
Referenced by mode().
uInt casa::CalCorruptor::nAnt_ [protected] |
Definition at line 155 of file CalCorruptor.h.
Referenced by nAnt().
uInt casa::CalCorruptor::nPar_ [protected] |
Definition at line 147 of file CalCorruptor.h.
Referenced by nPar().
uInt casa::CalCorruptor::nSim_ [protected] |
Definition at line 140 of file CalCorruptor.h.
Referenced by nSim().
uInt casa::CalCorruptor::nSpw_ [protected] |
Definition at line 155 of file CalCorruptor.h.
Referenced by nSpw().
uInt casa::CalCorruptor::prtlev_ [protected] |
Definition at line 154 of file CalCorruptor.h.
Referenced by prtlev().
Record casa::CalCorruptor::simpar_ [protected] |
Definition at line 151 of file CalCorruptor.h.
Referenced by initialize(), and simpar().
Vector<Double> casa::CalCorruptor::slot_times_ [protected] |
Definition at line 150 of file CalCorruptor.h.
Referenced by slot_time(), and slot_times().
Double casa::CalCorruptor::starttime_ [protected] |
Definition at line 148 of file CalCorruptor.h.
Referenced by startTime().
Double casa::CalCorruptor::stoptime_ [protected] |
Definition at line 148 of file CalCorruptor.h.
Referenced by stopTime().
Bool casa::CalCorruptor::times_initialized_ [protected] |
Definition at line 146 of file CalCorruptor.h.
Referenced by times_initialized().