Improve fit
- Estimate peak using a simple Gaussian filter and
np.argmax
to speed up fitting. - Calculate outliers with
IsolationForest
and per channel. - Add possibility of a polynomial fit on
pes
andsqrt(pes)
. - Add possibility of fitting with weights and function to get weights based on the XGM intensity to get a flatter response a as a function of intensity.
Edited by Danilo Enoque Ferreira de Lima