29 #ifndef IMAGES_IMAGESUMMARY_H 30 #define IMAGES_IMAGESUMMARY_H 34 #include <casacore/casa/aips.h> 35 #include <casacore/measures/Measures/MFrequency.h> 36 #include <casacore/measures/Measures/MDirection.h> 37 #include <casacore/measures/Measures/MDoppler.h> 38 #include <casacore/coordinates/Coordinates/CoordinateSystem.h> 39 #include <casacore/coordinates/Coordinates/ObsInfo.h> 40 #include <casacore/images/Images/ImageInfo.h> 45 template <
class T>
class ImageInterface;
46 template <
class T>
class Vector;
120 template <
class T>
class ImageSummary
133 ImageSummary<T> &
operator=(
const ImageSummary<T> &other);
139 IPosition
shape ()
const;
227 #ifndef CASACORE_NO_AUTO_TEMPLATES 228 #include <casacore/images/Images/ImageSummary.tcc> 229 #endif //# CASACORE_NO_AUTO_TEMPLATES ImageSummary(const ImageInterface< T > &)
Constructor.
Bool setNewImage(const ImageInterface< T > &image)
Set a new image.
Unit units() const
Retrieve image units.
Vector< String > axisNames(Bool pixelOrder=True) const
Retrieve axis names in pixel or world axis order.
Bool restFrequency(String &restFreqString, Quantum< Double > &restFreq) const
Return rest frequency.
String obsDate(MEpoch &date) const
Return epoch of observation as MEpoch or formatted string.
String observer() const
Retrieve observer name.
Store miscellaneous information related to an observation.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
Vector< Double > referenceValues(Bool pixelOrder=True) const
Retrieve reference values in pixel or world axis order.
IPosition tileShape() const
Retrieve tile shape with which image is stored on disk.
Vector< String > regionNames() const
Retrieve region names.
A base class for astronomical images.
Vector< String > maskNames() const
Retrieve mask names.
Int ndim() const
Retrieve number of image dimension.
const ImageInterface< T > * pImage_p
ImageSummary< T > & operator=(const ImageSummary< T > &other)
Assignment operator.
bool Bool
Define the standard types used by Casacore.
String imageType() const
Retrieve image type.
Vector< String > axisUnits(Bool pixelOrder=True) const
Retrieve axis units in pixel or world axis order.
Types
Types of known MDopplers Warning: The order defines the order in the translation matrix FromTo in th...
~ImageSummary()
Destructor.
Bool hasAMask() const
Retrieve whether image has mask or not.
IPosition shape() const
Retrieve image shape.
String makeMasksString() const
Vector< String > list(LogIO &os, const MDoppler::Types velocityType=MDoppler::RADIO, Bool postLocally=False, const Bool verbose=False)
List all header information.
String makeRegionsString() const
Bool frequencySystem(String &freqTypeString, MFrequency::Types &freqType) const
Return frequency system.
Bool directionSystem(String &dirTypeString, MDirection::Types &dirType) const
Return direction system.
String name() const
Retrieve image name.
String: the storage and methods of handling collections of characters.
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
Vector< Double > axisIncrements(Bool pixelOrder=True) const
Retrieve axis increments in pixel or world axis order.
Vector< Double > referencePixels(Bool oneRel=True) const
Retrieve reference pixels (0 or 1 rel)
String telescope() const
Return telescope.
Miscellaneous information related to an image.
String defaultMaskName() const
Retrieve default mask name.
this file contains all the compiler specific defines
Interconvert pixel and world coordinates.
TableExprNode date(const TableExprNode &node)