Skip to content

speed up iter_evoked? #6250

Closed
Closed

Description

@jona-sassenhagen

I (mis)use epochs.iter_evokeds for confidence intervals from plot_compare_evokeds a lot. That is really slow. Is there some trivial way for speeding up iter_evokeds? (Instead of doing the sensible thing and speeding up plot_compare_evokeds itself ...)

I don't see one, it seems the problem is it's calling Epochs.next and creating 100s of Evokeds via EvokedArray, which is simply inherently slow.

Activity

  1. mmagnuski commented on Apr 28, 2019

    @mmagnuski
    Member

    I don't know how iter_evokeds works exactly but I assume it could create the Evoked object only once and only change the .data then (if it doesn't do this already).

  2. agramfort commented on Apr 29, 2019

    @agramfort
    SponsorMember
  3. jona-sassenhagen commented on May 4, 2019

    @jona-sassenhagen
    ContributorAuthor

    Thanks, might be worth doing. I will self assign, although this is low priority I think because I'm abusing things here.

  4. added a commit that references this issue on Dec 28, 2019
    ef627d4
  5. agramfort commented on Dec 28, 2019

    @agramfort
    SponsorMember

    see #7164

  6. added a commit that references this issue on Jan 5, 2020
    9de453a
  7. added a commit that references this issue on Jan 6, 2020
    c4d352a
  8. added 2 commits that reference this issue on Apr 6, 2020
    3023d85
    172335e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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