Commit 4fe24853 authored by connor.hainje@pnnl.gov's avatar connor.hainje@pnnl.gov
Browse files

Convert theta bin edges to degrees when making labels

parent ca5458b6
......@@ -76,7 +76,7 @@ THETA_BIN_CENTERS = _compute_bin_centers(THETA_BINS)
N_THETA_BINS = len(THETA_BIN_CENTERS)
"""Number of bins in theta."""
THETA_BIN_LABELS = [f"{x:.0f}" for x in THETA_BINS]
THETA_BIN_LABELS = [f"{x:.0f}" for x in np.degrees(THETA_BINS)]
"""Labels for theta bin edges, for use in plotting routines. Can be given in degrees or radians. Set the units to match."""
THETA_BIN_UNIT = "deg"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment