Skip to content

Add SO3 chordal mean smoother#1906

Merged
FlorianPfaff merged 4 commits intomainfrom
codex/add-so3-chordal-mean-smoother
Apr 28, 2026
Merged

Add SO3 chordal mean smoother#1906
FlorianPfaff merged 4 commits intomainfrom
codex/add-so3-chordal-mean-smoother

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

@FlorianPfaff FlorianPfaff commented Apr 28, 2026

Summary

  • Add SO3ChordalMeanSmoother with SO(3) projection, chordal distance, weighted chordal mean, and local sequence smoothing.
  • Export SO3ChordalMeanSmoother and the SO3CMSmoother alias from pyrecest.smoothers.
  • Add focused tests for unweighted/weighted means, MATLAB-style (3, 3, n) stacks, local smoothing, projection, invalid weights, alias export, and backend-compatible list inputs.

Validation

  • PYTHONPATH=src python -m pytest tests\smoothers -q
  • PYTHONPATH=src PYRECEST_BACKEND=pytorch python -m pytest tests\smoothers\test_so3_chordal_mean_smoother.py -q
  • PYTHONPATH=src PYRECEST_BACKEND=jax python -m pytest tests\smoothers\test_so3_chordal_mean_smoother.py -q
  • PYTHONPATH=src python -m ruff check src\pyrecest\smoothers\so3_chordal_mean_smoother.py src\pyrecest\smoothers\__init__.py tests\smoothers\test_so3_chordal_mean_smoother.py

@FlorianPfaff FlorianPfaff force-pushed the codex/add-so3-chordal-mean-smoother branch from 154b2ac to 833b6ab Compare April 28, 2026 11:41
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 28, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 7.48s
✅ JSON prettier 2 0 0 0 0.36s
✅ JSON v8r 2 0 0 19.64s
✅ MARKDOWN markdownlint 7 0 0 0 0.98s
✅ MARKDOWN markdown-table-formatter 7 0 0 0 0.3s
✅ PYTHON bandit 419 0 0 6.3s
✅ PYTHON black 419 2 0 0 9.91s
✅ PYTHON flake8 419 0 0 3.58s
✅ PYTHON isort 419 2 0 0 0.78s
✅ PYTHON mypy 419 0 0 5.52s
✅ PYTHON pylint 419 0 0 121.85s
✅ PYTHON ruff 419 2 0 0 0.08s
✅ REPOSITORY checkov yes no no 15.1s
✅ REPOSITORY gitleaks yes no no 7.48s
✅ REPOSITORY git_diff yes no no 0.03s
✅ REPOSITORY secretlint yes no no 4.31s
✅ REPOSITORY syft yes no no 2.7s
✅ REPOSITORY trivy-sbom yes no no 3.63s
✅ REPOSITORY trufflehog yes no no 18.47s
✅ YAML prettier 4 0 0 0 0.5s
✅ YAML v8r 4 0 0 23.36s
✅ YAML yamllint 4 0 0 0.45s

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_RUFF,COPYPASTE_JSCPD,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@FlorianPfaff FlorianPfaff marked this pull request as ready for review April 28, 2026 11:51
@github-actions
Copy link
Copy Markdown
Contributor

Test Results

    12 files      12 suites   4h 17m 31s ⏱️
 1 185 tests  1 185 ✅     0 💤 0 ❌
14 584 runs  11 068 ✅ 3 516 💤 0 ❌

Results for commit 4c2a2ee.

@FlorianPfaff FlorianPfaff merged commit d738f1a into main Apr 28, 2026
20 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.

1 participant