Skip to content

Commit

Permalink
Added common parameter functionality to TSEvaluation. Should pass inf…
Browse files Browse the repository at this point in the history
…o to likelihood.
  • Loading branch information
jmclaughlin1393 committed Mar 21, 2024
1 parent a5ad220 commit 0a74e5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flamedisx/non_asymptotic_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,16 @@ def run_routine(self, mus_test=None, save_fits=False,
for source in sources:
if source in self.transform_params:
kwargs[self.transform_params[source][0]] = self.transform_params[source][1]

for param in self.common_params.keys():
kwargs[param] = self.common_params[source]

likelihood = self.likelihood_class(sources=sources,
arguments=arguments,
progress=False,
batch_size=self.batch_size,
free_rates=free_rates,
defaults=self.common_defaults,
**kwargs)

rm_bounds = dict()
Expand Down

0 comments on commit 0a74e5d

Please sign in to comment.