Skip to content

Automatic recognition of channel contents #204

@smoia

Description

@smoia

Detailed Description

The content of a BIDS physiological file contains is described in its companion .json file - where an important entry contains the column header.
At the moment, phys2bids fills that entry either using the name of the channels from the original file or using the list that the user provides with the option -chnames.
Look at the channels from our tutorial file,
tutorial_file
It's quite easy for a human (that has a little acquaintance with physiological recordings) to make an educated guess on what is the content of each channel. We could write a function that does that "educated guess" and suggests a column header for each channel to the user.

Context / Motivation

BIDS suggests specific column headers for the files, and it would be great if we could help the standardisation of this report by adding such function.

Possible Implementation

The first thing that comes up in my mind would be a sort of pattern recognition function/comparison with a database of physiological recordings.
Triggers are normally spiky (or blocky), pulses have quite a recognisable pattern, respiration another one. Chest expansion-based respiration recordings are normally smoother than others, while O2 and CO2 could have tidal shape responses and they are normally the inverse of each other.

@RayStick @BrightMG @CesarCaballeroGaudes and @rmarkello might have even better ideas!

Metadata

Metadata

Assignees

Labels

BrainHackThis issue is suggested for BrainHack participants!EnhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions