Skip to content

Commit

Permalink
have 2.0 in the step threshold for sahp step detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaquier Aurélien Tristan committed Aug 23, 2023
1 parent d41e498 commit 7e675d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluepyefe/ecode/sAHP.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def step_detection(self, current, config_data, reader_data):

# Set the threshold to detect the step
noise_level = numpy.std(numpy.concatenate((self.current[:50], self.current[-50:])))
step_threshold = numpy.max([3.0 * noise_level, 1e-5])
step_threshold = numpy.max([2.0 * noise_level, 1e-5])

# The buffer prevent miss-detection of the step when artifacts are
# present at the very start or very end of the current trace
Expand Down

0 comments on commit 7e675d2

Please sign in to comment.