From 3b81b52f52d200a5e807446903c6a36b1651d235 Mon Sep 17 00:00:00 2001 From: FusionSandwich Date: Fri, 20 Sep 2024 12:33:38 -0500 Subject: [PATCH] updated theta min and max --- parastell/nwl_utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/parastell/nwl_utils.py b/parastell/nwl_utils.py index 0c089cc..4c4e774 100644 --- a/parastell/nwl_utils.py +++ b/parastell/nwl_utils.py @@ -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,