Browse Source

Fix: synt. beam bmaj,bmin print for large values

pull/1/head
Benito Marcote 11 months ago
parent
commit
6d852b2bd7
  1. 2
      vlbiplanobs/graphical_elements.py

2
vlbiplanobs/graphical_elements.py

@ -176,7 +176,7 @@ def summary_card_beam(app, obs):
bmin=f"{5*synthbeam['bmin'].to(u.mas)/synthbeam['bmaj'].to(u.mas)}rem",
pa=f"{synthbeam['pa'].to(u.deg).value}deg")])]
# TODO: Check that the rotation is the correct.
temp_msg += [html.Br(), html.P([f"The expected synthesized beam will be approx. {synthbeam['bmaj'].to(synthbeam_units).value:.2n} x {synthbeam['bmin'].to(synthbeam_units):.2n}", html.Sup("2"), \
temp_msg += [html.Br(), html.P([f"The expected synthesized beam will be approx. {synthbeam['bmaj'].to(synthbeam_units).value:.3n} x {synthbeam['bmin'].to(synthbeam_units):.3n}", html.Sup("2"), \
f", PA = {synthbeam['pa']:.3n}."])]
temp_msg += [html.P("Note that the synthesized beam can significantly change depending "
"on the weighting used during imaging.")]

Loading…
Cancel
Save