-
Notifications
You must be signed in to change notification settings - Fork 8
example workspace
Jeremy Magland edited this page Sep 21, 2021
·
2 revisions
An example workspace created using this script
import sortingview as sv
import spikeextractors as se
recording, sorting = se.example_datasets.toy_example(K=12)
R = sv.LabboxEphysRecordingExtractor.from_memory(recording, serialize=True, serialize_dtype='float32')
S = sv.LabboxEphysSortingExtractor.from_memory(sorting, serialize=True)
W = sv.create_workspace()
recording_id = W.add_recording(label='recording1', recording=R)
W.add_sorting(recording_id=recording_id, label='true', sorting=S)
F = W.figurl()
url = F.url(label='Test workspace')
print(url)