Skip to content

Commit

Permalink
Update ReducedSpectrum constructor to use the raw center value rather…
Browse files Browse the repository at this point in the history
… than the processed center value
  • Loading branch information
SombkeMaximilian committed Jan 5, 2025
1 parent ccbf868 commit 70b080f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metabodecon/src/fitting/reduced_spectrum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl ReducedSpectrum {
.flat_map(|peak| {
vec![
spectrum.intensities()[peak.left()],
spectrum.intensities()[peak.center()],
spectrum.intensities_raw()[peak.center()],
spectrum.intensities()[peak.right()],
]
})
Expand Down

0 comments on commit 70b080f

Please sign in to comment.