29 #ifndef SYNTHESIS_TRANSFORM2_POINTINGOFFSETS_H
30 #define SYNTHESIS_TRANSFORM2_POINTINGOFFSETS_H
40 class SolvableVisJones;
49 PointingOffsets(
const int& convOversampling):
thePix_p(),
pixFieldGrad_p(),
imageObsInfo_p(),
nx_p(0),
ny_p(0),
nchan_p(0),
npol_p(0),
directionIndex_p(0),
csys_p(),
dc_p(),
pointFrame_p(),
timeMType_p(),
timeUnit_p(),
direction1_p(),
direction2_p(),
doPointing_p(false),
vbUtils_p()
casacore::Vector< casacore::Double > & toPix(const vi::VisBuffer2 &vb, const casacore::MDirection &dir1, const casacore::MDirection &dir2)
A Measure: astronomical direction.
A 1-D Specialization of the Array class.
void storeImageParams(const casacore::ImageInterface< casacore::Complex > &iimage, const vi::VisBuffer2 &vb)
void setEPJones(SolvableVisJones *epJ)
casacore::MDirection::Convert pointToPix_p
casacore::MEpoch::Types timeMType_p
virtual casacore::Vector< casacore::Vector< casacore::Double > > findPointingOffset(const casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb, const casacore::Bool doPointing=false)
void setDoPointing(const bool &dop=false)
casacore::MeasFrame pointFrame_p
Container for Measure frame.
casacore::MDirection direction2_p
casacore::CountedPtr< SolvableVisJones > epJ_p
Store miscellaneous information related to an observation.
casacore::DirectionCoordinate imageDC_p
casacore::Vector< double > gradPerPixel(const casacore::Vector< double > &p)
Referenced counted pointer for constant data.
Interconvert pixel positions and directions (e.g. RA/DEC).
casacore::Unit timeUnit_p
PointingOffsets & operator=(const PointingOffsets &other)
casacore::MDirection direction1_p
bool Bool
Define the standard types used by Casacore.
T getenv(const char *name, const T defaultVal)
casacore::ObsInfo imageObsInfo_p
casacore::CoordinateSystem csys_p
casacore::Vector< double > thePix_p
VisBuffer2s encapsulate one chunk of visibility data for processing.
virtual casacore::Vector< casacore::Vector< casacore::Double > > findMosaicPointingOffset(const casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb, const casacore::Bool &doPointing=false)
PointingOffsets(const int &convOversampling)
casacore::Vector< double > pixFieldGrad_p
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
virtual casacore::Vector< casacore::Vector< casacore::Double > > findAntennaPointingOffset(const casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb, const casacore::Bool &doPointing=true)
casacore::DirectionCoordinate dc_p
Interconvert pixel and world coordinates.