casa
5.7.0-16
|
Smooth a Vector or the rows of a 2D Array taking into account flags which are supplied in a Vector/Array of the same shape. Modify the flags as necessary to mark channels for which the smoothing could not be done because needed channels were flagged. More...
#include <Smooth.h>
Static Public Member Functions | |
static void | hanning (Vector< T > &out, Vector< Bool > &outmask, Vector< T > &in, Vector< Bool > &mask, Bool TrueIsGood, Bool relaxed=True) |
Hanning smoothing. More... | |
static void | hanning (Array< T > &out, Array< Bool > &outmask, Array< T > &in, Array< Bool > &mask, Bool TrueIsGood, Bool relaxed=True) |
as above but calling hanningSmooth for each row of the 2D array More... | |
Private Member Functions | |
Smooth () | |
Smooth a Vector or the rows of a 2D Array taking into account flags which are supplied in a Vector/Array of the same shape. Modify the flags as necessary to mark channels for which the smoothing could not be done because needed channels were flagged.
Public interface
self-explanatory
Perform smoothing on Vectors or Arrays
This is used, e.g., for visibilities in spectral channel vectors.
|
inlineprivate |
|
static |
Hanning smoothing.
|
static |
as above but calling hanningSmooth for each row of the 2D array