Skip to content

feat: add peakBoundary()#49

Merged
philouail merged 2 commits intomainfrom
phili
Mar 20, 2026
Merged

feat: add peakBoundary()#49
philouail merged 2 commits intomainfrom
phili

Conversation

@philouail
Copy link
Collaborator

Here i add a function do determine left and right boundary.

it is not added as a backend method as peakBoundary() is a read-only summary — it computes a result (a matrix) from the peaks data but doesn't transform or modify the data itself. Backend methods exist to store, retrieve, or transform data (like peaksData(), intensity(), imputePeaksData()). Since peakBoundary() just reads peaksData() and derives boundaries, it belongs at the Chromatograms level only.

@philouail philouail requested a review from jorainer March 20, 2026 14:09
@philouail
Copy link
Collaborator Author

Currently, peakBoundary() only considers the tallest (most intense) peak. It finds the global maximum intensity and walks outward from that single apex. So it is not appropriate for peakpicking. it is more to get "cleaner" boundaries after receiving info of chrompeak range from other softwares.

@philouail philouail merged commit 4bd2086 into main Mar 20, 2026
3 checks passed
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.

1 participant