28 #ifndef SYNTHESIS_TRANSFORM2_SIMPLEPBCONVFUNC_H
29 #define SYNTHESIS_TRANSFORM2_SIMPLEPBCONVFUNC_H
38 #include <wcslib/wcsconfig.h>
41 #define SINCOS(a,s,c) sincos(a,&s,&c)
43 #define SINCOS(a,s,c) \
51 template<
class T>
class ImageInterface;
52 template<
class T>
class Matrix;
53 class CoordinateSystem;
54 class DirectionCoordinate;
79 namespace vi{
class VisBuffer2;}
142 virtual void reset();
virtual casacore::Int convIndex(const vi::VisBuffer2 &vb)
casacore::Vector< casacore::Bool > doneMainConv_p
A Measure: astronomical direction.
casacore::CountedPtr< casacore::TempImage< casacore::Float > > convWeightImage_p
virtual void findUsefulChannels(casacore::Vector< casacore::Int > &chanMap, casacore::Vector< casacore::Double > &chanFreqs, const vi::VisBuffer2 &vb, const casacore::Vector< casacore::Double > &visFreq)
casacore::String bandName_p
casacore::Block< casacore::CountedPtr< casacore::Array< casacore::Complex > > > convWeights_p
casacore::Vector< casacore::MDirection > ant1PointingCache_p
void setUsePointing(casacore::Bool usepointing)
virtual void findConvFunction(const casacore::ImageInterface< casacore::Complex > &, const vi::VisBuffer2 &, const casacore::Int &, SkyJones &, casacore::Matrix< casacore::Complex > &, casacore::Matrix< casacore::Complex > &, casacore::Int &, casacore::Int &)
Inputs are the image, visbuffer, convSampling and skyjones findconv return a cached convvolution func...
casacore::Matrix< casacore::Complex > weightConvFunc_p
casacore::Matrix< casacore::Complex > convSave_p
Container for Measure frame.
PBClass
Allowed PBMath Classes.
std::map< casacore::String, casacore::Int > convFunctionMap_p
casacore::Int actualConvIndex_p
virtual void storeImageParams(const casacore::ImageInterface< casacore::Complex > &iimage, const vi::VisBuffer2 &vb)
PBMathInterface::PBClass pbClass_p
casacore::MeasFrame pointFrame_p
casacore::MDirection::Convert pointToPix_p
casacore::MDirection direction1_p
virtual casacore::Bool makeAverageResponse(const vi::VisBuffer2 &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool)
casacore::DirectionCoordinate dc_p
virtual casacore::Bool toRecord(casacore::RecordInterface &outRec)
Serialization.
virtual casacore::CountedPtr< VisBufferUtil > getVBUtil()
casacore::Matrix< casacore::Bool > pointingPix_p
Referenced counted pointer for constant data.
virtual casacore::String name()
virtual casacore::Bool fromRecord(casacore::String &err, const casacore::RecordInterface &rec, casacore::Bool calcFluxneeded=false)
From record set calcfluxneeded to true if flux scale need to be computed.
casacore::Block< casacore::CountedPtr< casacore::Vector< casacore::Int > > > convSupportBlock_p
std::map< casacore::String, casacore::Int > vbConvIndex_p
Interconvert pixel positions and directions (e.g. RA/DEC).
virtual void setWeightImage(casacore::CountedPtr< casacore::TempImage< casacore::Float > > &wgtimage)
This is a function to just store the final weight image as FT machines will share this object...
casacore::CoordinateSystem csys_p
casacore::Bool findSupport(casacore::Array< casacore::Complex > &, casacore::Float &, casacore::Int &, casacore::Int &)
const casacore::MDirection & pointingDirAnt1(const vi::VisBuffer2 &vb)
casacore::Matrix< casacore::Complex > convFunc_p
casacore::Block< casacore::CountedPtr< casacore::Array< casacore::Complex > > > convFunctions_p
These are Arrays of 5 dimension (x, y, npol, nchan, nrow) Thus every baseline may have its own...
std::map< casacore::String, casacore::Int > ant1PointVal_p
casacore::Bool checkPBOfField(const vi::VisBuffer2 &vb)
casacore::Unit timeUnit_p
casacore::CountedPtr< VisBufferUtil > vbutil_p
bool Bool
Define the standard types used by Casacore.
virtual void reset()
give possibility to erase history
virtual ~SimplePBConvFunc()
casacore::TempImage< casacore::Float > fluxScale_p
casacore::MEpoch::Types timeMType_p
virtual casacore::ImageInterface< casacore::Float > & getFluxScaleImage()
casacore::Vector< casacore::Double > thePix_p
Sky Jones: Model sky-plane instrumental effects for the SkyEquation.
casacore::Int directionIndex_p
virtual void toPix(const vi::VisBuffer2 &vb, const casacore::MVDirection &extraShift=casacore::MVDirection(0.0), const casacore::Bool useExtraShift=casacore::False)
return the direction pixel corresponding to a direction
casacore::Block< casacore::CountedPtr< casacore::Vector< casacore::Int > > > convSizes_p
virtual void setVBUtil(casacore::CountedPtr< VisBufferUtil > vbutil)
virtual void sliceFluxScale(casacore::Int npol)
slice fluxscale image by npol
casacore::Int convSupport_p
casacore::Bool filledFluxScale_p
void addPBToFlux(const vi::VisBuffer2 &vb)
VisBuffer2s encapsulate one chunk of visibility data for processing.
Base class for all Casacore library errors.
casacore::MDirection direction2_p
casacore::Bool usePointingTable_p
String: the storage and methods of handling collections of characters.
casacore::Matrix< casacore::Complex > weightSave_p
Vector of three direction cosines.
virtual void setSkyJones(SkyJones *sj)
Abstract base class for Record classes.
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
casacore::Bool calcFluxScale_p
Interconvert pixel and world coordinates.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.