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 DehnenBarPotential to work with zero pattern speed #584

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

jobovy
Copy link
Owner

@jobovy jobovy commented Jun 17, 2023

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

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

codecov bot commented Jun 17, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (c0d95fd) 99.91% compared to head (3aebafe) 99.91%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #584   +/-   ##
=======================================
  Coverage   99.91%   99.91%           
=======================================
  Files         198      198           
  Lines       29184    29184           
=======================================
  Hits        29160    29160           
  Misses         24       24           
Impacted Files Coverage Δ
galpy/potential/DehnenBarPotential.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 dadbee3 into main Jun 17, 2023
@jobovy jobovy deleted the dehnenbarzeropattern branch June 17, 2023 03:40
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