Skip to content

Commit

Permalink
fix: labels on 2D PS plots
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Apr 15, 2024
1 parent c2b52bd commit 199734f
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 81 deletions.
159 changes: 80 additions & 79 deletions docs/tutorials/understanding_21cmsense.ipynb

Large diffs are not rendered by default.

Binary file modified joss-paper/2dps.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions py21cmsense/sensitivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def plot_sense_2d(self, sense2d: dict[tp.Wavenumber, tp.Delta]):

plt.pcolormesh(x, y, np.log10(z))
cbar = plt.colorbar()
cbar.set_label(r"$\log_{10} \delta \Delta^2$ [mK^2]", fontsize=14)
cbar.set_label(r"$\log_{10} \delta \Delta^2\ \ [{\rm mK}^2]$", fontsize=14)
plt.xlabel(r"$k_\perp$ [h/Mpc]", fontsize=14)
plt.ylabel(r"$k_{||}$ [h/Mpc]", fontsize=14)

Expand Down Expand Up @@ -665,7 +665,7 @@ def plot_sense_1d(self, sample: bool = True, thermal: bool = True):
plt.xscale("log")
plt.yscale("log")
plt.xlabel("k [h/Mpc]")
plt.ylabel(r"$\Delta^2_N \ [{\rm mK}^2$")
plt.ylabel(r"$\Delta^2_N \ [{\rm mK}^2]$")
plt.legend()
plt.title(f"z={conv.f2z(self.observation.frequency):.2f}")

Expand Down

0 comments on commit 199734f

Please sign in to comment.