casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Private Member Functions
casa::MSUtil Class Reference

#include <MSUtil.h>

List of all members.

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)

Detailed Description

Definition at line 35 of file MSUtil.h.


Constructor & Destructor Documentation

Empty Constructor if needed.


Member Function Documentation

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]

The documentation for this class was generated from the following file: