160 template <
typename T>
164 template <
typename T>
167 double mintime,
double maxtime);
casacore::Double computeMeanAirmass()
void getUniqueFields(casacore::Vector< casacore::Int > allfields)
Sets fields_ = unique values in FIELD column.
void setShowAtm(bool showatm)
PlotMSSelection selection()
casacore::Double getPointingElevation()
void getMSTimes(MeasurementSet &ms)
Main interface class to a read/write table.
casacore::String telescopeName_
casacore::String filename()
accessors
void setXAxisIsChan(bool isChan)
Specifies an casacore::MS selection.
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
casacore::MeasurementSet * ms_
void getTimeRange(casacore::Double &mintime, casacore::Double &maxtime)
use cal table times if available, else ms times
casacore::MeasurementSet * selms_
casacore::Vector< casacore::Double > caltimes_
void getCalTimes(NewCalTable &ct)
bool canShowImageCurve()
image sideband curve helpers
void getCalFields(NewCalTable &ct)
void getUniqueTimes(casacore::Vector< casacore::Double > inputTimes, casacore::Vector< casacore::Double > &uniqueTimes)
utility functions Determine unique time values in input vector
bool canCalculateWeather_
void setUpMS(casacore::String filename, PlotMSSelection &userSel)
info from MS
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
void applyMSSelection(PlotMSSelection &selection, casacore::MeasurementSet &selms)
for user selection then each chunk's spw and scan
void calcAtmTskyCurve(casacore::Vector< casacore::Double > &curve, casacore::Int spw, casacore::Int scan, const casacore::Vector< casacore::Double > &chanFreqs)
passes arguments through to calcOverlayCurve
casacore::String tableName_
int selectedSpw_
updated for every spw/scan selection:
casacore::Double getFieldElevation(casacore::Int fieldId)
casacore::Vector< casacore::Double > mstimes_
casacore::Vector< T > getValuesInTimeRange(casacore::Vector< T > inputCol, casacore::Vector< casacore::Double > timesCol, casacore::Double mintime, casacore::Double maxtime)
PlotMSAtm(casacore::String filename, PlotMSSelection &userSel, bool showatm, bool isMS, bool xAxisIsChan, PlotMSCacheBase *parent)
construct with bandpass table name
PlotMSAtm: plotms class for calculating atmospheric transmission curve for bandpass plots...
A hierarchical collection of named fields of various types.
PlotMSSelection selection_
void getMSFields(MeasurementSet &ms)
casacore::Double getAirmass()
bool getLO1FreqForSpw(double &freq, int spw)
image sideband curve
casacore::Double getPwv()
std::map< int, double > loFreqForSpw_
A Table intended to hold astronomical data (a set of Measurements).
casacore::Table selectWeatherTable(casacore::Table &intable, casacore::String tempUnits, casacore::String pressureUnits)
void getMeanWeather()
calculated values
PlotMSCacheBase * parent_
casacore::Record weather_
bool calcImageFrequencies(casacore::Vector< casacore::Double > &imageFreqs, casacore::Int spw, const casacore::Vector< casacore::Double > &chanFreqs)
casacore::Vector< casacore::Int > fields_
String: the storage and methods of handling collections of characters.
atm::AtmProfile * getAtmProfile()
atmosphere tool
casacore::Double airmass_
casacore::Double getMeanScantime()
void applyCalSelection(PlotMSSelection &selection, NewCalTable &selct)
void getClosestValues(casacore::Vector< T > &values, casacore::Vector< casacore::Double > ×, casacore::Vector< T > &data, double mintime, double maxtime)
void setUpCalTable(casacore::String filename, PlotMSSelection &userSel)
info from cal tables
const unsigned int MAX_ATM_CALC_CHAN_
PlotMSAtm & operator=(const PlotMSAtm &other)
casacore::Vector< casacore::Double > calcOverlayCurve(casacore::Int spw, casacore::Int scan, const casacore::Vector< casacore::Double > &chanFreqs)
common function for plotbandpass CalcAtmTransmission algorithm Returns curve vector (atm...
casacore::String filename_