isce3 0.25.0
|
Statistics struct. More...
#include <Stats.h>
Public Types | |
using | type = std::complex<T> |
Expected element type of input data. | |
Public Member Functions | |
void | update (const StatsRealImag< T > &other) |
Update statistics with independent data using Chan's method. | |
void | update (const std::complex< T > &value) |
Accumulate a data point using Welford's online algorithm. | |
void | update (const std::complex< T > *values, size_t size, size_t stride=1) |
Calculate stats of a new block of data using Welford's algorithm and update current estimate with Chan's method. | |
StatsRealImag (const std::complex< T > *values, size_t size, size_t stride=1) | |
Initialize from block of data. | |
Public Attributes | |
Stats< T > | real |
Stats< T > | imag |
long long | n_valid = 0 |
Statistics struct.
Statistics are computed independently for real and imaginary parts.