Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,41 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
---
|
4 |
+
|
5 |
+
## Model description
|
6 |
+
|
7 |
+
A toy model, trained on toy data generated from spikeinterface.
|
8 |
+
|
9 |
+
# Intended use
|
10 |
+
|
11 |
+
Used to try out automated curation in SpikeInterface.
|
12 |
+
|
13 |
+
# How to Get Started with the Model
|
14 |
+
|
15 |
+
This can be used to automatically label a sorting in spikeinterface. Provided you have a `sorting_analyzer`, it is used as follows
|
16 |
+
|
17 |
+
``` python
|
18 |
+
from spikeinterface.curation import auto_label_units
|
19 |
+
labels = auto_label_units(
|
20 |
+
sorting_analyzer = sorting_analyzer,
|
21 |
+
repo_id = "SpikeInterface/toy_tetrode_model",
|
22 |
+
trusted = ['numpy.dtype']
|
23 |
+
)
|
24 |
+
```
|
25 |
+
|
26 |
+
or you can download the entire repositry to `a_folder_for_a_model`, and use
|
27 |
+
|
28 |
+
``` python
|
29 |
+
from spikeinterface.curation import auto_label_units
|
30 |
+
|
31 |
+
labels = auto_label_units(
|
32 |
+
sorting_analyzer = sorting_analyzer,
|
33 |
+
model_folder = "SpikeInterface/a_folder_for_a_model",
|
34 |
+
trusted = ['numpy.dtype']
|
35 |
+
)
|
36 |
+
```
|
37 |
+
|
38 |
+
# Authors
|
39 |
+
|
40 |
+
Chris Halcrow
|
41 |
+
|