Remove comments

This commit is contained in:
rstiskalek 2023-07-03 15:37:22 +01:00
parent 28e93e917f
commit fcd1a6b321

View file

@ -608,11 +608,8 @@ def plot_mass_vs_expected_mass(nsim0, min_overlap=0, max_prob_nomatch=1):
mu = numpy.log10(mu) mu = numpy.log10(mu)
prob_nomatch = numpy.nanmedian(prob_nomatch, axis=1) prob_nomatch = numpy.nanmedian(prob_nomatch, axis=1)
# bins = numpy.arange(numpy.min(mass), numpy.max(mass), 0.2)
mask = numpy.isfinite(mass) & numpy.isfinite(mu) mask = numpy.isfinite(mass) & numpy.isfinite(mu)
mask &= (prob_nomatch < max_prob_nomatch) mask &= (prob_nomatch < max_prob_nomatch)
# stat_x, stat_mu, stat_std = plt_utils.binned_trend(
# mass[mask], mu[mask], 1 - prob_nomatch[mask], bins)
with plt.style.context(plt_utils.mplstyle): with plt.style.context(plt_utils.mplstyle):
fig, axs = plt.subplots(ncols=3, figsize=(3.5 * 2, 2.625)) fig, axs = plt.subplots(ncols=3, figsize=(3.5 * 2, 2.625))