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
It seems that in the init method (first chunk of code pasted) of spectrum.py and in the update data method where the averages are computed (third chunk of code pasted) , only the median mean and the welch method are implemented,
but in another part of the update_data method (second chunk of code pasted), other methods are also accepted (median, lal-...), but will be treated as if they were the welch method.
In init
weight=kwargs.pop('weight', 'linear')
ifweight.startswith('exp') andself.method=='median-mean':
raiseValueError("Median-mean average PSD method is incompatible ""with a non-linear weighting")
In update data (before the computation of the single ffts)
if (self.methodin ['median-mean', 'median'] orself.method.startswith('lal-')):
method='lal-welch'else:
method='welch'
In update data (at the end the averages are computed:)
The text was updated successfully, but these errors were encountered:
mikelovskij
changed the title
Undefined behaviour of spectrogram monitor if methods different from 'welch' or 'median mean' are set.
Undefined behaviour of spectrum monitor if methods different from 'welch' or 'median mean' are set.
Oct 23, 2015
It seems that in the init method (first chunk of code pasted) of spectrum.py and in the update data method where the averages are computed (third chunk of code pasted) , only the median mean and the welch method are implemented,
but in another part of the update_data method (second chunk of code pasted), other methods are also accepted (median, lal-...), but will be treated as if they were the welch method.
In init
In update data (before the computation of the single ffts)
In update data (at the end the averages are computed:)
The text was updated successfully, but these errors were encountered: