a_weighting

Contents

a_weighting#

pypulseqpp.safety.a_weighting()[source]#

Return the IEC 61672 A-weighting gain at frequency Hz, 1 at 1 kHz.

Parameters:

frequency (array_like) – Frequencies in Hz.

Returns:

The amplitude gain, the shape of frequency.

Return type:

NDArray[np.float64]

Examples

>>> from pypulseqpp.safety import a_weighting
>>> round(float(a_weighting(1000.0)), 3)
1.0