29 #ifndef LATTICES_FITSMASK_H
30 #define LATTICES_FITSMASK_H
40 class TiledFileAccess;
A Vector of integers, for indexing into Array<T> objects.
FITSMask(TiledFileAccess *tiledFileAccess)
Constructor (for 32 bit floating point).
IPosition shape() const
Return the shape of the Lattice including all degenerate axes (ie.
A templated, abstract base class for array-like objects.
virtual void doPutSlice(const Array< Bool > &sourceBuffer, const IPosition &where, const IPosition &stride)
Do the actual getting of an array of values.
virtual void setFilterZero(Bool filterZero)
Set the switch for also filtering 0.0 (besides NaNs).
void filterNaN(Bool *pMask, const float *pData, uInt nelems)
Mask out ONLY NaN's.
void filterZeroNaN(Bool *pMask, const Float *pData, uInt nelems)
Mask out NaN's and values 0.0.
Provides an on-the-fly mask for FITS images.
virtual Lattice< Bool > * clone() const
Make a copy of the object (reference semantics).
bool Bool
Define the standard types used by Casacore.
virtual Bool doGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
Specify which elements to extract from an n-dimensional array.
virtual ~FITSMask()
Destructor.
TiledFileAccess * itsTiledFilePtr
virtual Bool isWritable() const
Is the FITSMask writable? Returns False.
FITSMask & operator=(const FITSMask &other)
The assignment operator with reference semantics.
Tiled access to an array in a file.