Skip to content
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

Bugfixes: big soot partilces were lost, gaussian fit in the plot was too wide, split position algorithm now more stable. #61

Merged
merged 5 commits into from
May 8, 2024

Conversation

johbackm
Copy link
Contributor

@johbackm johbackm commented Apr 3, 2024

  • When Ch1 is saturated, the peak width becomes nan because the PkEnd_ch1 is not found (for very big particles). Now PkEnd_ch5 is used instead, which means that we don't loose the upper end of the rBC size distribution.
  • split detector algorithm more stable. Inversion of channel 3 is now hard coded which makes the algorithm find the split more consistently even if there are three lobes in the split signal.
  • fixed Gaussian width issue when plotting the fit in pysp2.vis.plot_wave() Gaussian width (sigma) is FWHM/2.35482

johbackm added 5 commits April 3, 2024 17:55
…t point marker symbols so that they are visible when they are on top of each other.
…hannel is inverted and which one is not. In the future, we could add this to the conifguration file but I believe that this is standard and always the same.
…Otherwise we loose the largest particles and the rBC size distribution is wrong. Large particles will be missing since PkEnd_ch1 will become nan --> width = nan --> accepted_incand will become False.
@johbackm
Copy link
Contributor Author

johbackm commented Apr 3, 2024

Forgot to update values in tests.test_psds() now that the rBC mass concentrations have changed due to the missing large rBC particles.

@rcjackson
Copy link
Collaborator

Thank you for finding these issues @johbackm ! Merging now!

@rcjackson rcjackson merged commit 19a7391 into ARM-DOE:main May 8, 2024
11 checks passed
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