File size: 949 Bytes
5e1efe2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
license: mit
---

## Model description

A toy model, trained on toy data generated from spikeinterface. 

# Intended use

Used to try out automated curation in SpikeInterface.

# How to Get Started with the Model

This can be used to automatically label a sorting in spikeinterface. Provided you have a `sorting_analyzer`, it is used as follows

``` python
    from spikeinterface.curation import auto_label_units
    labels = auto_label_units(
        sorting_analyzer = sorting_analyzer,
        repo_id = "SpikeInterface/toy_tetrode_model",
        trusted = ['numpy.dtype']
    )
```

or you can download the entire repositry to `a_folder_for_a_model`, and use

``` python
    from spikeinterface.curation import auto_label_units

    labels = auto_label_units(
        sorting_analyzer = sorting_analyzer,
        model_folder = "SpikeInterface/a_folder_for_a_model",
        trusted = ['numpy.dtype']
    )
```

# Authors

Chris Halcrow