28 #ifndef IMAGES_FITSERRORIMAGE_H
29 #define IMAGES_FITSERRORIMAGE_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/images/Images/FITSImage.h>
35 #include <casacore/casa/Arrays/ArrayFwd.h>
36 #include <casacore/casa/BasicSL/String.h>
FITSErrorImage(const String &name, const MaskSpecifier &mask, uInt whichRep=0, uInt whichHDU=0, FITSErrorImage::ErrorType errtype=MSE)
Construct a FITSImage from the disk FITS file name and extension and apply mask or not.
virtual String imageType() const
Get the image type (returns "FITSErrorImage").
virtual ~FITSErrorImage()
Destructor.
FITSErrorImage(const FITSErrorImage &other)
Copy constructor (reference semantics)
FITSErrorImage & operator=(const FITSErrorImage &other)
Assignment (reference semantics)
FITSErrorImage::ErrorType errtype_p
virtual FITSErrorImage::ErrorType errorType() const
Return the error type.
static FITSErrorImage::ErrorType stringToErrorType(String errorTypeStr)
Convert an image type to String.
virtual ImageInterface< Float > * cloneII() const
Make a copy of the object with new (reference semantics).
void setupMask()
Set the correct masking.
ErrorType
The enum describes which types of error images exist.
static String errorTypeToString(FITSErrorImage::ErrorType errType)
Convert a String to an image type.
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.
virtual void doPutSlice(const Array< Float > &sourceBuffer, const IPosition &where, const IPosition &stride)
The FITSImage is not writable, so this throws an exception.
virtual Bool doGetSlice(Array< Float > &buffer, const Slicer &theSlice)
Do the actual get of the data.
uInt whichHDU() const
Return the HDU number.
virtual String name(Bool stripPath=False) const
Returns the name of the disk file.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
bool Bool
Define the standard types used by Casacore.