26#ifndef IMAGES_IMAGESUMMARY_H
27#define IMAGES_IMAGESUMMARY_H
31#include <casacore/casa/aips.h>
32#include <casacore/measures/Measures/MFrequency.h>
33#include <casacore/measures/Measures/MDirection.h>
34#include <casacore/measures/Measures/MDoppler.h>
35#include <casacore/coordinates/Coordinates/CoordinateSystem.h>
36#include <casacore/coordinates/Coordinates/ObsInfo.h>
37#include <casacore/images/Images/ImageInfo.h>
38#include <casacore/casa/Arrays/ArrayFwd.h>
43template <
class T>
class ImageInterface;
224#ifndef CASACORE_NO_AUTO_TEMPLATES
225#include <casacore/images/Images/ImageSummary.tcc>
Vector< String > list(LogIO &os, const MDoppler::Types velocityType=MDoppler::RADIO, Bool postLocally=False, const Bool verbose=False)
List all header information.
String telescope() const
Return telescope.
ImageSummary< T > & operator=(const ImageSummary< T > &other)
Assignment operator.
Vector< String > axisUnits(Bool pixelOrder=True) const
Retrieve axis units in pixel or world axis order.
String imageType() const
Retrieve image type.
~ImageSummary()
Destructor.
String obsDate(MEpoch &date) const
Return epoch of observation as MEpoch or formatted string.
Vector< String > maskNames() const
Retrieve mask names.
Bool hasAMask() const
Retrieve whether image has mask or not.
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
String name() const
Retrieve image name.
Bool directionSystem(String &dirTypeString, MDirection::Types &dirType) const
Return direction system.
Vector< Double > axisIncrements(Bool pixelOrder=True) const
Retrieve axis increments in pixel or world axis order.
Vector< Double > referenceValues(Bool pixelOrder=True) const
Retrieve reference values in pixel or world axis order.
String makeRegionsString() const
Vector< String > regionNames() const
Retrieve region names.
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< Double > referencePixels(Bool oneRel=True) const
Retrieve reference pixels (0 or 1 rel)
ImageSummary(const ImageInterface< T > &)
Constructor.
Unit units() const
Retrieve image units.
Vector< String > axisNames(Bool pixelOrder=True) const
Retrieve axis names in pixel or world axis order.
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.