Skip to content

Behavior notes #6

@weiglszonja

Description

@weiglszonja

Behavior data compatibility for example session

Goal: check whether the interfaces in IBL-to-nwb cover the available behavior files for this session.


✅ Already supported by existing interfaces

BrainwideMapTrialsInterface covers:

_ibl_trials.choice.npy
_ibl_trials.contrastLeft.npy
_ibl_trials.contrastRight.npy
_ibl_trials.feedbackType.npy
_ibl_trials.feedback_times.npy
_ibl_trials.firstMovement_times.npy
_ibl_trials.goCue_times.npy
_ibl_trials.probabilityLeft.npy
_ibl_trials.response_times.npy
_ibl_trials.rewardVolume.npy
_ibl_trials.stimOff_times.npy
_ibl_trials.stimOn_times.npy

WheelInterface covers:

_ibl_wheel.position.npy
_ibl_wheel.timestamps.npy
_ibl_wheelMoves.intervals.npy
_ibl_wheelMoves.peakAmplitude.npy

🚧 Needs modification of existing interface (BrainwideMapTrialsInterface)

The following trial fields exist but are not currently added to the NWB outputs:

_ibl_trials.goCueTrigger_times.npy
_ibl_trials.intervals.npy
_ibl_trials.intervals_bpod.npy
_ibl_trials.laserProbability.npy
_ibl_trials.quiescencePeriod.npy
_ibl_trials.table.pqt

❌ Requires NEW interfaces (passive behavior)

No existing interface reads these files:

_ibl_passiveGabor.table.csv
_ibl_passivePeriods.intervalsTable.csv
_ibl_passiveRFM.times.npy
_ibl_passiveStims.table.csv

Summary

File group Status Required action
Trials (subset) ✅ supported no action
Wheel ✅ supported no action
Extra trial fields 🚧 not loaded extend BrainwideMapTrialsInterface
Passive behavior ❌ not supported implement new passive interfaces

Next steps

  1. Adopt existing BrainwideMapTrialsInterface to modified trial fields
  2. Implement new interfaces for passive _ibl_passive* files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions