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>
41 #include <casacore/casa/Arrays/ArrayFwd.h>
46 template <
class T>
class ImageInterface;
227 #ifndef CASACORE_NO_AUTO_TEMPLATES
228 #include <casacore/images/Images/ImageSummary.tcc>
String telescope() const
Return telescope.
String imageType() const
Retrieve image type.
~ImageSummary()
Destructor.
String obsDate(MEpoch &date) const
Return epoch of observation as MEpoch or formatted string.
Vector< Double > referencePixels(Bool oneRel=True) const
Retrieve reference pixels (0 or 1 rel)
Bool hasAMask() const
Retrieve whether image has mask or not.
Vector< String > regionNames() const
Retrieve region names.
IPosition shape() const
Retrieve image shape.
Int ndim() const
Retrieve number of image dimension.
String defaultMaskName() const
Retrieve default mask name.
ImageSummary(const ImageSummary< T > &other)
Copy constructor.
String observer() const
Retrieve observer name.
String makeMasksString() const
Vector< Double > axisIncrements(Bool pixelOrder=True) const
Retrieve axis increments in pixel or world axis order.
String name() const
Retrieve image name.
Vector< String > maskNames() const
Retrieve mask names.
Vector< String > axisUnits(Bool pixelOrder=True) const
Retrieve axis units in pixel or world axis order.
Bool directionSystem(String &dirTypeString, MDirection::Types &dirType) const
Return direction system.
Vector< Double > referenceValues(Bool pixelOrder=True) const
Retrieve reference values in pixel or world axis order.
String makeRegionsString() const
const ImageInterface< T > * pImage_p
IPosition tileShape() const
Retrieve tile shape with which image is stored on disk.
Bool setNewImage(const ImageInterface< T > &image)
Set a new image.
Bool restFrequency(String &restFreqString, Quantum< Double > &restFreq) const
Return rest frequency.
Bool frequencySystem(String &freqTypeString, MFrequency::Types &freqType) const
Return frequency system.
Vector< String > list(LogIO &os, const MDoppler::Types velocityType=MDoppler::RADIO, Bool postLocally=False, const Bool verbose=False)
List all header information.
ImageSummary< T > & operator=(const ImageSummary< T > &other)
Assignment operator.
Vector< String > axisNames(Bool pixelOrder=True) const
Retrieve axis names in pixel or world axis order.
ImageSummary(const ImageInterface< T > &)
Constructor.
Unit units() const
Retrieve image units.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
Types
Types of known MDopplers Warning: The order defines the order in the translation matrix FromTo in th...
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode date(const TableExprNode &node)
bool Bool
Define the standard types used by Casacore.