Skip to content
Snippets Groups Projects
Commit 42caa1c6 authored by Colm Talbot's avatar Colm Talbot
Browse files

use more time samples in interpolation

parent ff1892db
No related branches found
No related tags found
1 merge request!317Reconstruct marginalised parameters
Pipeline #50912 passed
......@@ -1107,7 +1107,7 @@ def generate_time_sample_from_marginalized_likelihood(
time_prior_array = likelihood.priors['geocent_time'].prob(times)
time_post = (np.exp(time_log_like - max(time_log_like)) * time_prior_array)
keep = (time_post > max(time_post) / 10)
keep = (time_post > max(time_post) / 1000)
time_post = time_post[keep]
times = times[keep]
sample['geocent_time'] = Interped(times, time_post).sample()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment