Go to the documentation of this file.
28 #ifndef LATTICES_LATTICEUTILITIES_H
29 #define LATTICES_LATTICEUTILITIES_H
31 #include <casacore/casa/aips.h>
35 template <
class T>
class Array;
36 template <
class T>
class Lattice;
37 template <
class T>
class MaskedLattice;
38 template <
class T>
class MaskedArray;
107 #ifndef CASACORE_NO_AUTO_TEMPLATES
108 #include <casacore/lattices/Lattices/LatticeUtilities.tcc>
109 #endif //# CASACORE_NO_AUTO_TEMPLATES
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 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...
static void replicate(Lattice< T > &lat, const Slicer ®ion, const Array< T > &pixels)
Replicate array through lattice in the specified region.
this file contains all the compiler specific defines
template <class T, class U> class vector;
bool Bool
Define the standard types used by Casacore.