-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
I ran the ephys-pipeline, using KS4, mostly successfully (see #36).
However, I've had trouble loading or creating a SortingAnalyzer with the results.
I tried different approaches:
sorting_analyzer = si.load_sorting_analyzer("<data_path>/sorting_output/postprocessed/experiment1_Record Node 101#Neuropix-PXI-100.ProbeA_recording1.zarr", with_recording=False)
This fails with: TypeError: load_sorting_analyzer() got an unexpected keyword argument 'with_recording'.
This works initially:
sorting_analyzer = si.load_sorting_analyzer("<data_path>/sorting_output/postprocessed/experiment1_Record Node 101#Neuropix-PXI-100.ProbeA_recording1.zarr")
But then that fails:
sorting_analyzer.compute([
"random_spikes",
"templates",
"template_similarity",
"unit_locations",
"spike_amplitudes",
"correlograms"
])
AssertionError: Extension templates requires the recording.
Trying to create a sorting analyzer also fails
sorting_analyzer = create_sorting_analyzer(sorting=sorting_curated , recording=preproc_recording)
I got various error type when trying to create either the sorting, the recording, or the sorting_analyzer object, such as:
FileNotFoundError: [Errno 2] No such file or directory: '<data_path>/Record Node 101/experiment1/recording1/continuous/Neuropix-PXI-100.ProbeA/timestamps.npy'
...
UnboundLocalError: local variable 'si_file' referenced before assignment
...
AssertionError: Extension templates requires the recording
...
AttributeError: 'NoneType' object has no attribute 'get_data'Additional documentation on using the SortingAnalyzer to load and visualize outputs would be appreciated.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels