You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a problem where I have a spectrum that has a pileup in its largest bin and the resulting self.snr is constant for the last few bins... this creates a second derivative that d2=0, which raises and exception. Perhaps it's better to just print a warning, so that the program can continue?
blue: spectrum
orange: self.snr from peakfinder
I'll submit a pull request in a minute for a possible code change
The text was updated successfully, but these errors were encountered:
Just a quick not that after a discussion with the becquerel team we noticed that there is already code in there that should handle edge cases... I will check if that code can be improved to handle the above case as well
I ran into a problem where I have a spectrum that has a pileup in its largest bin and the resulting self.snr is constant for the last few bins... this creates a second derivative that d2=0, which raises and exception. Perhaps it's better to just print a warning, so that the program can continue?
blue: spectrum
orange: self.snr from peakfinder
I'll submit a pull request in a minute for a possible code change
The text was updated successfully, but these errors were encountered: