Skip to content

Conversation

JPorron
Copy link
Contributor

@JPorron JPorron commented Nov 11, 2024

JPorron Ok: 99 Powered by Pull Request Badge

A new option to calculate the baseline excluding outliers is added.

It will calculate the median and standard deviation of a signal in the selected range considering only the 25-75% values, excluding big and small outliers. This might be important when calculating the VETO peaks, for example, as it uses the BaseLine (+ input threshold) to exclude small peaks.

If there are peaks (or negative regions) in the interval to calculate the sigma they will lead to a biased BaseLine. If there are many peaks, for example, the calculated BaseLine will be biased to bigger values and might eliminate clear peaks.
By calculating the BaseLine without the outliers (the peaks will be in the >75% region) the calculated value will be more precise.

@JPorron JPorron requested a review from lobis November 11, 2024 11:04
@lobis lobis merged commit a4ba0c1 into master Nov 11, 2024
64 checks passed
@lobis lobis deleted the jporron-Update-VETOpeaksFinder branch November 11, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants