casa
5.7.0-16
|
A class in which to store and allow read-only access to image metadata. More...
#include <ImageMetaData.h>
Public Member Functions | |
ImageMetaData ()=delete | |
ImageMetaData (SPCIIT image) | |
~ImageMetaData () | |
casacore::Record | toRecord (casacore::Bool verbose) const |
convert the header info to a casacore::Record and list to logger if verbose=true More... | |
casacore::Record | summary (const casacore::String &doppler, const casacore::Bool list, const casacore::Bool pixelorder, const casacore::Bool verbose) |
For ia.summary() moved from ImageAnalysis. More... | |
Public Member Functions inherited from casa::ImageMetaDataBase< T > | |
ImageMetaDataBase ()=delete | |
virtual | ~ImageMetaDataBase () |
casacore::CoordinateSystem | coordsys (const std::vector< casacore::Int > &axes) const |
casacore::DataType | dataType () const |
casacore::uInt | nChannels () const |
casacore::Bool | isChannelNumberValid (const casacore::uInt chan) const |
Is the specified channel number valid for this image? More... | |
casacore::Int | stokesPixelNumber (const casacore::String &stokesString) const |
Get the pixel number on the polarization axis of the specified stokes parameter. More... | |
casacore::String | stokesAtPixel (const casacore::uInt pixel) const |
get the stokes parameter at the specified pixel value on the polarization axis. More... | |
casacore::uInt | nStokes () const |
Get the number of stokes parameters in this image. More... | |
casacore::Bool | isStokesValid (const casacore::String &stokesString) const |
is the specified stokes parameter present in the image? More... | |
casacore::Vector< casacore::Int > | directionShape () const |
Get the shape of the direction axes. More... | |
casacore::Bool | areChannelAndStokesValid (casacore::String &message, const casacore::uInt chan, const casacore::String &stokesString) const |
if the specified stokes parameter is valid. More... | |
casacore::Record * | getBoundingBox (const casacore::Record ®ion) const |
get the bounding box in the image for the specified region. More... | |
casacore::ValueHolder | getFITSValue (const casacore::String &key) const |
get the value of the datum corresponding to the given casacore::FITS keyword. More... | |
casacore::Record | toWorld (const casacore::Vector< double > &value, const casacore::String &format="n", casacore::Bool doVelocity=true, const casacore::String &dirFrame="cl", const casacore::String &freqFrame="cl") const |
if doVelocity=true, compute spectral velocities as well as frequencies, if false, only compute frequencies. More... | |
Private Attributes | |
SPCIIT | _image |
const casacore::ImageInfo | _info |
const casacore::CoordinateSystem | _csys |
casacore::Record | _header |
These are mutable because they are only to be set once and then cached. More... | |
casacore::String | _bunit |
casacore::String | _imtype |
casacore::String | _object |
casacore::String | _equinox |
casacore::String | _projection |
casacore::String | _observer |
casacore::String | _telescope |
casacore::String | _reffreqtype |
casacore::MEpoch | _obsdate |
casacore::Quantity | _restFreq |
casacore::GaussianBeam | _beam |
casacore::Vector < casacore::String > | _masks |
casacore::Vector < casacore::String > | _stokes |
casacore::Vector < casacore::String > | _axisNames |
casacore::Vector < casacore::String > | _axisUnits |
casacore::Vector < casacore::Double > | _refPixel |
std::vector< casacore::Quantity > | _refVal |
std::vector< casacore::Quantity > | _increment |
casacore::Record | _stats |
A class in which to store and allow read-only access to image metadata.
Public interface
The ImageMetaData class name is derived from its role as holding image metadata.
The ImageMetaData object is meant to allow access to image metadata (eg, shape, coordinate system info such as spectral and polarization axes numbers, etc).
Construct an object of this class by passing the associated image to the constructor.
This class is meant to provide an object-oriented interface for accessing image metadata without polluting the casacore::ImageInterface and CoordinateSystem classes with these methods.
Definition at line 79 of file ImageMetaData.h.
|
delete |
casa::ImageMetaData< T >::ImageMetaData | ( | SPCIIT | image | ) |
|
inline |
Definition at line 87 of file ImageMetaData.h.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
inlineprotectedvirtual |
Implements casa::ImageMetaDataBase< T >.
Definition at line 101 of file ImageMetaData.h.
References casa::ImageMetaData< T >::_csys.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
inlineprotectedvirtual |
Implements casa::ImageMetaDataBase< T >.
Definition at line 99 of file ImageMetaData.h.
References casa::ImageMetaData< T >::_info.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Reimplemented from casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
|
protectedvirtual |
Implements casa::ImageMetaDataBase< T >.
casacore::Record casa::ImageMetaData< T >::summary | ( | const casacore::String & | doppler, |
const casacore::Bool | list, | ||
const casacore::Bool | pixelorder, | ||
const casacore::Bool | verbose | ||
) |
For ia.summary() moved from ImageAnalysis.
|
virtual |
convert the header info to a casacore::Record and list to logger if verbose=true
Implements casa::ImageMetaDataBase< T >.
|
mutableprivate |
Definition at line 157 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 157 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 155 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 151 of file ImageMetaData.h.
|
private |
Definition at line 145 of file ImageMetaData.h.
Referenced by casa::ImageMetaData< T >::_getCoords().
|
mutableprivate |
Definition at line 151 of file ImageMetaData.h.
|
mutableprivate |
These are mutable because they are only to be set once and then cached.
If this contract is broken, and they are set elsewhere defects will likely occur.
Definition at line 150 of file ImageMetaData.h.
|
private |
Definition at line 142 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 151 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 159 of file ImageMetaData.h.
|
private |
Definition at line 144 of file ImageMetaData.h.
Referenced by casa::ImageMetaData< T >::_getInfo().
|
mutableprivate |
Definition at line 156 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 151 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 153 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 151 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 151 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 151 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 158 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 159 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 154 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 160 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 156 of file ImageMetaData.h.
|
mutableprivate |
Definition at line 151 of file ImageMetaData.h.