Skip to content

Adding ability to get minimum and maximum peaks from evoked object #12381

@withmywoessner

Description

@withmywoessner

Describe the new feature or enhancement

Adds the ability to find minimum and maximum peaks not just negative and positive.

Describe your proposed implementation

Append a simple conditional to the _get_peak() function.
Usage:
evoked.get_peak(mode="max")

Describe possible alternatives

N/A

Additional context

No response

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