mne-bids-pipeline: how to add custom metadata to epochs?

Hello!
This question is specific to the mne-bids-pipeline.
I would like to add a column of parametric values to my metadata, for instance a value of confidence or surprise. I have events coded according to my conditions, and the automatically created metadata reflect those as expected.
Which would be the best way to now add my custom column, e.g. read from a pandas data frame? Should I just add it manually to the epochs metadata, or can the pipeline handle it?
I have the impression that this was discussed before, but I cannot find anything in the documentation or the forum.
Thanks in advance for any hints!

Hello @Sophie, this was recently added and we should probably cut a new release:

I believe a release is currently blocked by:

But if you’re willing to use the dev version, you should be able to supply custom metadata already.

cc @drammock @larsoner

Ciao,
Richard

2 Likes

Great news @richard! We will try with the dev version and keep checking for the new release.
Thank you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.