Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow SteadyLogSpiralPotential to work with zero pattern speed #588

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

jobovy
Copy link
Owner

@jobovy jobovy commented Jun 28, 2023

This currently didn't work, because the formation and steady-state times were always specified in terms of the spiral period, which is infinite for zero pattern speed. Fixed by making them actual times when the pattern speed is zero. Equivalent of #584 but for the SteadyLogSpiralPotential.

@jobovy jobovy added this to the v1.9 milestone Jun 28, 2023
@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (51e8732) 99.91% compared to head (796b38d) 99.91%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #588   +/-   ##
=======================================
  Coverage   99.91%   99.91%           
=======================================
  Files         198      198           
  Lines       29161    29161           
=======================================
  Hits        29137    29137           
  Misses         24       24           
Impacted Files Coverage Δ
galpy/potential/SteadyLogSpiralPotential.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jobovy jobovy merged commit d3607dd into main Jun 28, 2023
@jobovy jobovy deleted the steadyspiralomega0 branch June 28, 2023 03:21
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