{"id":13764806,"url":"https://github.com/Sinan81/shut-up-and-calculate","last_synced_at":"2025-05-10T20:31:15.523Z","repository":{"id":165037450,"uuid":"618287133","full_name":"Sinan81/shut-up-and-calculate","owner":"Sinan81","description":"advanced solid state physics calculations with tight binding models","archived":false,"fork":false,"pushed_at":"2025-04-29T13:58:00.000Z","size":92,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T14:52:44.818Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sinan81.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,"zenodo":null}},"created_at":"2023-03-24T06:26:34.000Z","updated_at":"2025-04-02T02:14:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ebda547-9073-4ec6-9863-d5d2b7b29e34","html_url":"https://github.com/Sinan81/shut-up-and-calculate","commit_stats":null,"previous_names":["sinan81/shut-up-and-calculate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sinan81%2Fshut-up-and-calculate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sinan81%2Fshut-up-and-calculate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sinan81%2Fshut-up-and-calculate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sinan81%2Fshut-up-and-calculate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sinan81","download_url":"https://codeload.github.com/Sinan81/shut-up-and-calculate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253480406,"owners_count":21915246,"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-08-03T16:00:29.317Z","updated_at":"2025-05-10T20:31:10.496Z","avatar_url":"https://github.com/Sinan81.png","language":"Python","funding_links":[],"categories":["Condensed Matter Physics"],"sub_categories":["Sound"],"readme":"This project is about plotting various standard properties of 2-dimensional tight-binding hamiltonians.\n\nKeywords: computational condensed matter physics, Fermi surface, tight binding approximation, energy bands, cuprates, two-dimensional systems, many body physics\n\nOur guiding principles are:\n* \"Keep it simple stupid!\" (KISS) Avoid clever programming stuff, and reduce the barrier to get started and contribute!\n* \"Shut up and calculate!\" Richard Feynman?\n\n# Create a virtual python environment\n\nDue to tkinter dependency for plotting, using a conda environment is preferred. Install miniconda: https://docs.conda.io/en/latest/miniconda.html Then create a conda environment like:\n```\nconda env create -f ./conda_environment.yml\nconda env activate fermi\n```\n\n# Usage\n\n```python\nimport warnings\nwarnings.filterwarnings('ignore')\nfrom tba import *\nget_list_of_models()\nx = System(model=cuprate_single_band)\nx.plot_bands()\nx.plot_Fermi_surface_contour()\nx.filling_vs_energy()\n# calculate charge susceptibility \\chi_c\nx.chic.plot_vs_q()\n```\n\n# References\nThe following references are recommended for topics discussed in this repository:\n* Piers Coleman, Introduction to Many Body Physics, 2015, Cambridge University Press\n* Ashcroft \u0026 Mermin, Solid State Physics\n\n# List of Topics\n\n[Notation basics](docs/basics.md)\n\n[Energy bands, Fermi Surface, Density of States](docs/bands.md)\n\n[Susceptibility](docs/susceptibility.md)\n\n[Random Phase Approximation (RPA)](docs/rpa.md)\n\n# To-Do\n- Multiband susceptibility\n- Extended RPA (with ladder diagrams and non-local interactions)\n- Adaptive susceptibility plots using python adaptive or scikit-optimize\n- Mean field and broken symmetry calculations, and coexisting orders\n- pytests etc\n\n\n# Example Visuals\n\n\u003cp float='left'\u003e\n  \u003cimg src='images/tetra/cuprate_three_band_energy_bands.png', width=400\u003e\n  \u003cimg src='images/tetra/cuprate_three_band_energy_band_cuts.png', width=400\u003e\n  \u003cbr\u003e\n  \u003cimg src='images/hexa/hexa_single_band_fermi_surface.png', width=400\u003e\n  \u003cimg src=\"images/tetra/cuprate_single_band_susceptibility.png\" width=\"400\" /\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSinan81%2Fshut-up-and-calculate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSinan81%2Fshut-up-and-calculate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSinan81%2Fshut-up-and-calculate/lists"}