Skip to content

Conversation

@SteffenHeu
Copy link
Member

@SteffenHeu SteffenHeu commented Jul 18, 2024

add 1 data point on each side if the flanking data point is zero (after filtering for chromatographic threshold)

robinschmid
robinschmid previously approved these changes Jul 29, 2024
Copy link
Member

@robinschmid robinschmid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. It changes the outcome but I think the results are better this way


resolved.add(Range.closed(x[currentRegionStart], x[currentRegionEnd]));
int start;
if(y[currentRegionStart] != 0 && y[Math.max(currentRegionStart - 1, 0)] == 0.0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems fine to me.
Maybe add a comment here why we are doing this to preserve the idea.

@robinschmid robinschmid merged commit 559fc0a into mzmine:master Jul 29, 2024
@SteffenHeu SteffenHeu deleted the adjust-local-min-edges branch November 7, 2024 11:33
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