Skip to content

topomap plots of dual- or triaxial OPM data #13781

Closed

Description

@laurabpaulsen

Describe the new feature or enhancement

Plotting of topomaps fail for dual- or triaxial OPM systems because multiple channels share locations but differ in orientation. This holds for many plotting functions, such as Evoked.plot_joint() and ICA.plot_components().

Describe your proposed implementation

A potential solution would be to handle OPM axes analogously to how magnetometers and gradiometers are handled, where a plot is generated for each channel type: automatically group channels by orientation (e.g., radial vs tangential) and generate separate topomaps.

Describe possible alternatives

The grouping (tangential/radial) could either be specified by the user or automatically inferred from sensor orientation vectors relative to a fitted head sphere

Additional context

No response

Activity

  1. PragnyaKhandelwal commented on Apr 6, 2026

    @PragnyaKhandelwal
    Contributor

    This is a great point, @laurabpaulsen. It feels like a pretty deep architectural shift since the topomap engine would need to learn how to split these axes automatically @larsoner, given the 1.12 push is happening right now, should this be there for 1.13 roadmap instead?

  2. larsoner commented on Apr 6, 2026

    @larsoner
    Member

    Yeah it would be great to have something like this! It'll require a bit of work, see #13144 and #11579 for some related discussions

  3. PragnyaKhandelwal commented on Apr 6, 2026

    @PragnyaKhandelwal
    Contributor

    Thanks for the pointers, @larsoner. I’ll dig into those issues and the coordinate math once the current release rush is over. Definitely feels like a bigger project to plan out once things settle down.

  4. PragnyaKhandelwal commented on Jul 7, 2026

    @PragnyaKhandelwal
    Contributor

    Hi @laurabpaulsen, just wanted to mention that the OPM topomap grouping functionality you described was implemented through PRs #13825, #13842, #13847 and #13866 which are now merged into main. The fix automatically handles colocated OPM channels by grouping them for separate topomaps as you suggested. Feel free to test on main and let us know if it covers your use case!

  5. laurabpaulsen commented on Oct 20, 2026

    @laurabpaulsen
    Author

    Hi @PragnyaKhandelwal! Sorry for the long delay in getting back to you. I've tested on my dataset now, and the plotting functions work without problems now - thank you for your work on 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions