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

a container for storing the Miriad metadata that must be tracked while filling More...

#include <FillMetadata.h>

Public Member Functions

 FillMetadata (const casacore::String &msfile="")
 
 ~FillMetadata ()
 
casacore::Int getAntennaID (casacore::Int antnum)
 return the antenna id for a given miriad antenna number. More...
 
casacore::Int getDataDescID (casacore::Int=0, casacore::Int=0)
 return the data description id for a given spectral window id. More...
 
void inittime (casacore::Double time, casacore::Double updmodelint=0)
 set all fiducial times to the given time More...
 
void setTelescope (casacore::String tel)
 set the telescope. More...
 
casacore::Int bimaAntCount ()
 

Public Attributes

casacore::MeasurementSetms
 info that doesn't change during filling More...
 
casacore::MSColumnsmsc
 
casacore::String outname
 
casacore::Int obsid
 output casacore::MS info that can vary during filling process More...
 
casacore::Float inttime
 
casacore::Float jyperk
 
casacore::Float plangle
 
casacore::Float plmaj
 
casacore::Float plmin
 
casacore::Float pltb
 
casacore::Double freq
 
casacore::String telescope
 pltb to flux using Raleigh-Jeans appx to BB. More...
 
casacore::String project
 
casacore::Bool obsupd
 
casacore::Int nants
 
casacore::Int narrays
 
casacore::Int arrayAnt
 
casacore::Vector
< casacore::Double
antpos
 
casacore::Vector
< casacore::Double
arrayXYZ
 
casacore::Intmount
 
casacore::Doublediam
 
casacore::Double starttime
 
casacore::Double obstime
 
casacore::Double feedtime
 
casacore::Double modeltime
 
casacore::Double lasttime
 
MirFreqSetupfsetup
 
MirSourcesource
 casacore::ListIter<MirFreqSetup *> fsiter; IDIndex wfidx; // moved to MirFreqSetup IDIndex nfidx; More...
 
casacore::Bool movingsrc
 
MirFieldfield
 const casacore::List<MirSource*> *srclist; More...
 
ConstMirPolSetuppol
 
MirPolRecpspolrecp
 
casacore::Bool polotf
 
casacore::Matrix< casacore::Floatnsystemp
 
PJT

casacore::HashMap<DataDescComponents, casacore::Int> ddids; More...

 
casacore::Matrix< casacore::Floatwsystemp
 
casacore::Int tsyscorrect
 
DataLoadingBuf buf
 data-loading buffers More...
 

Static Public Attributes

static const casacore::String HATCREEK
 
static const casacore::String BIMA
 
static const casacore::String CARMA
 
static const casacore::String ATCA
 
static const casacore::String VLA
 

Detailed Description

a container for storing the Miriad metadata that must be tracked while filling

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

This stores the metadata from an input Miriad dataset (e.g. Miriad variable values) that are important for orchestrating its filling into a measurement set.

Synopsis

This class is a container for various information gleaned from the Miriad dataset that is important for organizing the data into a Measurement Set. It essentially holds all state information needed by MirFiller's functions during filling.

Most of the interaction with this class is through public data members (for programming and runtime efficiency); thus, this class is not appropriate for use outside of this module. A few helper funtions are provided to aid in utilizing the information.

Motivation

This allows MirFiller to pass the state of the filling process to its internal functions rather than storing it as a member object. Thus, if one attempt to fill fails half way, MirFiller does not have to worry about cleaning up its internal state.

Definition at line 886 of file FillMetadata.h.

Constructor & Destructor Documentation

FillMetadata::FillMetadata ( const casacore::String msfile = "")
FillMetadata::~FillMetadata ( )

Member Function Documentation

casacore::Int FillMetadata::bimaAntCount ( )
inline

Definition at line 967 of file FillMetadata.h.

References antpos, and nants.

casacore::Int FillMetadata::getAntennaID ( casacore::Int  antnum)
inline

return the antenna id for a given miriad antenna number.

Definition at line 945 of file FillMetadata.h.

References arrayAnt.

casacore::Int FillMetadata::getDataDescID ( casacore::Int  = 0,
casacore::Int  = 0 
)
inline

return the data description id for a given spectral window id.

Definition at line 948 of file FillMetadata.h.

void FillMetadata::inittime ( casacore::Double  time,
casacore::Double  updmodelint = 0 
)
inline

set all fiducial times to the given time

Definition at line 958 of file FillMetadata.h.

References feedtime, lasttime, modeltime, obstime, starttime, and casa::time.

void FillMetadata::setTelescope ( casacore::String  tel)

set the telescope.

This will also set the telescope location if it is known.

Member Data Documentation

casacore::Vector<casacore::Double> FillMetadata::antpos

Definition at line 904 of file FillMetadata.h.

