-
Notifications
You must be signed in to change notification settings - Fork 12
Stabilize priors #141
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
base: main
Are you sure you want to change the base?
Stabilize priors #141
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #141 +/- ##
==========================================
+ Coverage 28.55% 28.59% +0.03%
==========================================
Files 37 37
Lines 3666 3672 +6
==========================================
+ Hits 1047 1050 +3
- Misses 2619 2622 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -7,11 +7,11 @@ function get_standard_pseudo_prior(h::Histogram, ps::NamedTuple{(:peak_pos, :pea | |||
μ = ifelse(fixed_position, ConstValueDist(ps.peak_pos), Normal(ps.peak_pos, 0.2*ps.peak_sigma)), | |||
σ = weibull_from_mx(ps.peak_sigma, 1.5*ps.peak_sigma), | |||
n = weibull_from_mx(ps.peak_counts, 1.5*ps.peak_counts), | |||
skew_fraction = ifelse(low_e_tail, truncated(weibull_from_mx(0.002, 0.008), 0.0, 0.5), ConstValueDist(0.0)), | |||
skew_fraction = ifelse(low_e_tail, truncated(weibull_from_mx(0.002, 0.008), 1e-7, 0.5), ConstValueDist(0.0)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you quickly explain why 1e-7?
Ensure (log-)density of generated priors is finite over their whole support.