26#ifndef LATTICES_LATTICEUTILITIES_H
27#define LATTICES_LATTICEUTILITIES_H
29#include <casacore/casa/aips.h>
30#include <casacore/casa/Arrays/ArrayFwd.h>
100#ifndef CASACORE_NO_AUTO_TEMPLATES
101#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...
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.