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

Reminder to fix API example for mutual_spherical_harmonic_gravity #83

Open
minervino96 opened this issue Jul 22, 2024 · 0 comments
Open

Comments

@minervino96
Copy link

The third-body acceleration example for the mutual_spherical_harmonic_gravity function states:
"we consider the spherical harmonic gravity acceleration mutually exerted between Ganymede and Io when propagating w.r.t. Jupiter"
However, the example code is:

# Create acceleration dict
acceleration_settings_on_io = dict()
# Add the acceleration to the dict
acceleration_settings_on_io["Jupiter"] = [propagation_setup.acceleration.mutual_spherical_harmonic_gravity(
     maximum_degree_of_jupiter,
     maximum_order_of_jupiter,
     maximum_degree_of_ganymede,
     maximum_order_of_ganymede,
     maximum_degree_of_io,
     maximum_order_of_io)]

While it should be:

# Create acceleration dict
acceleration_settings_on_io = dict()
# Add the acceleration to the dict
acceleration_settings_on_io["Ganymede"] = [propagation_setup.acceleration.mutual_spherical_harmonic_gravity(
     maximum_degree_of_ganymede,
     maximum_order_of_ganymede,
     maximum_degree_of_io,
     maximum_order_of_io,
     maximum_degree_of_jupiter,
     maximum_order_of_jupiter)]
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

No branches or pull requests

1 participant