Read Raw from NWB Structure¶
raw TDT Neural Data Read Function¶
- readnwb.readnwb_rawtdtneurdata(nwb, chn_read, idx_read)¶
readnwb_rawtdtneurdata read raw neural data.
neurdata = readnwb_rawtdtneurdata(nwb, chn_read, idx_read) return the readed neural data (matrix: nchns * ntemporal), will take a while for loading the tdt data
Example:
neurdata = readraw_tdtneurdata(nwb, [1 5]);
- Input:
nwb —- NWB structure chns_red —- start and end channel number to read, a vector with two values, [chn_str chn_end] (default=0, all channels) idx_red —- start and end index number to read, a vector with two values, [idx_str idx_end] (default=0, from 1 to end)
- Output:
neurdata —– readed neural data (matrix: nchns * ntemporal)
TDT Electrodes Read Function¶
- readnwb.readnwb_electrodes(nwb)¶
read_electrodes read the electrode information.
elec_tbl = read_electrodes(nwb) return electrode information table.
Example:
elec_tbl = read_electrodes(nwb);
- Input:
nwb: NWB structure
- Output:
elec_tbl electrode information table
raw TDT Touch Pad Data Read Function¶
- readnwb.readnwb_rawtdtstpddata(nwb)¶
readnwb_rawtdtstpddata read raw sync. touchpad data of tdt system.
stpddata = readnwb_rawtdtstpddata(nwb) return the readed touchpad synchronization data (vector: 1 * ntemporal)
Example:
stpddata = readraw_tdtstpddata(nwb);
- Input:
nwb —- NWB structure
- Output:
stpddata —– readed touch pad sync. data (vector: 1 * ntemporal)