Class providing native access to FITS Error images. More...
#include <FITSErrorImage.h>
Public Types | |
enum | ErrorType { MSE, RMSE, INVMSE, INVRMSE, UNKNOWN, DEFAULT } |
The enum describes which types of error images exist. More... | |
Public Member Functions | |
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. | |
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. | |
FITSErrorImage (const FITSErrorImage &other) | |
Copy constructor (reference semantics). | |
virtual | ~FITSErrorImage () |
Destructor. | |
FITSErrorImage & | operator= (const FITSErrorImage &other) |
Assignment (reference semantics). | |
virtual ImageInterface< Float > * | cloneII () const |
Make a copy of the object with new (reference semantics). | |
virtual String | imageType () const |
Get the image type (returns "FITSErrorImage"). | |
virtual Bool | doGetSlice (Array< Float > &buffer, const Slicer &theSlice) |
Do the actual get of the data. | |
virtual void | doPutSlice (const Array< Float > &sourceBuffer, const IPosition &where, const IPosition &stride) |
The FITSImage is not writable, so this throws an exception. | |
virtual FITSErrorImage::ErrorType | errorType () const |
Return the error type. | |
Static Public Member Functions | |
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. | |
Private Member Functions | |
void | setupMask () |
Set the correct masking. | |
Private Attributes | |
Array< Float > | buffer_p |
FITSErrorImage::ErrorType | errtype_p |
Class providing native access to FITS Error images.
Public interface
This provides native access to FITS error images.
Definition at line 79 of file FITSErrorImage.h.
The enum describes which types of error images exist.
The type is fixed during object creation and can not be changed at a later time.
Definition at line 85 of file FITSErrorImage.h.
casacore::FITSErrorImage::FITSErrorImage | ( | const String & | name, | |
uInt | whichRep = 0 , |
|||
uInt | whichHDU = 0 , |
|||
FITSErrorImage::ErrorType | errtype = MSE | |||
) | [explicit] |
casacore::FITSErrorImage::FITSErrorImage | ( | const String & | name, | |
const MaskSpecifier & | mask, | |||
uInt | whichRep = 0 , |
|||
uInt | whichHDU = 0 , |
|||
FITSErrorImage::ErrorType | errtype = MSE | |||
) |
casacore::FITSErrorImage::FITSErrorImage | ( | const FITSErrorImage & | other | ) |
Copy constructor (reference semantics).
virtual casacore::FITSErrorImage::~FITSErrorImage | ( | ) | [virtual] |
Destructor.
virtual ImageInterface<Float>* casacore::FITSErrorImage::cloneII | ( | ) | const [virtual] |
Make a copy of the object with new (reference semantics).
Reimplemented from casacore::FITSImage.
virtual Bool casacore::FITSErrorImage::doGetSlice | ( | Array< Float > & | buffer, | |
const Slicer & | theSlice | |||
) | [virtual] |
Do the actual get of the data.
Returns False as the data do not reference another Array
Reimplemented from casacore::FITSImage.
virtual void casacore::FITSErrorImage::doPutSlice | ( | const Array< Float > & | sourceBuffer, | |
const IPosition & | where, | |||
const IPosition & | stride | |||
) | [virtual] |
The FITSImage is not writable, so this throws an exception.
Reimplemented from casacore::FITSImage.
virtual FITSErrorImage::ErrorType casacore::FITSErrorImage::errorType | ( | ) | const [inline, virtual] |
static String casacore::FITSErrorImage::errorTypeToString | ( | FITSErrorImage::ErrorType | errType | ) | [static] |
Convert a String to an image type.
virtual String casacore::FITSErrorImage::imageType | ( | ) | const [virtual] |
Get the image type (returns "FITSErrorImage").
Reimplemented from casacore::FITSImage.
FITSErrorImage& casacore::FITSErrorImage::operator= | ( | const FITSErrorImage & | other | ) |
Assignment (reference semantics).
Reimplemented from casacore::FITSImage.
void casacore::FITSErrorImage::setupMask | ( | ) | [private] |
Set the correct masking.
static FITSErrorImage::ErrorType casacore::FITSErrorImage::stringToErrorType | ( | String | errorTypeStr | ) | [static] |
Convert an image type to String.
Array<Float> casacore::FITSErrorImage::buffer_p [private] |
Definition at line 140 of file FITSErrorImage.h.
Definition at line 141 of file FITSErrorImage.h.
Referenced by errorType().