Skip to content

Commit

Permalink
Merge pull request #502 from SafirZouzout/master
Browse files Browse the repository at this point in the history
Update io.py
  • Loading branch information
jrkerns authored Jul 23, 2024
2 parents 58362fa + 43f6d7a commit 3aa8a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylinac/core/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def to_profiles(
"""

def drop_cax_sides(vals: np.ndarray) -> np.ndarray:
x_prof_x_vals = np.arange(start=1, stop=len(x_prof_vals) + 3)
x_prof_x_vals = np.arange(start=1, stop=len(vals) + 3)
half_idx = math.ceil(len(x_prof_x_vals) / 2) - 1
return np.delete(x_prof_x_vals, [half_idx - 1, half_idx + 1])

Expand Down

0 comments on commit 3aa8a20

Please sign in to comment.