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

Fix LOD in histogram for LODs with NaN values #19

Merged
merged 7 commits into from
Jun 18, 2024
Merged

Fix LOD in histogram for LODs with NaN values #19

merged 7 commits into from
Jun 18, 2024

Conversation

djdt
Copy link
Owner

@djdt djdt commented Jun 18, 2024

Uses nanmean instead of mean to compute mean for LODs from windowed thresholds. This fixes crash if any values are NaN (as with blanked data).
Also renames "LOD" to "LOD (mean)" for clarity in cases of multiple LOD values (windowed).
LODs are also now not calculated for NaN regions.

Closes #18.

@djdt djdt merged commit 6077e7c into master Jun 18, 2024
@djdt djdt deleted the trim_fix branch June 19, 2024 01:15
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.

Program crashes when viewing single m/z histograms.
1 participant