{"id":26091557,"url":"https://github.com/pmocz/pic-python","last_synced_at":"2025-04-12T06:42:40.505Z","repository":{"id":49732474,"uuid":"296178781","full_name":"pmocz/pic-python","owner":"pmocz","description":"Vectorized Plasma PIC code (Python)","archived":false,"fork":false,"pushed_at":"2023-07-21T07:08:28.000Z","size":911,"stargazers_count":73,"open_issues_count":1,"forks_count":27,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T06:42:36.277Z","etag":null,"topics":["astrophysics","particle-in-cell","plasma-physics","scientific-computing","tutorial","two-stream-instability"],"latest_commit_sha":null,"homepage":"https://medium.com/swlh/create-your-own-plasma-pic-simulation-with-python-39145c66578b","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmocz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-09-17T00:35:55.000Z","updated_at":"2025-04-11T21:06:51.000Z","dependencies_parsed_at":"2025-03-09T10:34:04.420Z","dependency_job_id":null,"html_url":"https://github.com/pmocz/pic-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmocz%2Fpic-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmocz%2Fpic-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmocz%2Fpic-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmocz%2Fpic-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmocz","download_url":"https://codeload.github.com/pmocz/pic-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530612,"owners_count":21119592,"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":["astrophysics","particle-in-cell","plasma-physics","scientific-computing","tutorial","two-stream-instability"],"created_at":"2025-03-09T10:21:31.100Z","updated_at":"2025-04-12T06:42:40.462Z","avatar_url":"https://github.com/pmocz.png","language":"Python","readme":"# pic-python\nVectorized Plasma PIC code (Python)\n\n## Create Your Own Plasma PIC Simulation (With Python)\n\n### Philip Mocz (2020) Princeton Univeristy, [@PMocz](https://twitter.com/PMocz)\n\n### [📝 Read the Algorithm Write-up on Medium](https://medium.com/swlh/create-your-own-plasma-pic-simulation-with-python-39145c66578b)\n\nSimulate the 1D Two-Stream Instability\n\nCode calculates the motions of electrons under the Poisson-Maxwell equation\nusing the Particle-In-Cell (PIC) method\n\n#### How to run\nFirst, ensure you have the prereq packages installed, then run the Python script:\n```\npip install -r requirements.txt\npython pic.py\n```\n\n![Simulation](./pic.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmocz%2Fpic-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmocz%2Fpic-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmocz%2Fpic-python/lists"}