Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jporron update veto peaks finder #145

Closed
wants to merge 11 commits into from

Conversation

JPorron
Copy link
Contributor

@JPorron JPorron commented Nov 11, 2024

JPorron Medium: 122 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 closed this Nov 11, 2024
@lobis lobis deleted the jporron-Update-VETOpeaksFinder branch November 11, 2024 10:57
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