AnoushkaJain3
commited on
Commit
•
ce1a3f9
1
Parent(s):
7a67842
Update README.md
Browse files
README.md
CHANGED
@@ -25,9 +25,19 @@ There are two tutorial notebooks:
|
|
25 |
We provide "noise_neuron_model.skops" which is used to identify noise, and "sua_mua_model.skops" which is used to isolate SUA. These models
|
26 |
can be used if you want to predict on mice data generated using Neuropixels.
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
``` python
|
30 |
from spikeinterface.curation import auto_label_units
|
|
|
31 |
labels = auto_label_units(
|
32 |
sorting_analyzer = sorting_analyzer,
|
33 |
model_folder = “SpikeInterface/a_folder_for_a_model”,
|
|
|
25 |
We provide "noise_neuron_model.skops" which is used to identify noise, and "sua_mua_model.skops" which is used to isolate SUA. These models
|
26 |
can be used if you want to predict on mice data generated using Neuropixels.
|
27 |
|
28 |
+
Steps:
|
29 |
+
|
30 |
+
1. load your recording depending on the acquisition software you used to create the 'recording' object
|
31 |
+
2. load your sorting depending on the spike sorter you used to create the 'sorting' object
|
32 |
+
3. Then you can create a Sorting_Analyzer object and you compute quality metrics.
|
33 |
+
|
34 |
+
auto_label_units is the main in this notebook. Link to API to know the parameters:
|
35 |
+
(https://spikeinterface--2918.org.readthedocs.build/en/2918/api.html#spikeinterface.curation.auto_label_units)
|
36 |
+
|
37 |
|
38 |
``` python
|
39 |
from spikeinterface.curation import auto_label_units
|
40 |
+
|
41 |
labels = auto_label_units(
|
42 |
sorting_analyzer = sorting_analyzer,
|
43 |
model_folder = “SpikeInterface/a_folder_for_a_model”,
|