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

Mpe likelihood #32

Merged
merged 21 commits into from
Nov 4, 2024
Merged

Mpe likelihood #32

merged 21 commits into from
Nov 4, 2024

Conversation

mhuen
Copy link
Collaborator

@mhuen mhuen commented Nov 4, 2024

Adds MPE likelihood to event-generator. To use the likelihood, a model must also evaluate the CDF for the provided pulse times. The MultiSource object will properly combine CDF values if they are provided.

Other changes include:

  • Streamline definition and usage of model's epsilon value
  • Allow precision set individually for loss functions and a model's PDF/CDF calulation

mhuen and others added 21 commits September 19, 2024 10:34
* Independent precision for loss module

* Set loss precision to float64

* Add dtype argument for casting to basis functions

* Add dtype argument to numpy pdf and cdf functions

* safe_log: clip instead of +eps in log calls

* Cascades: safe log and float64 pdf/cdf evaluation

* Lower bound for sigma and r

* Option to set float precision for pdf cdf evaluation independently

* Turn off normalization by total charge

* Add closest approach point info

* Increase default model size: use reco pulses

* Add one earlier seed point for tracks

* Prevent division by zero

* Add buffer for time window calculation

* Reco speedup: fix data_batch and seed_array for minimizer function

* Speedup: use loss only for jac=False

* Bugfix: fixed dt_geometry due to wrong entry_point

---------

Co-authored-by: mhuen <mhuen@users.noreply.github.com>
@mhuen mhuen merged commit 7c1c392 into InfTracksSphere Nov 4, 2024
0 of 4 checks passed
@mhuen mhuen deleted the MPELikelihood branch November 4, 2024 22:13
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.

1 participant