Skip to content

ENH: coregistration instance without file #2772

Closed

Description

@kingjr

When using the coregistration, the inst param can only be a file. It'd be great if it accepted actual instances too (@christianbrodbeck ?)

e.g.

from mne.gui import coregistration
coregistration(inst=raw)

Activity

  1. agramfort commented on Jan 7, 2016

    @agramfort
    SponsorMember
  2. christianbrodbeck commented on Jan 7, 2016

    @christianbrodbeck
    Member

    Hm, I think that would require some redesign of the model because the relation from filename to object is built into the traits model currently

    On Jan 6, 2016, at 5:38 PM, Jean-Rémi KING <[email protected] mailto:[email protected]> wrote:

    When using the coregistration, the inst param can only be a file It'd be great if it accepted actual instances too (@christianbrodbeck https://github.com/christianbrodbeck ?)

    eg

    from mnegui import coregistration
    coregistration(inst=raw)
    —
    Reply to this email directly or view it on GitHub #2772.

  3. changed the title [-]EHN: coregistration instance without file[/-] [+]ENH: coregistration instance without file[/+] on Feb 3, 2016
  4. kingjr commented on Oct 21, 2016

    @kingjr
    MemberAuthor

    Any foreseeable progress on this?

  5. larsoner commented on Feb 16, 2017

    @larsoner
    Member

    In theory this should be doable, all you need is a good info['dig']. So we could make it so that the trait is actually Instance(Info) or better eventually Instance(Digitization), and you'd pass inst.info['dig'] to it. I'll mark it as part of the digitization stuff and hopefully tackle it soon.

  6. self-assigned this
    on Mar 29, 2017
  7. larsoner commented on Apr 4, 2018

    @larsoner
    Member

    Copied this over to #3934

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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