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

Reparametrize double- and multi-peak models #11

Merged
merged 3 commits into from
May 11, 2024
Merged

Conversation

michaelosthege
Copy link
Member

@michaelosthege michaelosthege commented May 11, 2024

This refactoring was ultimately motivated by the breaking of our ordered-transform workaround (see #8).
It made the tests unreliable, because the ordering of peak means was no longer 100 % strict.

This PR refactors the double-and multi-peak models such that ordered transform (and ZeroSumNormal) no longer play a role for double-peaks.

  • Parametrize double-peak models by "separation" with a Gamma prior.
  • Keep using ZeroSumNormal for >2 peaks.
  • Rename diffoffset.
  • Reduce the prior for double-peak std by 1/2.
  • Added an investigative notebook on the peak separation model

* Parametrize double-peak models by "separation"with a Gamma prior.
* Keep using ZeroSumNormal for >2 peaks.
* Rename `diff`→`offset`.
* Reduce the prior for double-peak std by 1/2.

Co-authored-by: Jochen Nießer<j.niesser@fz-juelich.de>
Co-authored-by: Jochen Nießer<j.niesser@fz-juelich.de>
@michaelosthege michaelosthege added enhancement New feature or request refactoring Non-functional changes to code labels May 11, 2024
@Y0dler Y0dler assigned Y0dler and unassigned Y0dler May 11, 2024
@Y0dler Y0dler self-requested a review May 11, 2024 10:09
@Y0dler Y0dler merged commit 1f47e9e into main May 11, 2024
4 checks passed
@Y0dler Y0dler deleted the reparametrize-doublepeak branch May 11, 2024 10:21
@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request refactoring Non-functional changes to code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants