Skip to content

Conversation

@shinaoka
Copy link
Member

Summary

This PR updates the dependency to pylibsparseir v0.8.0 and adds derivative support for basis functions.

Changes

Dependency Update

  • Updated pylibsparseir requirement from >=0.7.0,<0.8.0 to >=0.8.0,<0.9.0 in pyproject.toml

New Features

  • Added deriv(n) method to FunctionSet class for computing n-th derivatives
  • Added deriv(n) method to PiecewiseLegendrePolyVector class
  • Added helper functions funcs_clone and funcs_deriv to support derivative computation

Bug Fixes

  • Fixed test compatibility issue in test_core.py (added missing newline at end of file)

Documentation

  • Added AGENTS.md file documenting the AI assistant workflow for the project

Testing

  • All 95 tests pass with pylibsparseir v0.8.0
  • 8 tests skipped (as before)
  • No test failures

Compatibility

  • Backwards compatible with existing code
  • Requires pylibsparseir v0.8.0 or higher

@shinaoka shinaoka force-pushed the feature/update-pylibsparseir-to-v0.8.0 branch from 510b77f to d354389 Compare December 30, 2025 05:07
- Update pylibsparseir dependency to >=0.8.0,<0.9.0
- Add deriv() method to FunctionSet and PiecewiseLegendrePolyVector
- Fix test_core.py for compatibility with pylibsparseir v0.8.0
- All 95 tests pass with pylibsparseir v0.8.0
@shinaoka shinaoka force-pushed the feature/update-pylibsparseir-to-v0.8.0 branch from d354389 to a3e34c7 Compare December 30, 2025 05:14
@shinaoka shinaoka merged commit 5aca866 into mainline Dec 30, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants