#include <ImageInputProcessor.h>
|
| ImageInputProcessor () |
| Collection of methods for processing inputs to image analysis applications. More...
|
|
| ~ImageInputProcessor () |
| Destructor. More...
|
|
template<class T > |
void | process (casacore::Record ®ionRecord, casacore::String &diagnostics, std::vector< OutputDestinationChecker::OutputStruct > *const outputStruct, casacore::String &stokes, SPCIIT image, const casacore::Record *regionPtr, const casacore::String ®ionName, const casacore::String &box, const casacore::String &chans, const CasacRegionManager::StokesControl &stokesControl, const casacore::Bool &allowMultipleBoxes, const std::vector< casacore::Coordinate::Type > *const &requiredCoordinateTypes, casacore::Bool verbose=true) |
| Process the inputs. More...
|
|
casacore::uInt | nSelectedChannels () const |
| Get the number of channels that have been selected. More...
|
|
|
template<class T > |
void | _process (casacore::Record ®ionRecord, casacore::String &diagnostics, std::vector< OutputDestinationChecker::OutputStruct > *outputStruct, casacore::String &stokes, SPCIIT image, const casacore::Record *const ®ionPtr, const casacore::String ®ionName, const casacore::String &box, const casacore::String &chans, const CasacRegionManager::StokesControl &stokesControl, const casacore::Bool &allowMultipleBoxes, const std::vector< casacore::Coordinate::Type > *const &requiredCoordinateTypes, casacore::Bool verbose) |
|
void | _setRegion (casacore::Record ®ionRecord, casacore::String &diagnostics, const casacore::Record *const regionPtr) const |
| set region given a pointer to a region record. More...
|
|
template<class T > |
void | _setRegion (casacore::Record ®ionRecord, casacore::String &diagnostics, const casacore::ImageInterface< T > *const image, const casacore::String ®ionName) const |
|
casacore::String | _stokesFromRecord (const casacore::Record ®ion, const casacore::CoordinateSystem &csys) const |
|
casacore::String | _pairsToString (const std::vector< casacore::uInt > &pairs) const |
|
Definition at line 39 of file ImageInputProcessor.h.
casa::ImageInputProcessor::ImageInputProcessor |
( |
| ) |
|
Collection of methods for processing inputs to image analysis applications.
Etymology
Processes inputs to image analysis apps.
Synopsis
Collection of methods for processing inputs to image analysis applicationsconstructor
casa::ImageInputProcessor::~ImageInputProcessor |
( |
| ) |
|
template<class T >
void casa::ImageInputProcessor::_process |
( |
casacore::Record & |
regionRecord, |
|
|
casacore::String & |
diagnostics, |
|
|
std::vector< OutputDestinationChecker::OutputStruct > * |
outputStruct, |
|
|
casacore::String & |
stokes, |
|
|
SPCIIT |
image, |
|
|
const casacore::Record *const & |
regionPtr, |
|
|
const casacore::String & |
regionName, |
|
|
const casacore::String & |
box, |
|
|
const casacore::String & |
chans, |
|
|
const CasacRegionManager::StokesControl & |
stokesControl, |
|
|
const casacore::Bool & |
allowMultipleBoxes, |
|
|
const std::vector< casacore::Coordinate::Type > *const & |
requiredCoordinateTypes, |
|
|
casacore::Bool |
verbose |
|
) |
| |
|
private |
set region given a pointer to a region record.
Get the number of channels that have been selected.
The process() method must be called prior to calling this method or an exception is thrown.
template<class T >
void casa::ImageInputProcessor::process |
( |
casacore::Record & |
regionRecord, |
|
|
casacore::String & |
diagnostics, |
|
|
std::vector< OutputDestinationChecker::OutputStruct > *const |
outputStruct, |
|
|
casacore::String & |
stokes, |
|
|
SPCIIT |
image, |
|
|
const casacore::Record * |
regionPtr, |
|
|
const casacore::String & |
regionName, |
|
|
const casacore::String & |
box, |
|
|
const casacore::String & |
chans, |
|
|
const CasacRegionManager::StokesControl & |
stokesControl, |
|
|
const casacore::Bool & |
allowMultipleBoxes, |
|
|
const std::vector< casacore::Coordinate::Type > *const & |
requiredCoordinateTypes, |
|
|
casacore::Bool |
verbose = true |
|
) |
| |
Process the inputs.
Output parameters are the pointer to the opened image
, the specified region as a record ( regionRecord
, and a diagnostics
casacore::String describing how the region was chosen. If provided, regionPtr
should be a pointer to a record created by a casacore::RegionManager method. stokesControl
indicates default stokes range to use if stokes
is blank. In this case stokes
will be set the the value of stokes that will be used. If allowMultipleBoxes
is false, an exception will be thrown if the inputs specify multiple n-dimensional rectangles. This should usually be set to false if the caller can only deal with a single n-dimensional rectangular region. Process the inputs. Use this version if the associated image already exists. Output parameters the specified region as a record ( regionRecord
, and a diagnostics
casacore::String describing how the region was chosen. If provided, regionPtr
should be a pointer to a record created by a casacore::RegionManager method. stokesControl
indicates default stokes range to use if stokes
is blank. In this case stokes
will be set the the value of stokes that will be used. If allowMultipleBoxes
is false, an exception will be thrown if the inputs specify multiple n-dimensional rectangles. This should usually be set to false if the caller can only deal with a single n-dimensional rectangular region.
The documentation for this class was generated from the following file: