26#ifndef LATTICES_FITSQUALMASK_H
27#define LATTICES_FITSQUALMASK_H
30#include <casacore/casa/aips.h>
31#include <casacore/casa/Arrays/Array.h>
32#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 & operator=(const FITSQualityMask &other)
The assignment operator with reference semantics.
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 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
virtual Lattice< Bool > * clone() const
Make a copy of the object (reference semantics).
IPosition shape() const
Return the shape of the Lattice including all degenerate axes (ie.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.