Skip to content

Commit

Permalink
Update src/dls_bluesky_core/core/maths.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Oct 17, 2023
1 parent 06f9599 commit 1bd64ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dls_bluesky_core/core/maths.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def step_to_num(start: float, stop: float, step: float) -> Tuple[float, float, i
If stop < start, will be coerced to be backwards.
Returns:
start, truncated_stop, num = Tuple[float, float, int]
start, adjusted_stop, num = Tuple[float, float, int]
start will be returned unchanged
truncated_stop = start + num * step
adjusted_stop = start + (num - 1) * step
num is the maximal number of steps that could fit into the length.
"""
Expand Down

0 comments on commit 1bd64ae

Please sign in to comment.