Replies: 4 comments 4 replies
-
Precisely
Uncharted territory AFAIK - would a generic TimeSeries or DynamicTable structure be sufficient?
These are all properties of the units and so best belong on the same Units table (this is the current policy/suggestion at least) Templates (both mean and standard deviation) have a place in the schema of each Units table: specifically Full waveforms also have a place: Amplitudes would just be an extra custom column (since the Units table is just a table after all, it can have as many custom columns as you like, including potentially those correlograms you mention) The only thing I would mention is the |
Beta Was this translation helpful? Give feedback.
-
Thanks. Regarding the nwbfile.add_unit(id=unit_id, spike_times=st) How would I specify to add a unit at a different location. Also I'm confused... by the above it seems like I am adding a "spike_times" entry in the row... whereas in the hdf5 file the spike_times is a single array with a spike_times_index. Is there something tricky internally that treats "spike_times" as a special argument? |
Beta Was this translation helpful? Give feedback.
-
Thanks Ben, that worked! So now I have ground truth and the sorting output in the same NWB. https://dandiarchive.org/dandiset/000618/draft/files?location=sub-paired-english And in Neurosift you can see that ground truth corresponds with unit 37 in this sync'd raster plot |
Beta Was this translation helpful? Give feedback.
-
I'm looking at the docs for pynwb.misc.Units and I don't see how to put in custom columns (e.g., spike_amplitudes) https://pynwb.readthedocs.io/en/stable/pynwb.misc.html#pynwb.misc.Units |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to put the following entities into a NWB file, and I'd love to get advice on where they belong. The goal is to make a NWB file associated with a particular spike sorting output for the purpose of evaluating the units and comparing with ground truth when available.
T x M
array where T is the number of timepoints for the waveform, and M is the number of electrode channels in the neighborhood of the peak channel for the unit. The tricky thing is that M will vary depending on the unit. We'll also need to store the indices of the electrodes corresponding to the neighborhood.K x T x M
array where K is the number of subsampled events, and T and M are as above.Beta Was this translation helpful? Give feedback.
All reactions