TimeExpAverage#

class acoular.tprocess.TimeExpAverage

Bases: Filter

Compute an exponentially weighted moving average of the input signal.

This filter implements exponential averaging as defined in IEC 61672-1, which is commonly used for sound level measurements. The time weighting determines how quickly past values decay in significance.

See also

Filter

Base class for implementing IIR filters.

Notes

The Impulse ('I') weighting is not part of IEC 61672-1 but is included for additional flexibility.

weight = Map({'F': 0.125, 'S': 1.0, 'I': 0.035}, default_value='F')

Time weighting constant, determining the exponential decay rate.

  • 'F' (Fast) β†’ 0.125

  • 'S' (Slow) β†’ 1.0

  • 'I' (Impulse) β†’ 0.035 (non-standard)

Default is 'F'.

sos = Property(depends_on=['weight', 'source.digest'])

Filter coefficients in second-order section (SOS) format.

digest = Property(depends_on=['source.digest', 'weight'])

A unique identifier for the filter, based on its properties. (read-only)