A Vector of integers, for indexing into Array<T> objects.
casacore::Vector< casacore::String > antennaSelStr_p
work with casacore::Vector<casacore::uInt>.
A Measure: astronomical direction.
A Measure: position on Earth.
const casacore::IPosition cimageShape_p
casacore::Vector< casacore::Double > distances_p
casacore::Vector< casacore::MS::PredefinedColumns > dataCols_p
field
casacore::Bool calc_uvw(const casacore::String &refcode, const casacore::Bool reuse=true)
Calculate the (u, v, w)s and store them in ms_p.
void initializeToSky(casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight, const VisBuffer &vb)
Initialize transform to Sky plane: initializes the image.
casacore::LogIO & logSink()
Performs for MeasurementSets various fixes which do not involve calibrating. This includes (in order ...
casacore::Bool antennaSel_p
A 2-D Specialization of the Array class.
ostream-like interface to creating log messages.
FixVis(casacore::MeasurementSet &ms, const casacore::String &dataColName=casacore::String("all"))
Constructor.
casacore::Bool freqFrameValid_p
casacore::ImageInterface< casacore::Complex > * image
void setDistances(const casacore::Vector< casacore::Double > &distances)
Specifies distances for each selected field according to distances, which must be in m and the same o...
casacore::Int nSpw_p
field
void finalizeToSky()
Defined here only because FTMachine declares it purely virtual.
casacore::uInt lockCounter_p
Store miscellaneous information related to an observation.
casacore::Vector< casacore::Int > antennaId_p
conversions can be done (or not) casacore::String obsString_p; // obsID selection ...
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
A class to provide easy read-write access to MSField columns.
casacore::uInt setFields(const casacore::Vector< casacore::Int > &fieldIds)
Set the required field Ids and return the # of selected fields.
casacore::uInt nAllFields_p
casacore::Bool makeSelection(const casacore::Int selectedField)
Calls ready_msc_p() as a side effect.
casacore::Bool fixvis(const casacore::String &refcode)
For things like rotation, differential aberration correction, etc., when there already is a UVW colum...
Define the shape and tile shape.
void convertFieldDirs(const casacore::MDirection::Types outType)
Convert the directions (phase tracking centers, + DELAY_DIR and REFERENCE_DIR if they start in the sa...
Specifies new phase tracking centers for the selected fields *void setPhaseDirs(const casacore::Vector< casacore::MDirection > &phaseDirs)
casacore::MeasurementSet mssel_p
Not initialized in ctor.
casacore::Vector< casacore::Int > getFieldIdx(const casacore::String &fields)
Interpret field indices (casacore::MSSelection)
void convertFieldCols(casacore::MSFieldColumns &msfcs, const casacore::MDirection::Ref &newFrame, const casacore::Bool doAll3)
Private worker function for convertFieldDirs().
casacore::Vector< casacore::MDirection > phaseDirs_p
virtual casacore::String name() const
Return the name of the machine.
Type
Types of known Images that may be made using the makeImage method.
casacore::Bool ready_msc_p()
Makes sure msc_p is ready, and returns false if it fails.
void initializeToVis(casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb)
Initialize transform to Visibility plane using the image as a template.
bool Bool
Define the standard types used by Casacore.
const casacore::TiledShape tiledShape_p
casacore::MeasurementSet ms_p
Initialized in ctor.
void ok()
casacore::Bool getRestFreq(casacore::Vector<casacore::Double>& restFreq, const casacore::Int spw...
A Table intended to hold astronomical data (a set of Measurements).
virtual void ComputeResiduals(VisBuffer &, casacore::Bool)
Make the VB and VBStore interefaces for the interim re-factoring work.
casacore::Vector< casacore::Int > DDIds_p
casacore::uInt nDataCols_p
const casacore::uInt npix_p
Base class for all Casacore library errors.
void rotateUVW(const casacore::MDirection &indir, const casacore::MDirection::Ref &newref)
Convert the UVW column to a new reference frame by rotating the old baselines instead of calculating ...
A class to provide easy read-write access to MeasurementSet columns.
casacore::Vector< casacore::Int > spectralwindowids_p
casacore::Bool doTrackSource_p
const casacore::IPosition tileShape_p
String: the storage and methods of handling collections of characters.
casacore::MSColumns * msc_p
casacore::ImageInterface< casacore::Complex > & getImage(casacore::Matrix< float > &, casacore::Bool)
FTMachine declares a LOT of pure virtual functions which FixVis does not need.
void finalizeToVis()
Finalize transform to Visibility plane.
VisBuffers encapsulate one chunk of visibility data for processing.
virtual void setMiscInfo(const casacore::Int qualifier)
set the order of the Taylor term for MFS this is to tell A-casacore::Projection to qualify the accumu...
casacore::Bool setImageField(const casacore::Int fieldid, const casacore::Bool dotrackDir=false)
TODO?: trackDir.
casacore::LogIO sink_p
Log functions and variables.
casacore::Vector< casacore::Int > FieldIds_p
casacore::MPosition mLocation_p
casacore::ObsInfo latestObsInfo_p
void getWeightImage(casacore::ImageInterface< float > &, casacore::Matrix< float > &)
Get the final weights image.
virtual void normalizeImage(casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Double > &, casacore::Lattice< casacore::Float > &, casacore::Bool)
void put(const VisBuffer &, casacore::Int, casacore::Bool, FTMachine::Type)
Put coherence to grid.
void processSelected(casacore::uInt numInSel)
Does phase tracking center and distance adjustment for mssel_p.
defines interface for the Fourier Transform Machine
FixVis & operator=(FixVis &other)
Assignment (only copies reference to casacore::MS, need to reset selection etc)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.