Skip to content

Commit 6e20a11

Browse files
committed
refactor: ♻️ clean up import & docstring
1 parent 8dfc858 commit 6e20a11

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

element_array_ephys/spike_sorting/si_spike_sorting.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,17 @@
11
"""
2-
The following DataJoint pipeline implements the sequence of steps in the spike-sorting routine featured in the
3-
"spikeinterface" pipeline.
4-
Spikeinterface developed by Alessio Buccino, Samuel Garcia, Cole Hurwitz, Jeremy Magland, and Matthias Hennig (https://github.com/SpikeInterface)
5-
6-
The DataJoint pipeline currently incorporated Spikeinterfaces approach of running Kilosort using a container
7-
8-
The follow pipeline features intermediary tables:
9-
1. PreProcessing - for preprocessing steps (no GPU required)
10-
- create recording extractor and link it to a probe
11-
- bandpass filtering
12-
- common mode referencing
13-
2. SIClustering - kilosort (MATLAB) - requires GPU and docker/singularity containers
14-
- supports kilosort 2.0, 2.5 or 3.0 (https://github.com/MouseLand/Kilosort.git)
15-
3. PostProcessing - for postprocessing steps (no GPU required)
16-
- create waveform extractor object
17-
- extract templates, waveforms and snrs
18-
- quality_metrics
2+
The following DataJoint pipeline implements the sequence of steps in the spike-sorting routine featured in the "spikeinterface" pipeline. Spikeinterface was developed by Alessio Buccino, Samuel Garcia, Cole Hurwitz, Jeremy Magland, and Matthias Hennig (https://github.com/SpikeInterface)
193
"""
204

21-
import pathlib
225
from datetime import datetime
236

247
import datajoint as dj
258
import pandas as pd
26-
import probeinterface as pi
279
import spikeinterface as si
2810
from element_array_ephys import get_logger, probe, readers
2911
from element_interface.utils import find_full_path
3012
from spikeinterface import exporters, postprocessing, qualitymetrics, sorters
3113

14+
from .. import get_logger, probe, readers
3215
from . import si_preprocessing
3316

3417
log = get_logger(__name__)

0 commit comments

Comments
 (0)