Skip to content

Commit

Permalink
Added fixed parameters to results file, part of issue rpoleski#93
Browse files Browse the repository at this point in the history
  • Loading branch information
rapoliveira committed Oct 25, 2023
1 parent 32d3086 commit f286b07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/example_16/ulens_model_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2325,6 +2325,11 @@ def _parse_results_EMCEE(self):
print(out, **self._yaml_kwargs)
self._extract_posterior_samples_EMCEE()

if self._yaml_results:
print("Fixed parameters:", **self._yaml_kwargs)
for (key, value) in self._fixed_parameters.items():
print(" {:} : {:}".format(key, value), **self._yaml_kwargs)

print("Fitted parameters:")
self._print_results(self._samples_flat)
if self._yaml_results:
Expand Down

0 comments on commit f286b07

Please sign in to comment.