Skip to content

Use the toy potential time unit when fitting O2GF frequencies - #683

Merged
adrn merged 2 commits into
adrn:mainfrom
rpinho:fix-o2gf-frequency-time-units
Nov 26, 2026
Merged

adrn merged 2 commits into
adrn:mainfrom
rpinho:fix-o2gf-frequency-time-units

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes

Changing an orbit's time unit changes the frequencies reported by find_actions_o2gf. Integrate a harmonic-oscillator orbit and pass the same samples with times expressed in Myr and kyr. The patch converts input times to the toy potential's time unit before fitting the angles. The test checks the oscillator frequencies and compares results for Myr, kyr, and unitless times.

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

@adrn adrn added this to the v1.13 milestone Nov 19, 2026
@adrn
adrn force-pushed the fix-o2gf-frequency-time-units branch from 8a399cf to 4f8050d Compare November 26, 2026 01:00
Also move the changelog entry next to the other find_actions_o2gf() entries so
it doesn't conflict with sibling PRs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@adrn
adrn force-pushed the fix-o2gf-frequency-time-units branch from 4f8050d to a7904fd Compare November 26, 2026 01:03
@adrn
adrn enabled auto-merge (squash) November 26, 2026 01:47
@adrn
adrn merged commit f025729 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