This commit is contained in:
rstiskalek 2024-04-23 12:03:47 +01:00
parent c4557cf35b
commit 13a10ccedd
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ def read_samples(catalogue, simname, ksmooth, include_calibration=False,
except KeyError:
chi2.append([0.])
if catalogue in ["LOSS", "Foundation"] or "Pantheon+" in catalogue: # noqa
if catalogue in ["LOSS", "Foundation"] or "Pantheon+" in catalogue: # noqa
alpha_cal.append(f[f"sim_{nsim}/alpha_cal"][:])
beta_cal.append(f[f"sim_{nsim}/beta_cal"][:])
mag_cal.append(f[f"sim_{nsim}/mag_cal"][:])

View File

@ -22,4 +22,4 @@ def open_cats(simname, bounds):
for i, nsim in enumerate(tqdm(nsims, desc="Opening catalogues")):
catalogues[i] = open_cat(nsim, simname, bounds)
return catalogues
return catalogues