Skip to content

Minor: epoch counts in epochs.plot() starts with 1 instead of 0 #7260

Closed

Description

@SophieHerbst

When using epochs.plot() to display epochs, e.g. to manually identify bad ones, the epoch numbers displayed on the plot start with 1, not 0, while epochs.drop() expects counts to start from 0.
[I am aware that one can use the interactive plot + annotations to manually reject epochs, but still think it would avoid confusion if the counters match.]

Activity

  1. agramfort commented on Jan 28, 2020

    @agramfort
    SponsorMember
  2. SophieHerbst commented on Jan 28, 2020

    @SophieHerbst
    ContributorAuthor

    Yes, at least in my output ICA components are numbered from 0. Can the same be done for the epochs?

  3. agramfort commented on Jan 28, 2020

    @agramfort
    SponsorMember
  4. larsoner commented on Jan 28, 2020

    @larsoner
    Member

    Sounds good to me, @SophieHerbst can you make a PR?

  5. SophieHerbst commented on Jan 28, 2020

    @SophieHerbst
    ContributorAuthor

    I can give it a try in the next couple of days.

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