casacore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::MSDopplerUtil Class Reference

More...

#include <MSDopplerUtil.h>

Public Member Functions

 MSDopplerUtil (const MeasurementSet &ms)
 Construct from an existing MeasurementSet. More...
 
 ~MSDopplerUtil ()
 Null destructor. More...
 
Bool dopplerInfo (Vector< Double > &restFrequency, Int spwId, Int fieldId)
 Retrieve a list of all rest frequencies used for a given spectral window id and field id. More...
 

Private Member Functions

 MSDopplerUtil ()
 Prohibit null constructor, copy constructor and assignment for now. More...
 
MSDopplerUtiloperator= (const MSDopplerUtil &)
 
 MSDopplerUtil (const MSDopplerUtil &)
 

Private Attributes

MeasurementSet ms_p
 Underlying MeasurementSet. More...
 

Detailed Description

A utility class for MS Doppler tracking information

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

From "MeasurementSet", "Doppler" and "utility".

Synopsis

This class provides utilities for handling Doppler tracking information in a MeasurementSet.

Example

Motivation

Collect all utilities for handling MS Doppler tracking information.

Thrown Exceptions

To Do

Definition at line 75 of file MSDopplerUtil.h.

Constructor & Destructor Documentation

◆ MSDopplerUtil() [1/3]

casacore::MSDopplerUtil::MSDopplerUtil ( const MeasurementSet ms)

Construct from an existing MeasurementSet.

◆ ~MSDopplerUtil()

casacore::MSDopplerUtil::~MSDopplerUtil ( )

Null destructor.

◆ MSDopplerUtil() [2/3]

casacore::MSDopplerUtil::MSDopplerUtil ( )
private

Prohibit null constructor, copy constructor and assignment for now.

◆ MSDopplerUtil() [3/3]

casacore::MSDopplerUtil::MSDopplerUtil ( const MSDopplerUtil )
private

Member Function Documentation

◆ dopplerInfo()

Bool casacore::MSDopplerUtil::dopplerInfo ( Vector< Double > &  restFrequency,
Int  spwId,
Int  fieldId 
)

Retrieve a list of all rest frequencies used for a given spectral window id and field id.

Note that the output vector combines information for multiple spectral lines and (unlikely) multiple source table entries. If the doppler sub table doesn't exist, the information is retrieved from directly from the source sub table.

◆ operator=()

MSDopplerUtil& casacore::MSDopplerUtil::operator= ( const MSDopplerUtil )
private

Member Data Documentation

◆ ms_p

MeasurementSet casacore::MSDopplerUtil::ms_p
private

Underlying MeasurementSet.

Definition at line 99 of file MSDopplerUtil.h.


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