Referenced by bimaAntCount().

casacore::Int FillMetadata::arrayAnt

Definition at line 903 of file FillMetadata.h.

Referenced by getAntennaID().

casacore::Vector<casacore::Double> FillMetadata::arrayXYZ

Definition at line 905 of file FillMetadata.h.

const casacore::String FillMetadata::ATCA
static

Definition at line 938 of file FillMetadata.h.

const casacore::String FillMetadata::BIMA
static

Definition at line 936 of file FillMetadata.h.

DataLoadingBuf FillMetadata::buf

data-loading buffers

Definition at line 933 of file FillMetadata.h.

const casacore::String FillMetadata::CARMA
static

Definition at line 937 of file FillMetadata.h.

casacore::Double* FillMetadata::diam

Definition at line 907 of file FillMetadata.h.

casacore::Double FillMetadata::feedtime

Definition at line 908 of file FillMetadata.h.

Referenced by inittime().

MirField* FillMetadata::field

const casacore::List<MirSource*> *srclist;

casacore::ListIter<MirField *> flditer;

Definition at line 920 of file FillMetadata.h.

casacore::Double FillMetadata::freq

Definition at line 899 of file FillMetadata.h.

MirFreqSetup* FillMetadata::fsetup

Definition at line 910 of file FillMetadata.h.

const casacore::String FillMetadata::HATCREEK
static

Definition at line 935 of file FillMetadata.h.

casacore::Float FillMetadata::inttime

Definition at line 896 of file FillMetadata.h.

casacore::Float FillMetadata::jyperk

Definition at line 897 of file FillMetadata.h.

casacore::Double FillMetadata::lasttime

Definition at line 908 of file FillMetadata.h.

Referenced by inittime().

casacore::Double FillMetadata::modeltime

Definition at line 908 of file FillMetadata.h.

Referenced by inittime().

casacore::Int* FillMetadata::mount

Definition at line 906 of file FillMetadata.h.

casacore::Bool FillMetadata::movingsrc

Definition at line 916 of file FillMetadata.h.

casacore::MeasurementSet* FillMetadata::ms

info that doesn't change during filling

Definition at line 890 of file FillMetadata.h.

casacore::MSColumns* FillMetadata::msc

Definition at line 891 of file FillMetadata.h.

casacore::Int FillMetadata::nants

Definition at line 903 of file FillMetadata.h.

Referenced by bimaAntCount().

casacore::Int FillMetadata::narrays

Definition at line 903 of file FillMetadata.h.

casacore::Matrix<casacore::Float> FillMetadata::nsystemp

PJT

casacore::HashMap<DataDescComponents, casacore::Int> ddids;

Definition at line 928 of file FillMetadata.h.

casacore::Int FillMetadata::obsid

output casacore::MS info that can vary during filling process

Definition at line 895 of file FillMetadata.h.

casacore::Double FillMetadata::obstime

Definition at line 908 of file FillMetadata.h.

Referenced by inittime().

casacore::Bool FillMetadata::obsupd

Definition at line 902 of file FillMetadata.h.

casacore::String FillMetadata::outname

Definition at line 892 of file FillMetadata.h.

casacore::Float FillMetadata::plangle

Definition at line 898 of file FillMetadata.h.

casacore::Float FillMetadata::plmaj

Definition at line 898 of file FillMetadata.h.

casacore::Float FillMetadata::plmin

Definition at line 898 of file FillMetadata.h.

casacore::Float FillMetadata::pltb

Definition at line 898 of file FillMetadata.h.

ConstMirPolSetup* FillMetadata::pol

Definition at line 922 of file FillMetadata.h.

casacore::Bool FillMetadata::polotf

Definition at line 924 of file FillMetadata.h.

MirPolRecps* FillMetadata::polrecp

Definition at line 923 of file FillMetadata.h.

casacore::String FillMetadata::project

Definition at line 901 of file FillMetadata.h.

MirSource* FillMetadata::source

casacore::ListIter<MirFreqSetup *> fsiter; IDIndex wfidx; // moved to MirFreqSetup IDIndex nfidx;

Definition at line 915 of file FillMetadata.h.

casacore::Double FillMetadata::starttime

Definition at line 908 of file FillMetadata.h.

Referenced by inittime().

casacore::String FillMetadata::telescope

pltb to flux using Raleigh-Jeans appx to BB.

Definition at line 901 of file FillMetadata.h.

casacore::Int FillMetadata::tsyscorrect

Definition at line 930 of file FillMetadata.h.

const casacore::String FillMetadata::VLA
static

Definition at line 939 of file FillMetadata.h.

casacore::Matrix<casacore::Float> FillMetadata::wsystemp

Definition at line 929 of file FillMetadata.h.


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