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 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.
template <class T, class U> class vector;
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.
this file contains all the compiler specific defines