Dataset Viewer
Auto-converted to Parquet Duplicate
recording
stringclasses
3 values
unit_index
int32
0
1.27k
spike_time
float64
0.04
3.85k
peak_channel
int32
0
382
channel_indices
listlengths
25
25
waveform
list
dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecephys+image.nwb
711
198.392233
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[ [ 25, 15, 18, 21, 20, 28, 27, 26, 28, 38, 43, 51, 57, 65, 63, 55, 46, 53, 55, 44, 43, 27, 16, -8, -15, -7, 12, 31, 42, 44, 55, 67, 74, 86, 92, 95, 87, 86, 82, ...
dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecephys+image.nwb
711
264.523233
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[ [ 36, 44, 54, 57, 62, 63, 64, 52, 41, 37, 38, 42, 36, 26, 34, 41, 41, 43, 48, 63, 67, 72, 70, 56, 55, 48, 37, 32, 45, 43, 42, 43, 47, 45, 54, 58, 54, 47, 50, ...
dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecephys+image.nwb
711
319.565633
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[ [ 50, 48, 54, 50, 51, 47, 43, 40, 41, 32, 26, 23, 16, 31, 42, 41, 50, 50, 40, 42, 57, 60, 64, 64, 60, 65, 54, 46, 57, 56, 47, 28, -3, -4, 8, 23, 36, 46, 54, ...
dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecephys+image.nwb
711
336.754633
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[ [ 33, 43, 48, 54, 60, 56, 55, 50, 50, 44, 42, 42, 46, 55, 55, 61, 50, 53, 46, 41, 42, 46, 51, 51, 48, 51, 50, 54, 54, 45, 37, 36, 42, 46, 57, 58, 56, 45, 37, ...
dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecephys+image.nwb
711
357.685333
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[ [ -26, -49, -38, -11, 14, 36, 70, 82, 88, 73, 67, 71, 67, 76, 73, 78, 78, 74, 64, 62, 55, 52, 48, 48, 53, 50, 44, 47, 44, 52, 45, 42, 46, 53, 47, 42, 42, 44, 44...
"dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecep(...TRUNCATED)
711
368.261167
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[[80.0,76.0,64.0,61.0,57.0,48.0,47.0,53.0,54.0,54.0,52.0,53.0,52.0,46.0,47.0,54.0,58.0,51.0,43.0,42.(...TRUNCATED)
"dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecep(...TRUNCATED)
711
388.5658
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[[41.0,33.0,38.0,27.0,30.0,37.0,47.0,55.0,44.0,28.0,23.0,28.0,27.0,28.0,26.0,35.0,54.0,65.0,58.0,60.(...TRUNCATED)
"dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecep(...TRUNCATED)
711
425.349367
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[[32.0,33.0,40.0,43.0,46.0,46.0,50.0,55.0,54.0,54.0,60.0,71.0,58.0,48.0,45.0,43.0,55.0,55.0,34.0,24.(...TRUNCATED)
"dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecep(...TRUNCATED)
711
471.629133
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[[47.0,48.0,42.0,42.0,43.0,46.0,42.0,44.0,40.0,31.0,31.0,23.0,15.0,11.0,23.0,32.0,38.0,47.0,45.0,40.(...TRUNCATED)
"dandi://dandi/000409/sub-NR-0020/sub-NR-0020_ses-3e6a97d3-3991-49e2-b346-6948cb4580fb_behavior+ecep(...TRUNCATED)
711
484.667167
106
[ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118 ]
[[42.0,46.0,48.0,27.0,17.0,23.0,31.0,41.0,42.0,46.0,46.0,55.0,48.0,45.0,51.0,60.0,60.0,62.0,58.0,54.(...TRUNCATED)
End of preview. Expand in Data Studio

Spike waveform shards (derived from IBL dandiset 000409)

A curated collection of per-spike multichannel waveform windows extracted from NWB assets in the DANDI dandiset 000409 (International Brain Laboratory, IBL). This repository contains the extractor and uploader used to produce Parquet shards; this README documents the derived dataset, its provenance, format, and how to reproduce it.


Short description

Parquet shards of spike waveform windows (channels × timesteps). Each row contains a fixed-shape multichannel waveform centered on a spike and related metadata (recording URI, unit identifier, spike time, channel indices, and extraction metadata). The dataset is intended for ML and analysis workflows operating on per-spike waveforms.

Source / provenance

Original dandiset summary (selected fields):

Refer to the original DANDI page for the full contributor list, asset-level metadata, and licensing details.

What the dataset contains

  • File type: Parquet (.parquet) shards (row-wise shards; default shard_rows=10000 in the extractor).
  • Typical per-row fields (inspect shards to confirm exact schema):
    • recording_uri — original NWB/DANDI URI
    • unit_id — identifier for the unit within the NWB
    • spike_time — spike time in seconds
    • waveform — array/tensor (channels × timesteps)
    • peak_channel / channel_indices — channels included in the window
    • extraction metadata: sampling rate, sample index, extractor params (when present)

Notes:

  • The extractor performs minimal filtering by default (no normalization, no SNR filtering) unless explicitly configured.
  • Check a sample shard with pyarrow or pandas to confirm exact field names and dtypes.

How the dataset was produced

  • Workflow overview:
    1. Download NWB asset (via dandi CLI, S3, or direct HTTP after resolving dandi:// URIs).
    2. Open NWB/HDF5, locate ElectricalSeries and unit spike times/metadata.
    3. For each spike, compute corresponding sample index (or use timestamps) and extract a fixed-size waveform window centered on the spike at the unit's peak channel.
    4. Pad/truncate windows at edges to ensure a fixed (channels, timesteps) shape.
    5. Aggregate rows and write Parquet shards.
    6. Optionally upload shards using the uploader helper.

Typical extraction parameters (defaults)

  • channels: 25
  • timesteps: 300
  • shard_rows: 10000
  • compression: zstd
  • max_spikes_per_unit: 500

Actual dataset shards may have been produced with different parameter overrides; inspect the shard metadata or the extractor run logs for precise parameters used.

Data licensing and attribution

  • This dataset is a derived product of NWB assets hosted on DANDI. Users must comply with the license and attribution requirements of the original assets. The dandiset lists spdx:CC-BY-4.0, but please verify per-asset metadata on DANDI for any variations.
  • When using or publishing results based on these shards, cite the original DANDI dandiset and the related IBL publication.

Citation

Please cite:

If you use the Hugging Face dataset derived from these shards, also cite the HF dataset page (include the HF dataset identifier and URL)

Inspecting shards / example

Load a shard with pandas / pyarrow:

import pyarrow.parquet as pq
import pandas as pd

tbl = pq.read_table('/path/to/shard_00000.parquet')
df = tbl.to_pandas()
print(df.columns)
print(df.iloc[0])

Last updated: 2026-02-02

Downloads last month
3,655