26#ifndef SCIMATH_INTERPOLATEARRAY1D_H
27#define SCIMATH_INTERPOLATEARRAY1D_H
29#include <casacore/casa/aips.h>
30#include <casacore/casa/Arrays/ArrayFwd.h>
130template <
class Domain,
class Range>
240#ifndef CASACORE_NO_AUTO_TEMPLATES
241#include <casacore/scimath/Mathematics/InterpolateArray1D.tcc>
InterpolationMethod
Interpolation methods.
@ nearestNeighbour
nearest neighbour
static void interpolatey(Cube< Range > &yout, Cube< Bool > &youtFlags, const Vector< Domain > &xout, const Vector< Domain > &xin, const Cube< Range > &yin, const Cube< Bool > &yinFlags, Int method, Bool goodIsTrue=False, Bool extrapolate=False)
Interpolate in the middle dimension of 3D array yin whose x coordinates along this dimension are give...
static void interpolatePtr(Block< Range * > &yout, Int ny, const Vector< Domain > &xout, const Vector< Domain > &xin, const Block< const Range * > &yin, Int method)
Interpolate the y-vectors of length ny from x values xin to xout.
static void polynomialInterpolation(Block< Range * > &yout, Int ny, const Vector< Domain > &xout, const Vector< Domain > &xin, const Block< const Range * > &yin, Int order)
Interpolate the y-vectors of length ny from x values xin to xout using polynomial interpolation with ...
static void interpolatey(Cube< Range > &yout, const Vector< Domain > &xout, const Vector< Domain > &xin, const Cube< Range > &yin, Int method)
Interpolate in the middle axis in 3D array (yin) whose x coordinates along the this dimension are giv...
static void interpolateyPtr(Block< Range * > &yout, Block< Bool * > &youtFlags, Int na, Int nb, Int nc, const Vector< Domain > &xout, const Vector< Domain > &xin, const Block< const Range * > &yin, const Block< const Bool * > &yinFlags, Int method, Bool goodIsTrue, Bool extrapolate)
Take flagging into account.
static void interpolate(Array< Range > &yout, const Vector< Domain > &xout, const Vector< Domain > &xin, const Array< Range > &yin, Int method)
Interpolate in the last dimension of array yin whose x coordinates along this dimension are given by ...
static void interpolateyPtr(Block< Range * > &yout, Int na, Int nb, Int nc, const Vector< Domain > &xout, const Vector< Domain > &xin, const Block< const Range * > &yin, Int method)
Interpolate along yaxis.
static void interpolatePtr(Block< Range * > &yout, Block< Bool * > &youtFlags, Int ny, const Vector< Domain > &xout, const Vector< Domain > &xin, const Block< const Range * > &yin, const Block< const Bool * > &yinFlags, Int method, Bool goodIsTrue, Bool extrapolate)
Interpolate the y-vectors of length ny from x values xin to xout.
static void interpolate(Array< Range > &yout, const Block< Domain > &xout, const Block< Domain > &xin, const Array< Range > &yin, Int method)
deprecated version of previous function using Blocks - no longer needed now that Vector has a fast in...
static void interpolate(Array< Range > &yout, Array< Bool > &youtFlags, const Vector< Domain > &xout, const Vector< Domain > &xin, const Array< Range > &yin, const Array< Bool > &yinFlags, Int method, Bool goodIsTrue=False, Bool extrapolate=False)
Interpolate in the last dimension of array yin whose x coordinates along this dimension are given by ...
static void interpolate(Array< Range > &yout, Array< Bool > &youtFlags, const Block< Domain > &xout, const Block< Domain > &xin, const Array< Range > &yin, const Array< Bool > &yinFlags, Int method, Bool goodIsTrue=False, Bool extrapolate=False)
deprecated version of previous function using Blocks - no longer needed now that Vector has a fast in...
For temporary backward namespace compatibility, use casa as alias for casacore.
uInt order() const
What is the order of the polynomial, i.e.
bool Bool
Define the standard types used by Casacore.