29 #ifndef BIMA_MIRFILLER_H
30 #define BIMA_MIRFILLER_H
431 return (
abs(a-b) < tol);
virtual void updateObservatory(FillMetadata &fm, casacore::Double time)
handle an update to the observatory; this is a callback routine that is part of the MirVarHandler int...
casacore::Double scanlim_p
wideConventions wideconv_p
void addPolarization(FillMetadata &fm, casacore::Bool addCurrentOnly=false)
add a POLARIZATION record for the current polarization type.
void flushObsRecord(FillMetadata &fm, casacore::Double time)
add the current observation information as a new record to the output ms's OBSERVATION subtable ...
casacore::String histbl_p
options
virtual void updateFreqSetup(FillMetadata &fm, casacore::Double time)
handle an update to the frequency setup; this is a callback routine that is part of the MirVarHandler...
casacore::Bool verbose()
return true if this filler should be verbose in its messages.
casacore::Record getOptions()
get the current filling options
casacore::Double obslim_p
casacore::Bool compress_p
void noJoinFill(const casacore::String &msfile)
void addProcessor(FillMetadata &fm)
add a processor record for the current frequency setup
casacore::Bool nearAbs(casacore::Double a, casacore::Double b, casacore::Double tol)
void addHistoryMessage(FillMetadata &fm, casacore::String priority, casacore::String origin, casacore::String msg)
add a filler message to the HISTORY table
void flushMovingFields(FillMetadata &fm, casacore::Double time)
check for moving objects in source list and adjust FIELD subtable accordingly
casacore::Bool fitskymotion(casacore::Matrix< casacore::Double > &dirfit, const casacore::Vector< casacore::Double > &time, const casacore::Vector< casacore::Double > &ra, const casacore::Vector< casacore::Double > &dec)
create a polynomial fit for the direction to a moving source PJT
an exception indicating that a requested data selection from a Miriad dataset is not available...
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
void fill(const casacore::String &msfile)
return basic characteristics of the input dataset as a GlishRecord.
void flushPointingRecords(FillMetadata &fm, casacore::Double time)
add the records to the POINTING subtable for the current set of antennas
casacore::Bool Debug(casacore::Int level)
return true if the debugging level is at least as high as a given level.
ostream-like interface to creating log messages.
casacore::MeasurementSet * setupMS(const casacore::String &msfile, casacore::Int tileSize=0, casacore::Bool needSrcModel=true)
open and setup the output MS.
casacore::Double updmodelint_p
casacore::Vector< casacore::Bool > widesel_p
selection info
casacore::uInt addSource(FillMetadata &fm, double time)
add the current source to the SOURCE subtable
casacore::Vector< casacore::Bool > winsel_p
virtual void updateSourceModel(FillMetadata &fm, casacore::Double time)
handle an update to the SOURCE_MODEL column of the SOURCE subtable.
void addField(FillMetadata &fm, double time)
add the current field to the FIELD subtable
casacore::Int getDebugLevel() const
set the debugging level which controls the amount of debugging messages that are printed to the termi...
void addDataDesc(FillMetadata &fm)
add DATA_DESCRIPTION records for the current polarization and frequency setup
MirVisReader rdr_p
info that doesn't change during life of filler
static casacore::String wideconvnames[]
void addTsysRecords(FillMetadata &fm, casacore::Double time, casacore::Cube< casacore::Float > &tsys)
add a record to the SysCal table
void flushFeedRecords(FillMetadata &fm, casacore::Double time)
add the records to the FEED subtable for the current set of antennas and polarizations ...
void setDebugLevel(casacore::Int level)
set the debugging level which controls the amount of debugging messages that are printed to the termi...
virtual void updateField(FillMetadata &fm, casacore::Double time)
handle an update to the observing field; this is a callback routine that is part of the MirVarHandler...
void flushHistory(FillMetadata &fm)
write out the miriad history into the HISTORY table
casacore::Int planetfit_p
void initMS(::FillMetadata &fm)
initialize the output MS.
casacore::Bool movfield_p
LatticeExprNode abs(const LatticeExprNode &expr)
Numerical 1-argument functions which result in a real number regardless of input expression type...
void selectSpectra(const casacore::Vector< casacore::Int > &wideChans, const casacore::Vector< casacore::Int > &narrowWins)
select spectral data from the input Miriad dataset.
void copyHistoryFrom(FillMetadata &fm, casacore::String tablename)
copy the history from a given HISTORY table
virtual void updatePolSetup(FillMetadata &fm, casacore::Double time)
handle an update to the array configuration; this is a callback routine that is part of the MirVarHan...
a Miriad visibility dataset reader
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
void initState(FillMetadata &fm)
initialize the STATE table
a container for source information
void addCorrelatorSetup(FillMetadata &fm, double time)
add subtable records for the current correlator setup
virtual Origin origin() const =0
ABSTRACT METHODS //.
A Table intended to hold astronomical data (a set of Measurements).
BIMA MIRIAD dataset to MeasurementSet2 filler.
virtual ~MirFiller()
destruct this filler
Base class for all Casacore library errors.
virtual void updateIntTime(FillMetadata &fm, casacore::Double time)
handle an update to the integration time; this is a callback routine that is part of the MirVarHandle...
a static container for a set of Miriad polarization correlation types
String: the storage and methods of handling collections of characters.
void joinFill(const casacore::String &msfile)
void selectPols(ConstMirPolSetup &polsel)
throw(UnavailableMiriadDataSelectionError);
void setOptions(const casacore::Record &opts)
set the options for filling.
MirFiller(const casacore::String &mirfile, casacore::Bool scan=true, casacore::Int dbg=0)
create the filler, attaching it to a Miriad dataset.
void addAntennaPositions(FillMetadata &fm, casacore::Double time)
add a new set of antenna positions
void setDebugLevel(casacore::Int level)
set the debugging level which controls the amount of debugging messages that are printed to the termi...
virtual void updateTsys(FillMetadata &fm, casacore::Double time)
handle an update to system temperatures this is a callback routine that is part of the MirVarHandler ...
virtual void updateArray(FillMetadata &fm, casacore::Double time)
handle an update to the array configuration; this is a callback routine that is part of the MirVarHan...
ConstMirPolSetup * defpolsel_p
virtual void updateSource(FillMetadata &fm, casacore::Double time)
handle an update to the source; this is a callback routine that is part of the MirVarHandler interfac...
A description of a Miriad spectroscopy (correlator) setup.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.