Skip to content

Consistency in plot_topomap APIs #4122

Open

Description

@hubertjb

The evoked.plot_topomap function has parameters times and average to specify the times and range to average over:
https://github.com/mne-tools/mne-python/blob/master/mne/evoked.py#L333

At the same time, the plot_topomap method in AverageTFR has parameters tmin and tmax:
https://github.com/mne-tools/mne-python/blob/master/mne/time_frequency/tfr.py#L1279

Talking with @jona-sassenhagen, I guess these two APIs should be uniformised?

Activity

  1. jona-sassenhagen commented on Mar 29, 2017

    @jona-sassenhagen
    Contributor

    See #4116

    :D

  2. agramfort commented on Mar 29, 2017

    @agramfort
    SponsorMember
  3. larsoner commented on Apr 4, 2018

    @larsoner
    Member

    Closing since it's not clear what the unification would be, but feel free to reopen if you have an idea

  4. jona-sassenhagen commented on Apr 4, 2018

    @jona-sassenhagen
    Contributor

    Well, TFR.plot_topomap could lose tmin and tmax and gain times and average instead?

  5. larsoner commented on Apr 4, 2018

    @larsoner
    Member

    Ahh okay, based on what @agramfort said I thought it would be more complicated

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