casacore
|
Global functions on Lattices. More...
#include <LatticeMathUtil.h>
Public Member Functions | |
template<class T > | |
void | minMax (T &min, T &max, IPosition &posMin, IPosition &posMax, const Lattice< T > &lat) |
This global function finds the max of a Lattice, and also the IPositions of the max. More... | |
Global functions on Lattices.
Public interface
Global functions using Lattices
Copy the lattice-type data between two Images.//
Algorithms like CLEAN need to know the position of the MIN and MAX of an image, but easy things like LEL's min and max don't tell you the location of the min and max. It seems there may be other global functions involving lattices.
Definition at line 137 of file LatticeMathUtil.h.
void casacore::LatticeMathUtil_global_functions_LatticeMathUtil::minMax | ( | T & | min, |
T & | max, | ||
IPosition & | posMin, | ||
IPosition & | posMax, | ||
const Lattice< T > & | lat | ||
) |
This global function finds the max of a Lattice, and also the IPositions of the max.
(LEL does not get you the IPositions of the min and max)