29 #ifndef LATTICES_FITSMASK_H
30 #define LATTICES_FITSMASK_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Array.h>
35 #include <casacore/lattices/Lattices/Lattice.h>
40 class TiledFileAccess;
virtual void doPutSlice(const Array< Bool > &sourceBuffer, const IPosition &where, const IPosition &stride)
Do the actual getting of an array of values.
TiledFileAccess * itsTiledFilePtr
IPosition shape() const
Return the shape of the Lattice including all degenerate axes (ie.
FITSMask & operator=(const FITSMask &other)
The assignment operator with reference semantics.
FITSMask(TiledFileAccess *tiledFileAccess)
Constructor (for 32 bit floating point).
void filterZeroNaN(Bool *pMask, const Float *pData, uInt nelems)
Mask out NaN's and values 0.0.
virtual Lattice< Bool > * clone() const
Make a copy of the object (reference semantics).
virtual ~FITSMask()
Destructor
FITSMask(TiledFileAccess *tiledFileAccess, Float scale, Float offset, Short magic, Bool hasBlanks)
Constructor (for 16 bit integers).
void filterNaN(Bool *pMask, const float *pData, uInt nelems)
Mask out ONLY NaN's.
virtual void setFilterZero(Bool filterZero)
Set the switch for also filtering 0.0 (besides NaNs).
virtual Bool doGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
FITSMask(TiledFileAccess *tiledFileAccess, Float scale, Float offset, uChar magic, Bool hasBlanks)
Constructor (for 8 bit integers).
FITSMask(const FITSMask &other)
Copy constructor (reference semantics).
virtual Bool isWritable() const
Is the FITSMask writable? Returns False.
FITSMask(TiledFileAccess *tiledFileAccess, Float scale, Float offset, Int magic, Bool hasBlanks)
Constructor (for 32 bit integers).
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.