Skip to content

Instantly share code, notes, and snippets.

@adrn
Created May 1, 2025 13:59
Show Gist options
  • Save adrn/afea191e23cfdbfee61249d517e60750 to your computer and use it in GitHub Desktop.
Save adrn/afea191e23cfdbfee61249d517e60750 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
pot = gp.HernquistPotential(m=1e11, c=2.5, units=galactic)
usys = SimulationUnitSystem(mass=pot.parameters["m"], length=pot.parameters["c"], G=1)
# usys = galactic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment