fooof-tools / fooof

Parameterizing neural power spectra into periodic & aperiodic components.
https://fooof-tools.github.io/
Apache License 2.0
358 stars 97 forks source link

Specparam2rc doc buggy example #324

Closed danieltomasz closed 5 months ago

danieltomasz commented 5 months ago

there is something wrong with the example, https://specparam-tools.github.io/auto_tutorials/plot_03-Algorithm.html#sphx-glr-auto-tutorials-plot-03-algorithm-py you want to fit in [3, 40] but on the page fit is done on the whole range up to 500Hz (its seems that is a bug)

TomDonoghue commented 5 months ago

Ooops - this was a silly mistake in the new / current development branch of not properly passing through the freq_range argument in the new BaseModel object, which effect defining SpectralModel objects. Thanks for catching / reporting this!

This is now fixed