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
Description
Implement the Python Array API Standard 2024.12 to support array backend abstraction in pyEEG. This will allow the library to use
xpinstead ofnp, enabling the use of alternative array libraries likejaxorpytorch.Tasks
npwithxpin core array operations.jaxandpytorchbackends via the Array API Standard.Acceptance Criteria
jaxorpytorchas array backends.Priority
Low