casa
5.7.0-16
|
PlotMSAtm: plotms class for calculating atmospheric transmission curve for bandpass plots. More...
#include <PlotMSAtm.h>
Public Member Functions | |
PlotMSAtm (casacore::String filename, PlotMSSelection &userSel, bool showatm, bool isMS, bool xAxisIsChan, PlotMSCacheBase *parent) | |
construct with bandpass table name More... | |
~PlotMSAtm () | |
casacore::String | filename () |
accessors More... | |
PlotMSSelection | selection () |
bool | showatm () |
bool | xAxisIsChan () |
void | setShowAtm (bool showatm) |
void | setXAxisIsChan (bool isChan) |
void | calcAtmTskyCurve (casacore::Vector< casacore::Double > &curve, casacore::Int spw, casacore::Int scan, const casacore::Vector< casacore::Double > &chanFreqs) |
passes arguments through to calcOverlayCurve More... | |
void | calcImageCurve (casacore::Vector< casacore::Double > &curve, casacore::Int spw, casacore::Int scan, const casacore::Vector< casacore::Double > &chanFreqs) |
calculates image frequencies then calls calcOverlayCurve More... | |
casacore::Double | getPwv () |
casacore::Double | getAirmass () |
bool | canShowImageCurve () |
image sideband curve helpers More... | |
bool | hasReceiverTable () |
bool | canGetLOsForSpw () |
Private Attributes | |
casacore::String | filename_ |
casacore::String | tableName_ |
casacore::String | telescopeName_ |
bool | showatm_ |
bool | isMS_ |
bool | xIsChan_ |
bool | canCalculatePwv_ |
bool | canCalculateWeather_ |
PlotMSCacheBase * | parent_ |
PlotMSSelection | selection_ |
casacore::MeasurementSet * | ms_ |
casacore::MeasurementSet * | selms_ |
NewCalTable * | caltable_ |
NewCalTable * | selct_ |
int | selectedSpw_ |
updated for every spw/scan selection: More... | |
int | selectedScan_ |
casacore::Double | pwv_ |
casacore::Double | airmass_ |
casacore::Vector < casacore::Double > | mstimes_ |
casacore::Vector < casacore::Double > | caltimes_ |
casacore::Vector< casacore::Int > | fields_ |
casacore::Record | weather_ |
std::map< int, double > | loFreqForSpw_ |
const unsigned int | MAX_ATM_CALC_CHAN_ |
PlotMSAtm: plotms class for calculating atmospheric transmission curve for bandpass plots.
From "plotms", "atmospheric".
The PlotMSAtm class computes atmospheric transmission curves based on the algorithm in the plotbandpass task. Needed information is obtained from the bandpass table and its MeasurementSet if possible, else defaults based on observatory are used. The calculated values are returned in a vector whose size is equal to the number of channels.
This class is used by the plotms CalCache class to obtain atmospheric transmission curve values for plotting the curve overlay on a bandpass plot.
Definition at line 73 of file PlotMSAtm.h.
casa::PlotMSAtm::PlotMSAtm | ( | casacore::String | filename, |
PlotMSSelection & | userSel, | ||
bool | showatm, | ||
bool | isMS, | ||
bool | xAxisIsChan, | ||
PlotMSCacheBase * | parent | ||
) |
construct with bandpass table name
casa::PlotMSAtm::~PlotMSAtm | ( | ) |
|
private |
|
private |
|
private |
for user selection then each chunk's spw and scan
void casa::PlotMSAtm::calcAtmTskyCurve | ( | casacore::Vector< casacore::Double > & | curve, |
casacore::Int | spw, | ||
casacore::Int | scan, | ||
const casacore::Vector< casacore::Double > & | chanFreqs | ||
) |
passes arguments through to calcOverlayCurve
void casa::PlotMSAtm::calcImageCurve | ( | casacore::Vector< casacore::Double > & | curve, |
casacore::Int | spw, | ||
casacore::Int | scan, | ||
const casacore::Vector< casacore::Double > & | chanFreqs | ||
) |
calculates image frequencies then calls calcOverlayCurve
|
private |
|
private |
common function for plotbandpass CalcAtmTransmission algorithm Returns curve vector (atm, tsky, image sideband);
bool casa::PlotMSAtm::canGetLOsForSpw | ( | ) |
Referenced by canShowImageCurve().
|
inline |
image sideband curve helpers
Definition at line 104 of file PlotMSAtm.h.
References canGetLOsForSpw(), and hasReceiverTable().
|
private |
|
inline |
|
inline |
Definition at line 101 of file PlotMSAtm.h.
References airmass_.
|
private |
atmosphere tool
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
image sideband curve
|
private |
|
private |
calculated values
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 100 of file PlotMSAtm.h.
References pwv_.
|
private |
use cal table times if available, else ms times
|
private |
Sets fields_ = unique values in FIELD column.
|
private |
utility functions Determine unique time values in input vector
|
private |
bool casa::PlotMSAtm::hasReceiverTable | ( | ) |
Referenced by canShowImageCurve().
|
inline |
Definition at line 84 of file PlotMSAtm.h.
References selection_.
|
private |
|
inline |
Definition at line 88 of file PlotMSAtm.h.
|
private |
info from cal tables
|
private |
info from MS
|
inline |
Definition at line 89 of file PlotMSAtm.h.
References xIsChan_.
|
inline |
|
inline |
Definition at line 86 of file PlotMSAtm.h.
References xIsChan_.
|
private |
Definition at line 184 of file PlotMSAtm.h.
Referenced by getAirmass().
|
private |
Definition at line 180 of file PlotMSAtm.h.
|
private |
Definition at line 185 of file PlotMSAtm.h.
|
private |
Definition at line 175 of file PlotMSAtm.h.
|
private |
Definition at line 176 of file PlotMSAtm.h.
|
private |
Definition at line 186 of file PlotMSAtm.h.
|
private |
Definition at line 171 of file PlotMSAtm.h.
Referenced by filename().
|
private |
Definition at line 173 of file PlotMSAtm.h.
|
private |
Definition at line 188 of file PlotMSAtm.h.
|
private |
Definition at line 189 of file PlotMSAtm.h.
|
private |
Definition at line 179 of file PlotMSAtm.h.
|
private |
Definition at line 185 of file PlotMSAtm.h.
|
private |
Definition at line 177 of file PlotMSAtm.h.
|
private |
Definition at line 184 of file PlotMSAtm.h.
Referenced by getPwv().
|
private |
Definition at line 180 of file PlotMSAtm.h.
|
private |
Definition at line 183 of file PlotMSAtm.h.
|
private |
updated for every spw/scan selection:
Definition at line 183 of file PlotMSAtm.h.
|
private |
Definition at line 178 of file PlotMSAtm.h.
Referenced by selection().
|
private |
Definition at line 179 of file PlotMSAtm.h.
|
private |
Definition at line 172 of file PlotMSAtm.h.
Referenced by setShowAtm(), and showatm().
|
private |
Definition at line 171 of file PlotMSAtm.h.
|
private |
Definition at line 171 of file PlotMSAtm.h.
|
private |
Definition at line 187 of file PlotMSAtm.h.
|
private |
Definition at line 174 of file PlotMSAtm.h.
Referenced by setXAxisIsChan(), and xAxisIsChan().