28 #ifndef LATTICES_LATTICEUTILITIES_H
29 #define LATTICES_LATTICEUTILITIES_H
36 template <
class T>
class Lattice;
37 template <
class T>
class MaskedLattice;
106 #ifndef CASACORE_NO_AUTO_TEMPLATES
107 #include <casacore/lattices/Lattices/LatticeUtilities.tcc>
108 #endif //# CASACORE_NO_AUTO_TEMPLATES
static void bin(MaskedArray< T > &out, const MaskedArray< T > &in, uInt axis, uInt bin)
Bin up one axis of MaskedArray (uses Lattices in implementation)
A templated, abstract base class for array-like objects with masks.
ostream-like interface to creating log messages.
static void replicate(Lattice< T > &lat, const Slicer ®ion, const Array< T > &pixels)
Replicate array through lattice in the specified region.
Class for masking an Array for operations on that Array.
A templated, abstract base class for array-like objects.
Static functions for Lattices.
static void addDegenerateAxes(Lattice< T > *&pLatOut, const Lattice< T > &latIn, uInt nDim)
Add degenerate axes to the lattice if needed (nDim is the desired number of dimensions for the output...
bool Bool
Define the standard types used by Casacore.
Specify which elements to extract from an n-dimensional array.
static void copyDataAndMask(LogIO &os, MaskedLattice< T > &out, const MaskedLattice< T > &in, Bool zeroMasked=False)
Copy data and mask from input to output.