Skip to content

Commit

Permalink
updated theta min and max
Browse files Browse the repository at this point in the history
  • Loading branch information
FusionSandwich committed Sep 20, 2024
1 parent 655c503 commit 3b81b52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions parastell/nwl_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,10 @@ def nwl_plot(
# Define minimum and maximum bin edges for each dimension
phi_min = 0 - tor_ext / num_phi / 2
phi_max = tor_ext + tor_ext / num_phi / 2
theta_min = -pol_ext / 2 - pol_ext / num_theta / 2
theta_max = pol_ext / 2 + pol_ext / num_theta / 2

theta_min = 0 - pol_ext / num_theta / 2
theta_max = pol_ext + pol_ext / num_theta / 2

# Bin particle crossings
count_mat, phi_bins, theta_bins = np.histogram2d(
phi_coords,
Expand Down

0 comments on commit 3b81b52

Please sign in to comment.