Skip to content

Commit

Permalink
Make aritifact interval a 2d array (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbray32 authored Nov 21, 2023
1 parent f9c2aee commit 9d9b96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spyglass/spikesorting/spikesorting_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def _get_artifact_times(
(valid_timestamps[i[0]], valid_timestamps[i[1]])
)

return artifact_removed_valid_times, artifact_intervals_s
return np.asarray(artifact_removed_valid_times), artifact_intervals_s


def _init_artifact_worker(
Expand Down

0 comments on commit 9d9b96b

Please sign in to comment.