{"id":20652467,"url":"https://github.com/thesofakillers/computational-physics","last_synced_at":"2026-04-20T17:01:50.893Z","repository":{"id":70961840,"uuid":"163097714","full_name":"thesofakillers/Computational-Physics","owner":"thesofakillers","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-21T22:51:22.000Z","size":1780,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T10:43:42.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thesofakillers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-12-25T16:38:03.000Z","updated_at":"2019-01-21T22:51:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"d006c5bb-d4c0-41d9-8b94-c7a510c31cb5","html_url":"https://github.com/thesofakillers/Computational-Physics","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/thesofakillers%2FComputational-Physics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesofakillers%2FComputational-Physics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesofakillers%2FComputational-Physics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesofakillers%2FComputational-Physics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thesofakillers","download_url":"https://codeload.github.com/thesofakillers/Computational-Physics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242752244,"owners_count":20179474,"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":[],"created_at":"2024-11-16T17:35:06.335Z","updated_at":"2026-04-20T17:01:45.869Z","avatar_url":"https://github.com/thesofakillers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computational Physics\nOriginally made for my University's Department of Physics' course _Laboratory Skills and Electronics_ under the sub-module _Computational Physics_, as part of the coursework in 2017/2018.\n\nThis repository contains a series of python assignments centered around Physics problems. The problems are designed with the aim of exposing undergraduate physics students to the world of computational physics, rendering them aware of the multitude of avenues available to them when it comes to problem solving.\n\nThe problems in the first 4-5 weeks are rather simple before ramping up in difficulty in the final 3 or 4 weeks.\n\n## Structure\nThis repository is generally structured as follows:\n```bash\n├── Week 1\n│   ├── CP_1.pdf\n│   └── cp_1.py\n├── Week 2\n│   ├── CP_2.pdf\n│   └── cp_2.py\n├── Week 3\n│   ├── CP_3.pdf\n│   └── cp_3.py\n├── Week 4\n│   ├── cp_4.pdf\n│   └── cp_4.py\n├── Week 5\n│   ├── CP_5.pdf\n│   └── cp_5.py\n├── Week 6\n│   ├── CP_6.pdf\n│   ├── cp_6.py\n│   └── cp_6.pyc\n├── Week 7\n│   ├── CP_7.pdf\n│   └── cp_7.py\n└── Week 8\n    ├── CP_8.pdf\n    └── cp_8.py\n```\nThe CP_X.pdf files contain the assignment briefs, while the cp_X.py files are my actual solutions\n\n## Pre-Requisites\nThis work was originally made in [Python 2.7.X](https://www.python.org/downloads/release/python-2715/).\nI believe it _should_ work with Python 3 aswell but I have not tested this.\n\nThe following packages should be installed:\n- [NumPy](http://www.numpy.org/)\n- [matplotlib](https://matplotlib.org/)\n- [SciPy](https://www.scipy.org/)\n\nThese can all be installed via [pip](https://pypi.org/project/pip/) with `pip install --user \u003cpackage_name\u003e`.\nNB underscores should be changed to hyphens when installing.\n\n## Usage\nEach of the scripts can be run by simply ensuring you are in the desired `week X` directory and entering `python cp_x.py` into the terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesofakillers%2Fcomputational-physics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesofakillers%2Fcomputational-physics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesofakillers%2Fcomputational-physics/lists"}