mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 17:58:01 +00:00
Remove comments
This commit is contained in:
parent
28e93e917f
commit
fcd1a6b321
1 changed files with 0 additions and 3 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue