29 #ifndef SYNTHESIS_ALMAAPERTURE_H
30 #define SYNTHESIS_ALMAAPERTURE_H
55 template<
class T>
class Matrix;
94 (void)freqVal;
applySky(outputImage, vb, doSquint, cfKey,
false);
101 {(void)freqVal;
applySky(outputImage, vb, doSquint, cfKey,
false);};
casacore::Vector< casacore::Int > polMap_p
static casacore::String antTypeStrFromType(const ALMAAntennaType &aType)
virtual void applySky(casacore::ImageInterface< casacore::Complex > &outputImage, const VisBuffer &vb, const casacore::Bool doSquint=true, const casacore::Int &cfKey=0, const casacore::Double freqVal=-1.0)
virtual void applySky(casacore::ImageInterface< casacore::Float > &outputImage, const VisBuffer &vb, const casacore::Bool doSquint=true, const casacore::Int &cfKey=0, const casacore::Double freqVal=-1.0)
static casacore::Vector< ALMAAntennaType > antennaTypesFromCFKey(const casacore::Int &cFKey)
static casacore::Bool orderMattersInCFKey
casacore::Int getVisParams(const VisBuffer &vb, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())
casacore::Vector< ALMAAntennaType > antTypeList(const VisBuffer &vb)
generate the lists of antenna types for the whole vb
AntennaResponses provides access to antenna response data.
casacore::Int getBandID(const casacore::Double &freq, const casacore::String &telescopeName)
A 2-D Specialization of the Array class.
void resetAntTypeMap()
call this before reusing the same ALMAAperture object on a different MS
casacore::Vector< casacore::PagedImage< casacore::Complex > * > respImage_p
static AntennaResponses * aR_p
ALMAAperture & operator=(const ALMAAperture &other)
virtual casacore::Vector< casacore::Int > vbRow2CFKeyMap(const VisBuffer &vb, casacore::Int &nUnique)
Not sure if the following method is requried.
A base class for astronomical images.
bool Bool
Define the standard types used by Casacore.
casacore::Int makePBPolnCoords(const VisBuffer &vb, const casacore::Int &convSize, const casacore::Int &convSampling, const casacore::CoordinateSystem &skyCoord, const casacore::Int &skyNx, const casacore::Int &skyNy, casacore::CoordinateSystem &feedCoord)
Not sure if the following method is requried.
casacore::Bool haveCannedResponses_p
static casacore::Int cFKeyFromAntennaTypes(const ALMAAntennaType aT1, const ALMAAntennaType aT2)
class ALMAAperture : public ATerm
virtual void makeFullJones(casacore::ImageInterface< casacore::Complex > &pbImage, const VisBuffer &vb, casacore::Bool doSquint, casacore::Int &bandID, casacore::Double freqVal)
Overload these functions.
casacore::Vector< ALMAAntennaType > antTypeMap_p
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
void resize(size_t len, Bool copyValues=False)
static ALMAAntennaType antTypeFromName(const casacore::String &name)
derive type number from first two characters in antenna name, return -1 if not recognised ...
virtual void setPolMap(const casacore::Vector< casacore::Int > &polMap)
The mapping from VisBuffer polarizations map to the Image plane polarization.
casacore::Vector< ALMAAntennaType > antTypeMap(const VisBuffer &vb)
virtual casacore::Int getConvSize() {return CONVSIZE;}; virtual casacore::Int getOversampling() {retu...
Interconvert pixel and world coordinates.
virtual void getPolMap(casacore::Vector< casacore::Int > &polMap)
virtual casacore::String name()
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
void cacheVBInfo(const casacore::String &telescopeName, const casacore::Float &diameter)