Skip to content

Honor the median option for Staeckel focal lengths - #681

Merged
adrn merged 2 commits into
adrn:mainfrom
rpinho:fix-staeckel-delta-median
Nov 26, 2026
Merged

adrn merged 2 commits into
adrn:mainfrom
rpinho:fix-staeckel-delta-median

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes

Calling get_staeckel_fudge_delta with median=False returns the median for an orbit. Integrate an orbit and request focal lengths for every time sample to see the missing time axis. The patch takes the median only when requested for an orbit. The test compares the output for one and two orbits with evaluation at each phase-space sample.

Checklist

  • Did you add tests?
  • Did you add documentation for your changes?
  • Did you reference any relevant issues?
  • Did you add a changelog entry? (see CHANGES.rst)
  • Are the CI tests passing?
  • Is the milestone set?

🤖 Generated with Claude Code

https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

@rpinho

rpinho commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Let me know if you have any thoughts on this one.

@adrn
adrn force-pushed the fix-staeckel-delta-median branch from 52cebf4 to 2aaec44 Compare November 26, 2026 00:55
@adrn adrn added this to the v1.13 milestone Nov 26, 2026
@adrn
adrn force-pushed the fix-staeckel-delta-median branch from 2aaec44 to e28e58f Compare November 26, 2026 01:03
@adrn
adrn enabled auto-merge (squash) November 26, 2026 01:47
@adrn
adrn merged commit 35cde65 into adrn:main Nov 26, 2026
28 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