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;
A Vector of integers, for indexing into Array<T> objects.
FITSMask(TiledFileAccess *tiledFileAccess)
Constructor (for 32 bit floating point).
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.
virtual Lattice< Bool > * clone() const
Make a copy of the object (reference semantics).
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.
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.
IPosition shape() const
Return the shape of the Lattice including all degenerate axes (ie.
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.
this file contains all the compiler specific defines
FITSMask & operator=(const FITSMask &other)
The assignment operator with reference semantics.
Tiled access to an array in a file.