Link between electrode channels and units #103
Replies: 1 comment
-
I'd recommend checking out this NWB tutorial on ecephys metadata to get a complete explanation of cross-linkage between the various data types The short answer to the question is: the If you haven't yet, I'd recommend checking out some of these NWB files using the NWB Widgets ( from nwbwidgets import nwb2widget
nwb2widget(nwbfile) # using the same nwbfile you're currently accessing data from |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am using this dataset for testing
And loading the electrode channels data like so:
This session has recordings from 2 Neuropixels probes
probe00
andprobe01
(each have 384 channels), in AP / LF band.The channels dataframe contains thus 2 (AP / LF) x 2 (
probe00
/probe01
) x 384 (channels).I am loading the units data like so, and am filtering to keep those just for a single electrode:
Note here that the probe label is
probe00
.I am now trying to retrieve the corresponding information in the channels table, i.e. I want to load the information for the AP channels, just for the corresponding
probe_label
.I am thus looking for a column in the channels table that would contain the label
probe00
orprobe01
.The column
channels.group_name
contains the unique values'NeuropixelsShank00', 'NeuropixelsShank01'
. Can I safely assume thatprobe00
is'NeuropixelsShank00'
(it would be easier programmatically if the convention was to keep the same key name)? Or is there another place to retrieve this information from (either in channels, or in units)?Thank you !
Beta Was this translation helpful? Give feedback.
All reactions