28 #ifndef SYNTHESIS_SIMPLEPBCONVFUNC_H
29 #define SYNTHESIS_SIMPLEPBCONVFUNC_H
37 #include <wcslib/wcsconfig.h>
40 #define SINCOS(a,s,c) sincos(a,&s,&c)
42 #define SINCOS(a,s,c) \
50 template<
class T>
class ImageInterface;
51 template<
class T>
class Matrix;
52 class CoordinateSystem;
53 class DirectionCoordinate;
134 virtual void reset();
casacore::Vector< casacore::MDirection > ant1PointingCache_p
casacore::Block< casacore::CountedPtr< casacore::Vector< casacore::Int > > > convSupportBlock_p
A Measure: astronomical direction.
PBMathInterface::PBClass pbClass_p
casacore::MDirection::Convert pointToPix_p
virtual void setSkyJones(SkyJones *sj)
casacore::DirectionCoordinate dc_p
virtual void sliceFluxScale(casacore::Int npol)
slice fluxscale image by npol
virtual void toPix(const VisBuffer &vb)
return the direction pixel corresponding to a direction
casacore::Vector< casacore::Bool > doneMainConv_p
casacore::Block< casacore::CountedPtr< casacore::Vector< casacore::Int > > > convSizes_p
casacore::Int convSupport_p
Container for Measure frame.
casacore::Vector< casacore::Double > thePix_p
casacore::CoordinateSystem csys_p
casacore::Matrix< casacore::Complex > weightConvFunc_p
casacore::Unit timeUnit_p
PBClass
Allowed PBMath Classes.
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
const casacore::MDirection & pointingDirAnt1(const VisBuffer &vb)
casacore::MDirection direction1_p
casacore::Matrix< casacore::Complex > weightSave_p
casacore::Bool filledFluxScale_p
casacore::CountedPtr< casacore::TempImage< casacore::Float > > convWeightImage_p
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::Int actualConvIndex_p
casacore::MEpoch::Types timeMType_p
Referenced counted pointer for constant data.
virtual void findUsefulChannels(casacore::Vector< casacore::Int > &chanMap, casacore::Vector< casacore::Double > &chanFreqs, const VisBuffer &vb, const casacore::Vector< casacore::Double > &visFreq)
Interconvert pixel positions and directions (e.g. RA/DEC).
casacore::Bool calcFluxScale_p
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...
virtual casacore::Bool toRecord(casacore::RecordInterface &outRec)
Serialization.
Returns the convfunctions in the Cubes the casacore::Matrix rowChanMap maps the vb row and channel to the plane of the convfunc appropriate when conjugateFreqFuncs
casacore::Bool findSupport(casacore::Array< casacore::Complex > &, casacore::Float &, casacore::Int &, casacore::Int &)
casacore::Matrix< casacore::Complex > convSave_p
casacore::TempImage< casacore::Float > fluxScale_p
virtual casacore::ImageInterface< casacore::Float > & getFluxScaleImage()
bool Bool
Define the standard types used by Casacore.
casacore::Block< casacore::CountedPtr< casacore::Array< casacore::Complex > > > convWeights_p
casacore::Bool checkPBOfField(const VisBuffer &vb)
casacore::MeasFrame pointFrame_p
casacore::Matrix< casacore::Complex > convFunc_p
virtual void findConvFunction(const casacore::ImageInterface< casacore::Complex > &, const VisBuffer &, 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...
void addPBToFlux(const VisBuffer &vb)
virtual casacore::String name()
virtual void reset()
give possibility to erase history
virtual ~SimplePBConvFunc()
Sky Jones: Model sky-plane instrumental effects for the SkyEquation.
Base class for all Casacore library errors.
std::map< casacore::String, casacore::Int > convFunctionMap_p
virtual casacore::Int convIndex(const VisBuffer &vb)
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
virtual void storeImageParams(const casacore::ImageInterface< casacore::Complex > &iimage, const VisBuffer &vb)
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::Int directionIndex_p
std::map< casacore::String, casacore::Int > vbConvIndex_p
virtual casacore::Bool makeAverageResponse(const VisBuffer &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool)
Interconvert pixel and world coordinates.
casacore::MDirection direction2_p
casacore::Matrix< casacore::Bool > pointingPix_p
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.