Skip to content

Commit

Permalink
tutorial fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Sep 24, 2024
1 parent 163d857 commit 8aea76e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/analytic_beam_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ Evaluating an Airy Beam power response
>>> beam_vals = airy_beam.power_eval(
... az_array=az_array.flatten(), za_array=za_array.flatten(), freq_array=freqs
... )
>>> # Note that the returned array for the power response has shape
>>> # (1, Npols, number_of_frequencies, number_of_directions)
>>> beam_vals.shape
(1, 2, 11, 10000)
>>> beam_vals = np.reshape(beam_vals, (1, airy_beam.Npols, Nfreqs, n_vals, n_vals))
Expand Down Expand Up @@ -107,7 +111,7 @@ Evaluating a Short Dipole Beam E-Field response
>>> beam_vals = dipole_beam.efield_eval(
... az_array=az_array.flatten(), za_array=za_array.flatten(), freq_array=freqs
... )
>>> # Note that the returned array for the power response has shape
>>> # Note that the returned array for the E-field response has shape
>>> # (Naxes_vec, Nfeeds, number_of_frequencies, number_of_directions)
>>> beam_vals.shape
(2, 2, 11, 10000)
Expand Down

0 comments on commit 8aea76e

Please sign in to comment.