{"id":41332538,"url":"https://github.com/m4opt/aep8","last_synced_at":"2026-01-23T06:18:28.874Z","repository":{"id":292449698,"uuid":"980945097","full_name":"m4opt/aep8","owner":"m4opt","description":"Calculate the flux of electrons or protons trapped in the Earth's radiation belt using the NASA AE8/AP8 model from IRBEM","archived":false,"fork":false,"pushed_at":"2025-12-29T21:16:37.000Z","size":790,"stargazers_count":1,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-30T07:39:41.767Z","etag":null,"topics":["astronomy","cubesat","electron","heliophysics","magnetosphere","nasa","proton","radiation","satellite","space-weather"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m4opt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"licenses/IRBEM_LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-10T02:21:14.000Z","updated_at":"2025-12-28T02:05:46.000Z","dependencies_parsed_at":"2025-05-10T03:38:03.014Z","dependency_job_id":"7d9c4601-7ac9-472d-bba4-8c493c241132","html_url":"https://github.com/m4opt/aep8","commit_stats":null,"previous_names":["m4opt/aep8"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/m4opt/aep8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4opt%2Faep8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4opt%2Faep8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4opt%2Faep8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4opt%2Faep8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m4opt","download_url":"https://codeload.github.com/m4opt/aep8/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4opt%2Faep8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","cubesat","electron","heliophysics","magnetosphere","nasa","proton","radiation","satellite","space-weather"],"created_at":"2026-01-23T06:18:28.325Z","updated_at":"2026-01-23T06:18:28.861Z","avatar_url":"https://github.com/m4opt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AEP8\n\n[![Python Package Index status](https://img.shields.io/pypi/v/aep8)](https://pypi.org/project/aep8/)\n[![codecov](https://codecov.io/gh/m4opt/aep8/graph/badge.svg?token=g3n8RKrekt)](https://codecov.io/gh/m4opt/aep8)\n\n![Map of integral min electron flux at 500 km and 1 MeV](https://github.com/m4opt/aep8/raw/main/test/baseline/test_plot_flux_integral-min-e.png)\n\nThis Python package calculates the estimated flux of electrons or protons trapped in the Earth's radiation belt. It is a Python wrapper for the [NASA AE8/AP8 model](https://prbem.github.io/IRBEM/api/radiation_models.html#ae8-and-ap8-models) in the [IRBEM](https://prbem.github.io/IRBEM/) package. It provides an [Astropy](https://www.astropy.org)-friendly interface, allowing you to specify the location using [Astropy coordinates](https://docs.astropy.org/en/stable/coordinates/index.html), the time in [Astropy time](https://docs.astropy.org/en/stable/time/index.html), and the energy using [Astropy units](https://docs.astropy.org/en/stable/units/index.html). You can pass it a single time and location, or arrays of times and locations.\n\n## To install\n\n```\npip install aep8\n```\n\n## Example\n\n```pycon\n\u003e\u003e\u003e from astropy.coordinates import EarthLocation\n\u003e\u003e\u003e from astropy.time import Time\n\u003e\u003e\u003e from astropy import units as u\n\u003e\u003e\u003e from aep8 import flux\n\u003e\u003e\u003e loc = EarthLocation.from_geodetic(15 * u.deg, -45 * u.deg, 300 * u.km)\n\u003e\u003e\u003e time = Time('2025-01-01 18:37:22')\n\u003e\u003e\u003e energy = 10 * u.MeV\n\u003e\u003e\u003e flux(loc, time, energy, kind='integral', solar='max', particle='p')\n\u003cQuantity 3.04495297 1 / (s cm2)\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4opt%2Faep8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4opt%2Faep8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4opt%2Faep8/lists"}