Go to the documentation of this file.
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/BasicSL/String.h>
40 template <
class T>
class Array;
Specify which elements to extract from an n-dimensional array.
A Vector of integers, for indexing into Array<T> objects.
virtual FITSErrorImage::ErrorType errorType() const
Return the error type.
virtual ~FITSErrorImage()
Destructor.
uInt whichHDU() const
Return the HDU number.
ErrorType
The enum describes which types of error images exist.
virtual String name(Bool stripPath=False) const
Returns the name of the disk file.
FITSErrorImage & operator=(const FITSErrorImage &other)
Assignment (reference semantics)
Class providing native access to FITS Error images.
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.
Class to specify which mask to use in an image.
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).
this file contains all the compiler specific defines
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 providing native access to FITS images.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
FITSErrorImage::ErrorType errtype_p
virtual String imageType() const
Get the image type (returns "FITSErrorImage").
void setupMask()
Set the correct masking.
virtual void doPutSlice(const Array< Float > &sourceBuffer, const IPosition &where, const IPosition &stride)
The FITSImage is not writable, so this throws an exception.