Skip to content

Commit

Permalink
Fix photodiode adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Jan 7, 2025
1 parent f912875 commit c34d637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npc_sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ def stim_running_edges(

if any(stim_running_rising_edges) and any(stim_running_falling_edges):
if stim_running_rising_edges[0] > stim_running_falling_edges[0]:
stim_running_falling_edges[1:]
stim_running_falling_edges: np.ndarray[Any, np.dtype[Any]] = stim_running_falling_edges[1:]
if stim_running_falling_edges[-1] < stim_running_rising_edges[-1]:
stim_running_falling_edges = np.concatenate(
[stim_running_falling_edges, [self.total_seconds]]
Expand Down

0 comments on commit c34d637

Please sign in to comment.