Skip to content

spectrum trimming bug

The logic for spectrum trimming does not correctly return the last value in the spectrum in some cases. The loop logic should be adjusted accordingly.