casa
$Rev:20696$
|
#include <MSUtil.h>
Public Member Functions | |
MSUtil () | |
Empty Constructor if needed. | |
Static Public Member Functions | |
static void | getSpwInFreqRange (Vector< Int > &spw, Vector< Int > &start, Vector< Int > &nchan, const MeasurementSet &ms, const Double freqStart, const Double freqEnd, const Double freqStep, const MFrequency::Types freqframe=MFrequency::LSRK, const Int fieldId=0) |
This method gives you the channels (and spws) that will cover the freq range provided in the frame the user stated. | |
static void | getFreqRangeInSpw (Double &freqStart, Double &freqEnd, const Vector< Int > &spw, const Vector< Int > &start, const Vector< Int > &nchan, const MeasurementSet &ms, const MFrequency::Types freqframe=MFrequency::LSRK, const Int fieldId=0) |
The following wil provide the range of frequency convered in the frame requested by the spw, channel selection. | |
Static Private Member Functions | |
static void | rejectConsecutive (const Vector< Double > &t, Vector< Double > &retval, Vector< Int > &indx) |
Empty Constructor if needed.
static void casa::MSUtil::getFreqRangeInSpw | ( | Double & | freqStart, |
Double & | freqEnd, | ||
const Vector< Int > & | spw, | ||
const Vector< Int > & | start, | ||
const Vector< Int > & | nchan, | ||
const MeasurementSet & | ms, | ||
const MFrequency::Types | freqframe = MFrequency::LSRK , |
||
const Int | fieldId = 0 |
||
) | [static] |
The following wil provide the range of frequency convered in the frame requested by the spw, channel selection.
static void casa::MSUtil::getSpwInFreqRange | ( | Vector< Int > & | spw, |
Vector< Int > & | start, | ||
Vector< Int > & | nchan, | ||
const MeasurementSet & | ms, | ||
const Double | freqStart, | ||
const Double | freqEnd, | ||
const Double | freqStep, | ||
const MFrequency::Types | freqframe = MFrequency::LSRK , |
||
const Int | fieldId = 0 |
||
) | [static] |
This method gives you the channels (and spws) that will cover the freq range provided in the frame the user stated.
The conversion from the data frame will be done properly for finding this spw, start, nchan will be resized appropriately
static void casa::MSUtil::rejectConsecutive | ( | const Vector< Double > & | t, |
Vector< Double > & | retval, | ||
Vector< Int > & | indx | ||
) | [static, private] |