casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
casa::CalMap Class Reference

A base class for calmaps. More...

#include <CLPatchPanel.h>

Inheritance diagram for casa::CalMap:
casa::FieldCalMap

Public Member Functions

 CalMap ()
 Null ctor (defaults everything) More...
 
 CalMap (const casacore::Vector< casacore::Int > &calmap)
 Construct from a Vector. More...
 
casacore::Int operator() (casacore::Int msid) const
 Construct from a casacore::Record (int:int; TBD: need an casacore::MS to parse strings) CalMap(const casacore::Record calmap): More...
 
casacore::Vector< casacore::Intctids (const casacore::Vector< casacore::Int > &msids) const
 Return the ctids required for a set a msids (from among those available) TBD: what to do if nominally required ctid is UNavailable (return only the avail ones?) More...
 
casacore::Vector< casacore::Intmsids (casacore::Int ctid, const casacore::Vector< casacore::Int > &superset=casacore::Vector< casacore::Int >()) const
 Return the msids that will be satisfied by a specific ctid. More...
 
casacore::Vector< casacore::Intvmap () const
 Return the verbatim (casacore::Vector) map. More...
 

Protected Attributes

casacore::Vector< casacore::Intvcalmap_
 

Detailed Description

A base class for calmaps.

Definition at line 92 of file CLPatchPanel.h.

Constructor & Destructor Documentation

casa::CalMap::CalMap ( )

Null ctor (defaults everything)

casa::CalMap::CalMap ( const casacore::Vector< casacore::Int > &  calmap)

Construct from a Vector.

Member Function Documentation

casacore::Vector<casacore::Int> casa::CalMap::ctids ( const casacore::Vector< casacore::Int > &  msids) const

Return the ctids required for a set a msids (from among those available) TBD: what to do if nominally required ctid is UNavailable (return only the avail ones?)

casacore::Vector<casacore::Int> casa::CalMap::msids ( casacore::Int  ctid,
const casacore::Vector< casacore::Int > &  superset = casacore::Vectorcasacore::Int >() 
) const

Return the msids that will be satisfied by a specific ctid.

casacore::Int casa::CalMap::operator() ( casacore::Int  msid) const

Construct from a casacore::Record (int:int; TBD: need an casacore::MS to parse strings) CalMap(const casacore::Record calmap):

Construct from a casacore::String (an algorithm or selection) CalMap(casacore::String calmaptype,const NewCalTable& ct, const casacore::MeasurementSet ms, casacore::Vector<casacore::Int> availids=casacore::Vector<casacore::Int>()); Construct from casacore::String and 2 Vectors (default, and explict to/from override) TBD

Index method returns the ct id mapped to the specified msid

casacore::Vector<casacore::Int> casa::CalMap::vmap ( ) const
inline

Return the verbatim (casacore::Vector) map.

Definition at line 122 of file CLPatchPanel.h.

References vcalmap_.

Member Data Documentation

casacore::Vector<casacore::Int> casa::CalMap::vcalmap_
protected

Definition at line 122 of file CLPatchPanel.h.

Referenced by vmap().


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