woo.WeightedAverage2d

Smoothing (2d gauss-weighted average) for postprocessing scalars in 2d.

class woo.WeightedAverage2d.GaussAverage((object)arg1, (tuple)min, (tuple)max, (tuple)nCells, (float)stDev[, (float)relThreshold]) → None :

Create empty container for data, which can be added using add and later retrieved using avg.

C++ signature :
void __init__(_object*,boost::python::tuple,boost::python::tuple,boost::python::tuple,double [,double])
aabb
add((GaussAverage)arg1, (float)arg2, (tuple)arg3) → bool :
C++ signature :
bool add(pyGaussAverage {lvalue},double,boost::python::tuple)
avg((GaussAverage)arg1, (Vector2)arg2) → float :
C++ signature :
double avg(pyGaussAverage {lvalue},Eigen::Matrix<double, 2, 1, 0, 2, 1>)
avgPerUnitArea((GaussAverage)arg1, (Vector2)arg2) → float :
C++ signature :
double avgPerUnitArea(pyGaussAverage {lvalue},Eigen::Matrix<double, 2, 1, 0, 2, 1>)
cellArea
cellAvg((GaussAverage)arg1, (Vector2i)arg2) → float :
C++ signature :
double cellAvg(pyGaussAverage {lvalue},Eigen::Matrix<int, 2, 1, 0, 2, 1>)
cellDim
cellNum((GaussAverage)arg1, (Vector2i)arg2) → int :
C++ signature :
int cellNum(pyGaussAverage {lvalue},Eigen::Matrix<int, 2, 1, 0, 2, 1>)
cellSum((GaussAverage)arg1, (Vector2i)arg2) → float :
C++ signature :
double cellSum(pyGaussAverage {lvalue},Eigen::Matrix<int, 2, 1, 0, 2, 1>)
clips
data
nCells
relThreshold
stDev

Tip

Got questions? Ask at ask.woodem.org. Report issues to github.