Skip to content

Commit

Permalink
kozmetix
Browse files Browse the repository at this point in the history
  • Loading branch information
xgarrido committed May 3, 2023
1 parent 6928914 commit 78c83c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pspipe_utils/best_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,8 @@ def get_all_best_fit(spec_name_list, l_th, cmb_dict, fg_dict, spectra, nl_dict=N
sv_b, ar_b = nb.split("&")

for spec in spectra:
ps_all_th[na, nb, spec] = (
cmb_dict[spec] + fg_dict[f"{sv_a}_{ar_a}", f"{sv_b}_{ar_b}"][spec]
)
ps_all_th[na, nb, spec] = cmb_dict[spec] + fg_dict[f"{sv_a}_{ar_a}", f"{sv_b}_{ar_b}"][spec]

if bl_dict is not None:
ps_all_th[na, nb, spec] *= bl_dict[sv_a, ar_a] * bl_dict[sv_b, ar_b]

Expand Down

0 comments on commit 78c83c0

Please sign in to comment.