26 #ifndef IMAGEANALYSIS_IMAGEPOLTASK_H
27 #define IMAGEANALYSIS_IMAGEPOLTASK_H
162 std::vector<std::shared_ptr<casacore::LatticeStatistics<casacore::Float>>>
_stokesStats
163 = std::vector<std::shared_ptr<casacore::LatticeStatistics<casacore::Float>>>(4);
171 const std::vector<StokesTypes>& stokes,
A Vector of integers, for indexing into Array<T> objects.
casacore::Matrix< casacore::Bool > _beamsEqMat
std::vector< casacore::Coordinate::Type > _getNecessaryCoordinates() const
Represents the minimum set of coordinates necessary for the task to function.
SPIIF _makeSubImage(casacore::IPosition &blc, casacore::IPosition &trc, casacore::Int axis, casacore::Int pix) const
Make a casacore::SubImage from the construction image for the specified pixel along the specified pix...
virtual casacore::String getClass() const
virtual Type type()
Return the type enum.
std::vector< SPIIF > _stokesImage
These blocks are always size 4, with IQUV in slots 0,1,2,3 If your image is IV only, they still use slots 0 and 3.
casacore::Float _sigma(casacore::Float clip=10.0)
Get the best estimate of the statistical noise.
SPCIIF _getStokesImage(StokesTypes type) const
casacore::Bool _checkIQUBeams(casacore::Bool requireChannelEquality, casacore::Bool throws=casacore::True) const
StokesTypes
The Stokes types are defined by this enum.
void _setDoLinDoCirc(casacore::Bool &doLin, casacore::Bool &doCirc, casacore::Bool requireI) const
casacore::LatticeExprNode _makePolIntNode(casacore::Bool debias, casacore::Float clip, casacore::Float sigma, casacore::Bool doLin, casacore::Bool doCirc)
Make a LEN for the give types of polarized intensity.
std::shared_ptr< const casacore::ImageInterface< casacore::Float > > SPCIIF
void _findStokes()
Find the casacore::Stokes in the construction image and assign pointers.
bool Bool
Define the standard types used by Casacore.
void _setInfo(casacore::ImageInterface< Float > &im, const StokesTypes stokes) const
*casacore::Float sigmaLinPolInt(casacore::Float clip=10.0, casacore::Float sigma=-1.0)
std::shared_ptr< casacore::ImageInterface< casacore::Float > > SPIIF
Bridging class to allow C++ expressions involving lattices.
static const casacore::String CLASS_NAME
casacore::Bool _checkQUBeams(casacore::Bool requireChannelEquality, casacore::Bool throws=casacore::True) const
casacore::Bool _checkIVBeams(casacore::Bool requireChannelEquality, casacore::Bool throws=casacore::True) const
casacore::String _stokesName(StokesTypes index) const
Return I, Q, U or V for specified integer index (0-3)
String: the storage and methods of handling collections of characters.
void _maskAndZeroNaNs(SPIIF out)
void _fiddleStokesCoordinate(casacore::ImageInterface< casacore::Float > &ie, casacore::Stokes::StokesTypes type) const
Change the casacore::Stokes casacore::Coordinate for the given complex image to be of the specified c...
CasacRegionManager::StokesControl _getStokesControl() const
std::vector< std::shared_ptr< casacore::LatticeStatistics< casacore::Float > > > _stokesStats
Interconvert pixel and world coordinates.
casacore::Bool _checkBeams(const std::vector< StokesTypes > &stokes, casacore::Bool requireChannelEquality, casacore::Bool throws=true) const
Begin moving polarization tasks to ImageTask framework.