Skip to content

Implement Python Array API Standard 2024.12 for array backend abstraction #19

Description

@Hugo-W

Description

Implement the Python Array API Standard 2024.12 to support array backend abstraction in pyEEG. This will allow the library to use xp instead of np, enabling the use of alternative array libraries like jax or pytorch.

Tasks

  • Replace np with xp in core array operations.
  • Add support for jax and pytorch backends via the Array API Standard.
  • Ensure all array operations are compatible with the Array API Standard.
  • Add tests for array backend abstraction.

Acceptance Criteria

  • pyEEG can use jax or pytorch as array backends.
  • All existing functionality works with the Array API Standard.
  • Backward compatibility with numpy is maintained.

Priority

Low

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions