|
static casacore::Bool | combineSpws (casacore::LogIO &os, casacore::String msName, const casacore::Vector< casacore::Int > &spwids, casacore::Vector< casacore::Double > &newCHAN_FREQ, casacore::Vector< casacore::Double > &newCHAN_WIDTH, std::vector< std::vector< casacore::Int > > &averageWhichChan, std::vector< std::vector< casacore::Int > > &averageWhichSPW, std::vector< std::vector< casacore::Double > > &averageChanFrac, casacore::Bool verbose=false) |
| Make one spectral window from all SPWs given by the SPW Ids vector. More...
|
|
static casacore::Bool | combineSpwsCore (casacore::LogIO &os, casacore::MeasurementSet &ms_p, const casacore::Vector< casacore::Int > &spwids, casacore::Vector< casacore::Double > &newCHAN_FREQ, casacore::Vector< casacore::Double > &newCHAN_WIDTH, std::vector< std::vector< casacore::Int > > &averageWhichChan, std::vector< std::vector< casacore::Int > > &averageWhichSPW, std::vector< std::vector< casacore::Double > > &averageChanFrac, casacore::Bool verbose=false) |
| Make one spectral window from all SPWs given by the SPW Ids vector. More...
|
|
static casacore::Bool | calcChanFreqs (casacore::LogIO &os, casacore::Vector< casacore::Double > &newCHAN_FREQ, casacore::Vector< casacore::Double > &newCHAN_WIDTH, casacore::Double &weightScale, const casacore::Vector< casacore::Double > &oldCHAN_FREQ, const casacore::Vector< casacore::Double > &oldCHAN_WIDTH, const casacore::MDirection phaseCenter, const casacore::MFrequency::Types theOldRefFrame, const casacore::MEpoch theObsTime, const casacore::MPosition mObsPos, const casacore::String &mode, const int nchan, const casacore::String &start, const casacore::String &width, const casacore::String &restfreq, const casacore::String &outframe, const casacore::String &veltype, const casacore::Bool verbose=false, const casacore::MRadialVelocity mRV=casacore::MRadialVelocity()) |
| A wrapper for regridChanBounds() which takes the user interface type re-gridding parameters The ready-made grid is returned in newCHAN_FREQ and newCHAN_WIDTH. More...
|
|
static casacore::Bool | convertGridPars (casacore::LogIO &os, const casacore::String &mode, const int nchan, const casacore::String &start, const casacore::String &width, const casacore::String &interp, const casacore::String &restfreq, const casacore::String &outframe, const casacore::String &veltype, casacore::String &t_mode, casacore::String &t_outframe, casacore::String &t_regridQuantity, casacore::Double &t_restfreq, casacore::String &t_regridInterpMeth, casacore::Double &t_cstart, casacore::Double &t_bandwidth, casacore::Double &t_cwidth, casacore::Bool &t_centerIsStart, casacore::Bool &t_startIsEnd, casacore::Int &t_nchan, casacore::Int &t_width, casacore::Int &t_start) |
| Helper function for handling the re-gridding parameter user input. More...
|
|
static casacore::Bool | regridChanBounds (casacore::Vector< casacore::Double > &newChanLoBound, casacore::Vector< casacore::Double > &newChanHiBound, const casacore::Double regridCenter, const casacore::Double regridBandwidth, const casacore::Double regridChanWidth, const casacore::Double regridVeloRestfrq, const casacore::String regridQuant, const casacore::Vector< casacore::Double > &transNewXin, const casacore::Vector< casacore::Double > &transCHAN_WIDTH, casacore::String &message, const casacore::Bool centerIsStart=false, const casacore::Bool startIsEnd=false, const casacore::Int nchan=0, const casacore::Int width=0, const casacore::Int start=-1) |
| Calculate the final new channel boundaries from the re-regridding parameters and the old channel boundaries (already transformed to the desired reference frame). More...
|
|
static casacore::lDouble | vrad (const casacore::lDouble freq, const casacore::lDouble rest) |
| The following inline convenience methods for regridSpw bypass the whole CASA measure system because when they are used, they can assume that the frame stays the same and the units are OK. More...
|
|
static casacore::lDouble | vopt (const casacore::lDouble freq, const casacore::lDouble rest) |
|
static casacore::lDouble | lambda (const casacore::lDouble freq) |
|
static casacore::lDouble | freq_from_vrad (const casacore::lDouble vrad, const casacore::lDouble rest) |
|
static casacore::lDouble | freq_from_vopt (const casacore::lDouble vopt, const casacore::lDouble rest) |
|
static casacore::lDouble | freq_from_lambda (const casacore::lDouble lambda) |
|