Skip to content

Commit 303f9a7

Browse files
Merge pull request #70 from lsst-sitcom/tickets/DM-53340
Update dof predicted plot with new titles
2 parents 8b3faf5 + 70ef490 commit 303f9a7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

python/lsst/summit/extras/plotting/zernikePredictedFwhm.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,16 @@ def makeDofPredictedFWHMPlot(
284284
frameon=False,
285285
ncol=2, # two columns (one row)
286286
)
287+
if sensor == 0:
288+
ax.text(
289+
0.4,
290+
1.17,
291+
"Zernike Deviation @ Corners",
292+
transform=ax.transAxes,
293+
fontsize=15,
294+
va="top",
295+
ha="center",
296+
)
287297

288298
# ----- Zernike grid across FOV -----
289299
# -----------------------------------
@@ -402,7 +412,7 @@ def makeDofPredictedFWHMPlot(
402412
f"Donut blur = {donutBlur:.2f} arcsec\n"
403413
f"Median AOS FWHM = {np.median(wavefrontData['fwhmMeasured']):.2f} arcsec\n\n"
404414
f"sqrt(fwhm_95 - fwhm_05) = {sqrtFwhm9505:.2f} arcsec\n\n"
405-
f"⟨FWHM^2_meas - FWHM^2_AOS - blur^2⟩ = {fwhmMetric:.2f} arcsec^2"
415+
f"⟨FWHM^2_meas - FWHM^2_AOS @ blur⟩ = {fwhmMetric:.2f} arcsec^2"
406416
)
407417
wrapped = "\n".join([fill(line, width=40) for line in bodyStr.split("\n")])
408418
axText.text(
@@ -467,7 +477,7 @@ def makeDofPredictedFWHMPlot(
467477
cbar.set_label("(arcsec)", fontsize=14)
468478
ax.set_aspect("equal", "box")
469479
ax.axis("off")
470-
ax.set_title(r"Predicted $\sqrt{ \mathrm{FWHM}_{\mathrm{AOS}}^2 + \mathrm{donut\_blur}^2 }$", fontsize=15)
480+
ax.set_title(r"Predicted $\mathrm{FWHM}_{\mathrm{AOS}} \otimes \mathrm{donut\_blur}$ seeing", fontsize=15)
471481

472482
# Measured FWHM
473483
ax = fig.add_subplot(gsRightBottom[1])
@@ -520,7 +530,7 @@ def makeDofPredictedFWHMPlot(
520530
ax.set_aspect("equal", "box")
521531
ax.axis("off")
522532
ax.set_title(
523-
r"$\mathrm{FWHM}_{\mathrm{measured}}^2 - \mathrm{FWHM}_{\mathrm{AOS}}^2 - \mathrm{donut\_blur}^2$", # noqa: E501
533+
r"$\mathrm{FWHM}_{\mathrm{measured}}^2$ - Predicted $\mathrm{FWHM}_{\mathrm{AOS}}^2$", # noqa: E501
524534
fontsize=15,
525535
)
526536

0 commit comments

Comments
 (0)