Removed accidental use of wrong time weighting for impulse (35 ms).

This commit is contained in:
Anne de Jong 2024-02-06 11:22:31 +01:00
parent 7430e2c600
commit 7c8e6368ba
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ class SLM:
level_ref_value: Reference value for computing the levels in dB
offset_t: Offset to be added to output time data [s]
"""
if tw == TimeWeighting.ufast:
raise RuntimeError('The current implementation of impulse time weigthing is incorrect, as it does not have the proper decay time constant.')
self.fbdesigner = fbdesigner
if xmin is None and fbdesigner is not None: