28 #ifndef SYNTHESIS_TRANSFORM2_CFSTORE_H
29 #define SYNTHESIS_TRANSFORM2_CFSTORE_H
42 using namespace CFDefs;
47 xSupport(), ySupport(),
48 maxXSupport(-1), maxYSupport(-1),
49 pa(), mosPointingPos(0) {};
54 data(),rdata(), coordSys(cs), sampling(samp),
55 xSupport(xsup), ySupport(ysup), maxXSupport(maxXSup),
56 maxYSupport(maxYSup),
pa(PA), mosPointingPos(mosPointing)
62 void show(
const char *Mesg=NULL,std::ostream &os=std::cerr);
75 data=dataPtr; coordSys=cs; sampling.assign(samp);
76 xSupport.assign(xsup); ySupport.assign(ysup);
77 maxXSupport=maxXSup;maxYSupport=maxYSup;
79 mosPointingPos = mosPointing;
A Vector of integers, for indexing into Array<T> objects.
casacore::CoordinateSystem coordSys
void set(CFType *dataPtr, casacore::CoordinateSystem &cs, casacore::Vector< casacore::Float > &samp, casacore::Vector< casacore::Int > &xsup, casacore::Vector< casacore::Int > &ysup, casacore::Int maxXSup, casacore::Int maxYSup, casacore::Quantity PA, const casacore::Int mosPointing=0)
casacore::CountedPtr< CFType > data
PtrHolder< T > & operator=(const PtrHolder< T > &other)
void set(const CFStore &other)
casacore::Int maxXSupport
void show(const variant &v)
casacore::Int maxYSupport
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
casacore::Array< casacore::Complex > CFType
casacore::Vector< casacore::Int > xSupport
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
Referenced counted pointer for constant data.
CFStore(CFType *dataPtr, casacore::CoordinateSystem &cs, casacore::Vector< casacore::Float > &samp, casacore::Vector< casacore::Int > &xsup, casacore::Vector< casacore::Int > &ysup, casacore::Int maxXSup, casacore::Int maxYSup, casacore::Quantity PA, casacore::Int mosPointing)
bool Bool
Define the standard types used by Casacore.
casacore::Vector< casacore::Int > ySupport
casacore::Vector< casacore::Float > sampling
casacore::Int mosPointingPos
casacore::CountedPtr< CFTypeReal > rdata
Interconvert pixel and world coordinates.