Hello,
First, thank you for all the work that has gone into this project, it is very helpful and easy to use !
While trying to better understand the fitting procedure, I noticed that the final aperiodic fit (L178) is performed after the peak parameters have been estimated (L171)
Did I understand the workflow correctly?
If so, could this lead to slight differences between the estimated peak parameters and the final model, since the aperiodic component may change after the peak fitting step? In particular, I am wondering about peak heights, which are defined relative to the aperiodic fit.
My intuition is that any effect would likely be very small, but I wanted to check whether this interpretation is correct.
Thank for your feedback,
Victor
Hello,
First, thank you for all the work that has gone into this project, it is very helpful and easy to use !
While trying to better understand the fitting procedure, I noticed that the final aperiodic fit (L178) is performed after the peak parameters have been estimated (L171)
fooof/specparam/algorithms/spectral_fit.py
Line 156 in 05b9871
Did I understand the workflow correctly?
If so, could this lead to slight differences between the estimated peak parameters and the final model, since the aperiodic component may change after the peak fitting step? In particular, I am wondering about peak heights, which are defined relative to the aperiodic fit.
My intuition is that any effect would likely be very small, but I wanted to check whether this interpretation is correct.
Thank for your feedback,
Victor