Skip to content

ENH: Add condition SNR estimation #273

@larsoner

Description

@larsoner

One way to get a handle on single-subject SNR is to compute the sliding estimator as a function of time between two conditions, as in:

https://mne.tools/dev/auto_tutorials/machine-learning/plot_sensors_decoding.html#temporal-decoding

I propose adding a new report argument time_decoding that is a dict. For funloc this could be for example:

report:
  time_decoding: {analysis: AV, contrast_pair: ['Auditory/Standard', 'Visual/Standard']}

This would add a single plot to the report which is the time-resolved decoding for the first condition versus the second using basically the same code as in the MNE example. Eventually (or from the start) this could be made into a list of dicts.

@drammock @ktavabi would you find this useful? Happy with the proposed YAML API?

This would be a good first mnefun PR for @NeuroLaunch in the coming weeks, feel free to comment as well

EDIT: Edited to incorporate @drammock's suggestions

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