29 #ifndef LATTICES_FITSQUALMASK_H
30 #define LATTICES_FITSQUALMASK_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Array.h>
35 #include <casacore/lattices/Lattices/Lattice.h>
Bool filterNaN(bool *pMask, const float *pData, const uInt nelems)
Mask out ONLY NaN's.
virtual void doPutSlice(const Array< Bool > &sourceBuffer, const IPosition &where, const IPosition &stride)
Do the actual getting of an array of values.
virtual ~FITSQualityMask()
Destructor.
virtual void setFilterZero(Bool filterZero)
Set the switch for filtering 0.0.
FITSQualityMask(FITSImage *fitsData, FITSErrorImage *fitsError)
The pointers are not cloned, just copied.
virtual Bool doGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
virtual Lattice< Bool > * clone() const
Make a copy of the object (reference semantics).
virtual Bool isWritable() const
Is the FITSMask writable? Returns False.
Bool filterZeroNaN(Bool *pMask, const Float *pData, const uInt nelems)
Mask out NaN's and values 0.0.
FITSQualityMask(const FITSQualityMask &other)
Copy constructor (reference semantics).
FITSErrorImage * itsFitsError
IPosition shape() const
Return the shape of the Lattice including all degenerate axes (ie.
FITSQualityMask & operator=(const FITSQualityMask &other)
The assignment operator with reference semantics.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.