casa
5.7.0-16
|
#include <SDDoubleCircleGainCalImpl.h>
Private Member Functions | |
void | findDataWithinRadius (casacore::Double const radius, casacore::Vector< casacore::Double > const &time, casacore::Cube< casacore::Float > const &data, casacore::Matrix< casacore::Double > const &direction, casacore::Vector< casacore::Double > &gain_time, casacore::Cube< casacore::Float > &gain) |
find data within radius More... | |
void | findDataWithinRadius (casacore::Double const radius, casacore::Vector< casacore::Double > const &time, casacore::Cube< casacore::Float > const &data, casacore::Cube< casacore::Bool > const &flag, casacore::Matrix< casacore::Double > const &direction, casacore::Vector< casacore::Double > &gain_time, casacore::Cube< casacore::Float > &gain, casacore::Cube< casacore::Bool > &gain_flag) |
Private Attributes | |
casacore::Double | central_region_ |
apply gain factor void apply(casacore::Vector<casacore::Double> const &gain_time, casacore::Cube<casacore::Float> const &gain, casacore::Vector<casacore::Double> const &time, casacore::Cube<casacore::Float> &data); More... | |
casacore::Bool | do_smooth_ |
flag for smoothing More... | |
casacore::Int | smooth_size_ |
smoothing size More... | |
casacore::Double | observing_frequency_ |
parameter for primary beam size determination observing frequency [Hz] More... | |
casacore::Double | antenna_diameter_ |
antenna diameter [m] More... | |
casacore::LogIO | logger_ |
logger More... | |
Definition at line 70 of file SDDoubleCircleGainCalImpl.h.
casa::SDDoubleCircleGainCalImpl::SDDoubleCircleGainCalImpl | ( | ) |
|
virtual |
void casa::SDDoubleCircleGainCalImpl::calibrate | ( | casacore::Cube< casacore::Float > const & | data, |
casacore::Vector< casacore::Double > const & | time, | ||
casacore::Matrix< casacore::Double > const & | direction, | ||
casacore::Vector< casacore::Double > & | gain_time, | ||
casacore::Cube< casacore::Float > & | gain | ||
) |
gain calibration based on Stephen White's IDL script
void casa::SDDoubleCircleGainCalImpl::calibrate | ( | casacore::Cube< casacore::Float > const & | data, |
casacore::Cube< casacore::Bool > const & | flag, | ||
casacore::Vector< casacore::Double > const & | time, | ||
casacore::Matrix< casacore::Double > const & | direction, | ||
casacore::Vector< casacore::Double > & | gain_time, | ||
casacore::Cube< casacore::Float > & | gain, | ||
casacore::Cube< casacore::Bool > & | gain_flag | ||
) |
subspecies that take into account flag (false: valid, true: invalid)
void casa::SDDoubleCircleGainCalImpl::doCalibrate | ( | casacore::Vector< casacore::Double > & | gain_time, |
casacore::Cube< casacore::Float > & | gain, | ||
casacore::Cube< casacore::Bool > & | gain_flag | ||
) |
gain calibration implementation
|
private |
find data within radius
|
private |
bool casa::SDDoubleCircleGainCalImpl::findTimeRange | ( | casacore::Vector< casacore::Double > const & | time, |
casacore::Vector< casacore::Double > const & | interval, | ||
casacore::Matrix< casacore::Double > const & | direction, | ||
TimeRangeList & | timerange | ||
) |
find time range that observed central region
|
inline |
get antenna diameter in meter
Definition at line 92 of file SDDoubleCircleGainCalImpl.h.
References antenna_diameter_.
|
inline |
getter get size of the central region in radian
Definition at line 77 of file SDDoubleCircleGainCalImpl.h.
References central_region_.
casacore::Int casa::SDDoubleCircleGainCalImpl::getDefaultSmoothingSize | ( | ) | const |
default smoothing size
casacore::Int casa::SDDoubleCircleGainCalImpl::getEffectiveSmoothingSize | ( | ) |
get effective smoothing size
|
inline |
get observing frequency in Hz
Definition at line 88 of file SDDoubleCircleGainCalImpl.h.
References observing_frequency_.
casacore::Double casa::SDDoubleCircleGainCalImpl::getPrimaryBeamSize | ( | ) | const |
primvary beam size in radian
casacore::Double casa::SDDoubleCircleGainCalImpl::getRadius | ( | ) |
get radius of the central region in radian
|
inline |
get smoothing size
Definition at line 84 of file SDDoubleCircleGainCalImpl.h.
References smooth_size_.
|
inline |
Definition at line 80 of file SDDoubleCircleGainCalImpl.h.
References do_smooth_.
|
inline |
set antenna diameter in meter
Definition at line 132 of file SDDoubleCircleGainCalImpl.h.
References antenna_diameter_, and casacore::value().
|
inline |
setter set radius of the central region in radian
Definition at line 110 of file SDDoubleCircleGainCalImpl.h.
References central_region_, and casacore::value().
|
inline |
set observing frequency in Hz
Definition at line 127 of file SDDoubleCircleGainCalImpl.h.
References observing_frequency_, and casacore::value().
|
inline |
activate smoothing and set smoothing size
Definition at line 115 of file SDDoubleCircleGainCalImpl.h.
References do_smooth_, casa::vi::size(), and smooth_size_.
|
inline |
deactivate smoothing
Definition at line 121 of file SDDoubleCircleGainCalImpl.h.
References do_smooth_, and smooth_size_.
|
private |
antenna diameter [m]
Definition at line 184 of file SDDoubleCircleGainCalImpl.h.
Referenced by getAntennaDiameter(), and setAntennaDiameter().
|
private |
apply gain factor void apply(casacore::Vector<casacore::Double> const &gain_time, casacore::Cube<casacore::Float> const &gain, casacore::Vector<casacore::Double> const &time, casacore::Cube<casacore::Float> &data);
radius of the central region [rad]
Definition at line 171 of file SDDoubleCircleGainCalImpl.h.
Referenced by getCentralRegion(), and setCentralRegion().
|
private |
flag for smoothing
Definition at line 174 of file SDDoubleCircleGainCalImpl.h.
Referenced by isSmoothingActive(), setSmoothing(), and unsetSmoothing().
|
private |
logger
Definition at line 187 of file SDDoubleCircleGainCalImpl.h.
|
private |
parameter for primary beam size determination observing frequency [Hz]
Definition at line 181 of file SDDoubleCircleGainCalImpl.h.
Referenced by getObservingFrequency(), and setObservingFrequency().
|
private |
smoothing size
Definition at line 177 of file SDDoubleCircleGainCalImpl.h.
Referenced by getSmoothingSize(), setSmoothing(), and unsetSmoothing().