-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MCPHA with log Y-axis suppresses counting values of one #912
Comments
Thank you for your kind words about the MCPHA project. I've just tried to set the baseline to a lower value but without much success. If I'm not mistaken, the baseline value is hard-coded in the BLT library. Here is a link to the code: |
Hi Pavel,
Unfortunately I do not program TCL and therefore I am not able to get the program to work properly. |
I've added 1e-99 to all histogram bins with this commit. This seems to solve the problem. |
Thank you for the test. I am happy to see it running on Linux. The new version is now in the master branch and will be in the next release. |
I've tested the version with 1e-99 in the histogram ins and I've found problems with appearance and compatibility with some Tcl/Tk/BLT versions. Since it isn't a good solution, I've just removed it from the code. |
Description of the problem:
Hi Pavel,
thank you for this wonderful software - it is far better than all other mca software that I found.
A small issue:
With linear y-scale, everything is OK because the baseline is at zero.
With log. y-scale, the baseline is at one (1E0, zero is impossible) and a pulse-high of one is suppressed in the histogram - it is just on the baseline and not above it.
This is a disadvantage in the high energy part of the spectrum were only a few counts are spread over a wide range of channels.
Is it possible to set the baseline at eg. 0.5 or so?
The text was updated successfully, but these errors were encountered: