28 #ifndef LATTICES_LATTICEUTILITIES_H
29 #define LATTICES_LATTICEUTILITIES_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/Arrays/ArrayFwd.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>
static void copyDataAndMask(LogIO &os, MaskedLattice< T > &out, const MaskedLattice< T > &in, Bool zeroMasked=False)
Copy data and mask from input to output.
static void bin(MaskedArray< T > &out, const MaskedArray< T > &in, uInt axis, uInt bin)
Bin up one axis of MaskedArray (uses Lattices in implementation)
static void replicate(Lattice< T > &lat, const Slicer ®ion, const Array< T > &pixels)
Replicate array through lattice in the specified region.
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...
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.