28 #ifndef SCIMATH_VECTORKERNEL_H
29 #define SCIMATH_VECTORKERNEL_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Vector.h>
String: the storage and methods of handling collections of characters.
@ HANNING
Hanning smoothing kernel.
@ GAUSSIAN
Gaussian smoothing kernel.
@ BOXCAR
Box-car smoothing kernel.
static Vector< Int > toKernelTypes(const Vector< String > &kernels)
static Vector< Double > make(KernelTypes kernelType, Double width, uInt shape, Bool useShapeExactly, Bool peakIsUnity=False)
Create kernel vector for width in pixels.
static VectorKernel::KernelTypes toKernelType(const String &kernel)
static Vector< Int > toKernelTypes(const String &kernels, const std::regex &delimiter)
Helper function to convert a string containing a list of desired smoothed kernel types to the correct...
static String fromKernelType(KernelTypes kernelType)
static Vector< Float > make(KernelTypes kernelType, Float width, uInt shape, Bool useShapeExactly, Bool peakIsUnity=False)
this file contains all the compiler specific defines
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
bool Bool
Define the standard types used by Casacore.