Skip to content

Q? Epochs default SSP #3664

Closed
Closed

Description

@kingjr

What is the motivation of having proj=True by default when creating mne.Epochs()?

It's been a difficult to track annoyance in multiple cases for me :(. IMO this kind of operation should be explicitly asked by the user.

Activity

  1. larsoner commented on Oct 14, 2016

    @larsoner
    Member
  2. jona-sassenhagen commented on Oct 14, 2016

    @jona-sassenhagen
    Contributor

    @kingjr you essentially want proj= to default to something so it raises if it's not user set?

  3. kingjr commented on Oct 14, 2016

    @kingjr
    MemberAuthor

    @jona-sassenhagen no I want proj=False by default. I keep forgetting that when I just epoch my raw data and extract the numpy array for subsequent analyses, an SSP has actually been performed (which for instance screw me up for an hour while trying to figure re-implement @Eric89GXL's OTP). I've also encountered got stuck because of this with Riemannian's functions, because the covariance isn't positive definite anymore.

    I think I'm just going to write my own Epochs class from no on; it's just crazy to have to check the baseline and the proj every time.

  4. jona-sassenhagen commented on Oct 14, 2016

    @jona-sassenhagen
    Contributor

    Ah makes sense. I'm not sure proj=True is the least-surprise case for EEG either.

  5. agramfort commented on Oct 15, 2016

    @agramfort
    SponsorMember
  6. kingjr commented on Oct 18, 2016

    @kingjr
    MemberAuthor

    For now I'm fine, just explicitly set the Epochs params. It's more like an API problem IMO, but I understand how the inertia limits this kind of correction.

  7. dengemann commented on Oct 20, 2016

    @dengemann
    Member

    It was not so obvious that ssp projs would become obsolete for many. My
    approach would also be: just delete them from the info if you have them in
    your data. Working with neuromag data means handling SSP explicitly very
    often. Maybe we should document this. Of course we have a bunch of such
    parameters, e.g. baseline, which is rarely useful for time frequency/
    resting state etc. and can give surprising results. I would baseline prefer
    to be None by default. But inertia ...
    On Tue, 18 Oct 2016 at 23:22, Jean-Rémi KING [email protected]
    wrote:

    For now I'm fine, just explicitly set the Epochs params. It's more like an
    API problem IMO, but I understand how the inertia limits this kind of
    correction.

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub
    #3664 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe-auth/AB0fisP2DdwlCTh6J99F2xbWDV27jwgxks5q1TiBgaJpZM4KXhCf
    .

  8. larsoner commented on Feb 14, 2017

    @larsoner
    Member

    @kingjr also doing raw.del_proj() is a one-liner that should get you where you want to be.

    We'll keep this proj=False idea in mind when dealing with #2310. In the meantime I'll close this.

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

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