casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
casa::ImageExprCalculator< T > Class Template Reference

#include <ImageExprCalculator.h>

Public Member Functions

 ImageExprCalculator ()=delete
 Top level interface for computing the results of an image expression. More...
 
 ImageExprCalculator (const casacore::String &expression, const casacore::String &outname, casacore::Bool overwrite)
 expression is the lattice expression to compute More...
 
 ~ImageExprCalculator ()
 
void setCopyMetaDataFromImage (const casacore::String &name)
 the image from which to copy metadata, including the coordinate system, imageInfo() and miscInfo() More...
 
casacore::String getClass () const
 
SPIIT compute () const
 Compute the expression and return the image. More...
 

Static Public Member Functions

static void compute2 (SPIIT image, const casacore::String &expr, casacore::Bool verbose)
 modify image in place More...
 

Private Member Functions

SPIIT _imagecalc (const casacore::LatticeExprNode &node, const casacore::IPosition &shape, const casacore::CoordinateSystem &csys, const casacore::LELImageCoord *const imCoord) const
 
void _checkImages () const
 

Static Private Member Functions

static void _makeRegionBlock (casacore::PtrBlock< const casacore::ImageRegion * > &regions, const casacore::Record &Regions)
 
static void _calc (SPIIT image, const casacore::LatticeExprNode &node)
 

Private Attributes

casacore::String _expr
 
casacore::String _copyMetaDataFromImage
 
casacore::String _outname
 
casacore::Bool _overwrite
 
casacore::LogIO _log
 

Detailed Description

template<class T>
class casa::ImageExprCalculator< T >

Definition at line 14 of file ImageExprCalculator.h.

Constructor & Destructor Documentation

template<class T >
casa::ImageExprCalculator< T >::ImageExprCalculator ( )
delete

Top level interface for computing the results of an image expression.

Etymology

Synopsis

template<class T >
casa::ImageExprCalculator< T >::ImageExprCalculator ( const casacore::String expression,
const casacore::String outname,
casacore::Bool  overwrite 
)

expression is the lattice expression to compute

template<class T >
casa::ImageExprCalculator< T >::~ImageExprCalculator ( )
inline

Definition at line 40 of file ImageExprCalculator.h.

Member Function Documentation

template<class T >
static void casa::ImageExprCalculator< T >::_calc ( SPIIT  image,
const casacore::LatticeExprNode node 
)
staticprivate
template<class T >
void casa::ImageExprCalculator< T >::_checkImages ( ) const
private
template<class T >
SPIIT casa::ImageExprCalculator< T >::_imagecalc ( const casacore::LatticeExprNode node,
const casacore::IPosition shape,
const casacore::CoordinateSystem csys,
const casacore::LELImageCoord *const  imCoord 
) const
private
template<class T >
static void casa::ImageExprCalculator< T >::_makeRegionBlock ( casacore::PtrBlock< const casacore::ImageRegion * > &  regions,
const casacore::Record Regions 
)
staticprivate
template<class T >
SPIIT casa::ImageExprCalculator< T >::compute ( ) const

Compute the expression and return the image.

template<class T >
static void casa::ImageExprCalculator< T >::compute2 ( SPIIT  image,
const casacore::String expr,
casacore::Bool  verbose 
)
static

modify image in place

template<class T >
casacore::String casa::ImageExprCalculator< T >::getClass ( ) const
inline

Definition at line 46 of file ImageExprCalculator.h.

template<class T >
void casa::ImageExprCalculator< T >::setCopyMetaDataFromImage ( const casacore::String name)
inline

the image from which to copy metadata, including the coordinate system, imageInfo() and miscInfo()

Definition at line 44 of file ImageExprCalculator.h.

References casa::ImageExprCalculator< T >::_copyMetaDataFromImage, and casa::name().

Member Data Documentation

template<class T >
casacore::String casa::ImageExprCalculator< T >::_copyMetaDataFromImage
private
template<class T >
casacore::String casa::ImageExprCalculator< T >::_expr
private

Definition at line 56 of file ImageExprCalculator.h.

template<class T >
casacore::LogIO casa::ImageExprCalculator< T >::_log
mutableprivate

Definition at line 58 of file ImageExprCalculator.h.

template<class T >
casacore::String casa::ImageExprCalculator< T >::_outname
private

Definition at line 56 of file ImageExprCalculator.h.

template<class T >
casacore::Bool casa::ImageExprCalculator< T >::_overwrite
private

Definition at line 57 of file ImageExprCalculator.h.


The documentation for this class was generated from the following file: