{"id":22215738,"url":"https://github.com/jobovy/galpy","last_synced_at":"2026-02-27T19:50:58.209Z","repository":{"id":1650035,"uuid":"2375854","full_name":"jobovy/galpy","owner":"jobovy","description":"Galactic Dynamics in python","archived":false,"fork":false,"pushed_at":"2025-05-05T23:45:55.000Z","size":36879,"stargazers_count":240,"open_issues_count":4,"forks_count":107,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-05-11T10:50:32.564Z","etag":null,"topics":["astronomy","astrophysics","astropy-affiliated","dynamics","physics","python","scientific-computing"],"latest_commit_sha":null,"homepage":"https://www.galpy.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jobovy.png","metadata":{"files":{"readme":"README.dev","changelog":"HISTORY.txt","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.txt","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-09-13T03:20:30.000Z","updated_at":"2025-05-11T10:15:24.000Z","dependencies_parsed_at":"2023-10-02T04:22:24.610Z","dependency_job_id":"dcf4887a-04c1-422b-a320-04abb2713459","html_url":"https://github.com/jobovy/galpy","commit_stats":{"total_commits":7339,"total_committers":39,"mean_commits":"188.17948717948718","dds":0.5578416678021529,"last_synced_commit":"8d3957b080df257da1b09ccfda5340138f5c0592"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobovy%2Fgalpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobovy%2Fgalpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobovy%2Fgalpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobovy%2Fgalpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jobovy","download_url":"https://codeload.github.com/jobovy/galpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259384,"owners_count":22040820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astronomy","astrophysics","astropy-affiliated","dynamics","physics","python","scientific-computing"],"created_at":"2024-12-02T21:42:39.789Z","updated_at":"2026-02-27T19:50:58.164Z","avatar_url":"https://github.com/jobovy.png","language":"Python","funding_links":[],"categories":["Uncategorized","فیزیک","Repositories"],"sub_categories":["Uncategorized","کار با زمان و تقویم","Other"],"readme":"Develop README\n==============\n\nAdding a potential to the C integrator\n--------------------------------------\n\n1) Implement the potential in a .c file under\npotential/potential_c_ext. Look at\npotential/potential_c_ext/LogarithmicHaloPotential.c for the right\nformat\n\n2) Add your new potential to\npotential/potential_c_ext/galpy_potentials.h\n\n3) Edit the code under orbit/orbit_c_ext/integratePlanarOrbit.c to\nset up your new potential (in the 'parse_leapFuncArgs' function)\n\n4) Edit the code in orbit/integratePlanarOrbit.py to set up your\nnew potential\n\n5) Edit the code under orbit/orbit_c_ext/integrateFullOrbit.c to\nset up your new potential (in the 'parse_leapFuncArgs_Full' function)\n\n6) Edit the code in orbit/integrateFullOrbit.py to set up your\nnew potential\n\n7) Finally, add 'self.hasC= True' to the initialization of the\npotential in question (after the initialization of the super class)\n\n8) It should work now!\n\n9) If you implement the second derivatives of the potential necessary\nto integrate phase-space volumes, also set self.hasC_dxdv=True to the\ninitialization of the potential in question.\n\n10) If you add a potential that gets passed to C as a list, you need\nto edit orbit/integrateLinearOrbit.py and\norbit/orbit_c_ext/integrateLinearPotential.c to parse it properly (for\nregular 3D potentials this works out of the box).\n\n11) If you add a 1D potential, do the steps above, but for\nintegrateLinearOrbit.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjobovy%2Fgalpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjobovy%2Fgalpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjobovy%2Fgalpy/lists"}