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

Specifies averaging parameters for an MS. More...

#include <PlotMSTransformations.h>

List of all members.

Public Member Functions

 PMS_ENUM1 (Field, fields, fieldStrings, field, FRAME, VELDEF) PMS_ENUM2(Field
 Static //.
veldef PlotMSTransformations ()
 Non-Static //.
 ~PlotMSTransformations ()
 Destructor.
void fromRecord (const RecordInterface &record)
 Converts this object to/from a record.
Record toRecord () const
Bool anyTransform () const
 If any transformations are specified, return True.
MFrequency::Types frame ()
 Convenience methods for returning the standard field values.
MDoppler::Types veldef ()
String frameStr () const
String veldefStr () const
Double restFreq () const
Double restFreqHz () const
Double xpcOffset () const
Double ypcOffset () const
Bool formStokes () const
void setFrame (MFrequency::Types type)
 Convenience methods for setting the standard field values.
void setFrame (const String &typeStr)
void setVelDef (MDoppler::Types type)
void setVelDef (const String &typeStr)
void setRestFreq (Double restfreq)
void setRestFreq (Quantity restfreq)
void setXpcOffset (Double dx)
void setYpcOffset (Double dy)
void setFormStokes (Bool formstokes)
bool operator== (const PlotMSTransformations &other) const
 Equality operators.
bool operator!= (const PlotMSTransformations &other) const
String summary () const
 Print out a summary.

Public Attributes

 fields
 fieldStrings
 field
 Frame

Private Member Functions

void setDefaults ()
 Sets the default values.

Private Attributes

MFrequency::Types mfreqType_
 The Frequency frame.
MDoppler::Types mdoppType_
 The Velocity Defn.
Double restFreq_
 The rest frequency (MHz)
Double XpcOffset_
 Phase center offsets.
Double YpcOffset_
Bool formStokes_
 Form Stokes from correlations.

Detailed Description

Specifies averaging parameters for an MS.

Definition at line 40 of file PlotMSTransformations.h.


Constructor & Destructor Documentation

Non-Static //.

Constructor, which uses default values.

Destructor.


Member Function Documentation

If any transformations are specified, return True.

Definition at line 70 of file PlotMSTransformations.h.

References formStokes(), frameStr(), veldefStr(), xpcOffset(), and ypcOffset().

Definition at line 87 of file PlotMSTransformations.h.

References formStokes_.

Referenced by anyTransform().

Convenience methods for returning the standard field values.

Definition at line 78 of file PlotMSTransformations.h.

References mfreqType_.

Definition at line 80 of file PlotMSTransformations.h.

References mfreqType_, casa::MFrequency::N_Types, and casa::MFrequency::showType().

Referenced by anyTransform().

Converts this object to/from a record.

Each field will have a key that is its enum name

bool casa::PlotMSTransformations::operator!= ( const PlotMSTransformations other) const [inline]

Definition at line 111 of file PlotMSTransformations.h.

References operator==().

bool casa::PlotMSTransformations::operator== ( const PlotMSTransformations other) const

Equality operators.

Referenced by operator!=().

casa::PlotMSTransformations::PMS_ENUM1 ( Field  ,
fields  ,
fieldStrings  ,
field  ,
FRAME  ,
VELDEF   
)

Static //.

Enum and methods to define the different fields for an MS averaging.

Definition at line 83 of file PlotMSTransformations.h.

References restFreq_.

Definition at line 84 of file PlotMSTransformations.h.

References restFreq_.

Sets the default values.

void casa::PlotMSTransformations::setFormStokes ( Bool  formstokes) [inline]

Definition at line 104 of file PlotMSTransformations.h.

References formStokes_.

Convenience methods for setting the standard field values.

Definition at line 94 of file PlotMSTransformations.h.

References mfreqType_, and type().

void casa::PlotMSTransformations::setFrame ( const String typeStr) [inline]
void casa::PlotMSTransformations::setRestFreq ( Double  restfreq) [inline]

Definition at line 100 of file PlotMSTransformations.h.

References restFreq_.

Definition at line 101 of file PlotMSTransformations.h.

References casa::Quantum< Qtype >::getValue(), and restFreq_.

Definition at line 98 of file PlotMSTransformations.h.

References mdoppType_, and type().

void casa::PlotMSTransformations::setVelDef ( const String typeStr) [inline]

Definition at line 99 of file PlotMSTransformations.h.

References casa::MDoppler::getType(), and mdoppType_.

Definition at line 102 of file PlotMSTransformations.h.

References XpcOffset_.

Definition at line 103 of file PlotMSTransformations.h.

References YpcOffset_.

Print out a summary.

Definition at line 79 of file PlotMSTransformations.h.

References mdoppType_.

Definition at line 82 of file PlotMSTransformations.h.

References mdoppType_, and casa::MDoppler::showType().

Referenced by anyTransform().

Definition at line 85 of file PlotMSTransformations.h.

References XpcOffset_.

Referenced by anyTransform().

Definition at line 86 of file PlotMSTransformations.h.

References YpcOffset_.

Referenced by anyTransform().


Member Data Documentation

Definition at line 48 of file PlotMSTransformations.h.

Definition at line 48 of file PlotMSTransformations.h.

Definition at line 48 of file PlotMSTransformations.h.

Form Stokes from correlations.

Definition at line 133 of file PlotMSTransformations.h.

Referenced by formStokes(), and setFormStokes().

Definition at line 48 of file PlotMSTransformations.h.

The Velocity Defn.

Definition at line 124 of file PlotMSTransformations.h.

Referenced by setVelDef(), veldef(), and veldefStr().

The Frequency frame.

Definition at line 121 of file PlotMSTransformations.h.

Referenced by frame(), frameStr(), and setFrame().

The rest frequency (MHz)

Definition at line 127 of file PlotMSTransformations.h.

Referenced by restFreq(), restFreqHz(), and setRestFreq().

Phase center offsets.

Definition at line 130 of file PlotMSTransformations.h.

Referenced by setXpcOffset(), and xpcOffset().

Definition at line 130 of file PlotMSTransformations.h.

Referenced by setYpcOffset(), and ypcOffset().


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