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

View File

@ -58,6 +58,9 @@ class SLM:
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:
xmin = fbdesigner.xs[0]