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 (Hz).

Returns:

Amplitude gain, the shape of frequency.

Return type:

numpy.ndarray

Examples

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