You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pyfar.dsp.normalize() with a FrequencyData object and default values, an error is thrown due to the default domain='time'. It would be nice to add an option domain='auto', which checks if signal is a FrequencyData object.
What I Did
import pyfar as pf
signal = pf.FrequencyData([1, 2, 3], [1, 2, 3])
pf.dsp.normalize(signal)
The text was updated successfully, but these errors were encountered:
General
Description
When using
pyfar.dsp.normalize()
with a FrequencyData object and default values, an error is thrown due to the defaultdomain='time'
. It would be nice to add an optiondomain='auto'
, which checks ifsignal
is a FrequencyData object.What I Did
The text was updated successfully, but these errors were encountered: