Skip to content

Commit

Permalink
Update qlook.py (issue197)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinjiFujita committed Aug 8, 2024
1 parent bcbbaa4 commit 2c78299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions decode/qlook.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def daisy(
f"dEl = {popt[2]:+.2f} [{cont.lat.attrs['units']}],\n"
f"$\\sigma_x$ = {np.abs(popt[3]):+.2f} [{skycoord_units}], "
f"$\\sigma_y$ = {np.abs(popt[4]):+.2f} [{skycoord_units}], "
f"P.A. = {np.mod(np.rad2deg(popt[5]) + 180, 360) - 180:+.1f} [deg],\n"
f"P.A. = {(np.rad2deg(popt[5]) + 90) % 180 - 90:+.1f} [deg],\n"
f"min_frequency = {min_frequency}, "
f"max_frequency = {max_frequency}",
fontsize=10,
Expand Down Expand Up @@ -532,7 +532,7 @@ def raster(
f"dEl = {popt[2]:+.2f} [{cont.lat.attrs['units']}],\n"
f"$\\sigma_x$ = {np.abs(popt[3]):+.2f} [{skycoord_units}], "
f"$\\sigma_y$ = {np.abs(popt[4]):+.2f} [{skycoord_units}], "
f"P.A. = {np.mod(np.rad2deg(popt[5]) + 180, 360) - 180:+.1f} [deg],\n"
f"P.A. = {(np.rad2deg(popt[5]) + 90) % 180 - 90:+.1f} [deg],\n"
f"min_frequency = {min_frequency}, "
f"max_frequency = {max_frequency}",
fontsize=10,
Expand Down

0 comments on commit 2c78299

Please sign in to comment.