28 #ifndef IMAGES_FITSERRORIMAGE_H
29 #define IMAGES_FITSERRORIMAGE_H
A Vector of integers, for indexing into Array<T> objects.
FITSErrorImage & operator=(const FITSErrorImage &other)
Assignment (reference semantics)
Class providing native access to FITS Error images.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
FITSErrorImage::ErrorType errtype_p
virtual FITSErrorImage::ErrorType errorType() const
Return the error type.
void setupMask()
Set the correct masking.
static FITSErrorImage::ErrorType stringToErrorType(String errorTypeStr)
Convert an image type to String.
static String errorTypeToString(FITSErrorImage::ErrorType errType)
Convert a String to an image type.
virtual Bool doGetSlice(Array< Float > &buffer, const Slicer &theSlice)
Do the actual get of the data.
Class to specify which mask to use in an image.
virtual String name(Bool stripPath=False) const
Returns the name of the disk file.
virtual String imageType() const
Get the image type (returns "FITSErrorImage").
bool Bool
Define the standard types used by Casacore.
uInt whichHDU() const
Return the HDU number.
ErrorType
The enum describes which types of error images exist.
virtual ImageInterface< Float > * cloneII() const
Make a copy of the object with new (reference semantics).
Class providing native access to FITS images.
Specify which elements to extract from an n-dimensional array.
virtual void doPutSlice(const Array< Float > &sourceBuffer, const IPosition &where, const IPosition &stride)
The FITSImage is not writable, so this throws an exception.
String: the storage and methods of handling collections of characters.
virtual ~FITSErrorImage()
Destructor.
FITSErrorImage(const String &name, uInt whichRep=0, uInt whichHDU=0, FITSErrorImage::ErrorType errtype=MSE)
Construct a FITSImage from the disk FITS file name and extension and apply mask.