Skip to content

Commit

Permalink
FIX: no offset for counter-pulse end
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Butenko committed Feb 22, 2024
1 parent f9737d1 commit f0b9b24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ossdbs/stimulation_signals/rectangle_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def get_time_domain_signal(self, dt: float, timesteps: int) -> np.ndarray:
self._pulse_width / dt + self._inter_pulse_width / dt
)
counter_pulse_end_idx = (
offset
+ counter_pulse_start_idx
counter_pulse_start_idx
+ int(self._counter_pulse_width / dt)
)
signal[
Expand Down

0 comments on commit f0b9b24

Please sign in to comment.