Skip to content

Conversation

@yarikoptic
Copy link
Collaborator

@yarikoptic yarikoptic commented Feb 14, 2024

Replaces #1352 submitted from a fork outside of bids-specification.

Add specification for microelectrode electrohpysiology datasets based on the BEP032 proposal. old google doc

Note

We meet regularly and everyone is welcome

Next meeting: insert date on URL to join

Communication channel: https://framalistes.org/sympa/info/neuroscience-data-structure


DONEs

TODOs

Issues this PR would likely to address

Issues to see being addressed while working on this BEP (likely to move above) or not (moved below):

Other issues which relate but not in scope here and provided for reference/backreference

Spreadsheet with correspondence to ProbeInterface: https://docs.google.com/spreadsheets/d/1O0bZzD-n4MjR68r1GlcH3d2JLXBLAU1PfsDceD3IPeo/edit?usp=sharing

@TheChymera TheChymera closed this Mar 7, 2024
@TheChymera TheChymera deleted the bep032 branch March 7, 2024 22:13
@TheChymera TheChymera restored the bep032 branch March 7, 2024 22:15
@TheChymera TheChymera reopened this Mar 11, 2024
@TheChymera
Copy link
Collaborator

TheChymera commented Mar 12, 2024

@TheChymera
Copy link
Collaborator

@Remi-Gau Remi-Gau changed the title [ENH] Add BEP032 (microelectrode electrophysiology) specification [ENH] microelectrode electrophysiology specification (BEP032) Apr 18, 2024
@bendichter
Copy link
Contributor

bendichter commented Nov 5, 2025

New appendix for coordinate systems: #2247

ch003 ref01 HP uV 30000 HighpassFilter n/a 500 good n/a
ch004 ref01 HP uV 30000 HighpassFilter n/a 500 bad high_noise
ch005 ref02 LFP uV 1000 HighpassFilter LowpassFilter 500 good n/a
ch006 n/a SYNC V 30000 n/a n/a 1 good n/a
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might see to add description for this value with the .json file to state where the SYNC comes from etc.


Microelectrode electrophysiology supports two approaches for specifying electrode positions:

### Default: Probe-Relative Coordinates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Default: Probe-Relative Coordinates
### Required: Probe-Relative Coordinates

## Terminology: Modality and Datatypes

The Microelectrode Electrophysiology modality encompasses recordings made with micrometer-scale electrodes,
distinguishing it from related BIDS modalities (EEG, MEG, iEEG) that use larger electrodes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please drop MEG from "EEG, MEG, iEEG", as that is too different. I suggest to order it as "(iEEG, EEG)" to sort from most related to less related.


- **`icephys`** (Intracellular Electrophysiology): Electrodes penetrate or attach to cell membranes to directly measure
intracellular potentials (mV) and cellular dynamics.
Examples: cell-attached patch clamp, whole-cell patch clamp, sharp electrode recordings.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sharp electrodes can also be used to record extracellular, especially when the exposed tip is large enough (1 um or larger). See for example https://www.thomasrecording.com/np-electrodes-fm-single-electrodes.

I find this "sharp electrode recordings" example therefore more confusing than clarifying, and therefore suggest to drop it.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about "intracellular sharp electrode recordings"? The idea was to indicate that patch-clamp is not the only option for intracellular. Also 1 um is not very sharp, patch electrodes are typically 1-2 um.

yarikoptic and others added 17 commits December 3, 2025 10:47
This reverts commit d1835cf . spotted by
seeing na na in the table.  We have height and depth so makes sense to keep width, and now we get

    ❯ git grep __probes -- src/schema/objects/columns.yaml
    src/schema/objects/columns.yaml:AP__probes:
    src/schema/objects/columns.yaml:depth__probes:
    src/schema/objects/columns.yaml:DV__probes:
    src/schema/objects/columns.yaml:height__probes:
    src/schema/objects/columns.yaml:hemisphere__probes:
    src/schema/objects/columns.yaml:manufacturer__probes:
    src/schema/objects/columns.yaml:material__probes:
    src/schema/objects/columns.yaml:  name: material__probes
    src/schema/objects/columns.yaml:ML__probes:
    src/schema/objects/columns.yaml:type__probes:
    src/schema/objects/columns.yaml:width__probes:

Ideally the rendered should have failed and not just added na's row but
that shouldn't be fixed here...
Reorganize coordinate system documentation in microelectrode
electrophysiology spec by removing standalone "Coordinate Systems
for Electrode Positions" section and consolidating the information
into a new "Electrode Position Coordinates" subsection under the
electrodes description. This improves document flow and places
coordinate guidance closer to the relevant table definition.
Add new appendix documenting stereotaxic coordinate conventions for
intracranial probe placement during surgery, including:
- Anatomical reference points (Bregma and Lambda)
- AP/ML/DV coordinate system conventions
- Angle definitions for probe orientation (AP, ML, rotation)
- Reference to BrainSTEM documentation source
Add new section defining restricted keywords for MicroephysCoordinateSystem
field in coordsystem.json for icephys and ecephys datasets. Includes:
- Pixels (2D electrode localization)
- Stereotaxic (generic animal neuroscience coordinates)
- AllenCCFv3 (mouse brain reference space)
- WaxholmSpace (rat brain coordinate system)
- WistarRatAtlas
Document the stream_id column format for linking channels to their
corresponding data streams. Include specifications for:
- NWB files with internal HDF5 paths to ElectricalSeries objects
- NIX files referencing data arrays following NIX/Neo organization
- Handling multiple data streams with comma-separated lists
- Cross-file references using filename:path syntax
docs(ephys): add stream_id column documentation for channels.tsv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BEP ephys Proposed BEP see https://bids.neuroimaging.io/collaboration/governance.html#proposed-bep

Projects

None yet

Development

Successfully merging this pull request may close these issues.