{"id":30865000,"url":"https://github.com/bdhammel/ising-model","last_synced_at":"2025-09-07T20:19:37.216Z","repository":{"id":60102565,"uuid":"91289119","full_name":"bdhammel/ising-model","owner":"bdhammel","description":"Python implementation of the Ising model","archived":false,"fork":false,"pushed_at":"2020-04-11T19:12:44.000Z","size":863,"stargazers_count":53,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-21T11:20:25.528Z","etag":null,"topics":["ising-model","monte-carlo","python","simulation"],"latest_commit_sha":null,"homepage":"http://www.bdhammel.com/ising-model/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bdhammel.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}},"created_at":"2017-05-15T02:55:28.000Z","updated_at":"2024-03-05T08:53:02.000Z","dependencies_parsed_at":"2022-09-25T22:13:47.883Z","dependency_job_id":null,"html_url":"https://github.com/bdhammel/ising-model","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bdhammel/ising-model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdhammel%2Fising-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdhammel%2Fising-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdhammel%2Fising-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdhammel%2Fising-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdhammel","download_url":"https://codeload.github.com/bdhammel/ising-model/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdhammel%2Fising-model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274088689,"owners_count":25220273,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ising-model","monte-carlo","python","simulation"],"created_at":"2025-09-07T20:19:32.906Z","updated_at":"2025-09-07T20:19:37.205Z","avatar_url":"https://github.com/bdhammel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![bdhammel](https://circleci.com/gh/bdhammel/ising-model.svg?style=shield)](https://app.circleci.com/pipelines/github/bdhammel/ising-model)\n\n# Ising Model\n\nPython code to simulate the Ising model of a Ferromagnet.\n\nFor a discussion of the theory, visit [my blog post](http://www.bdhammel.com/ising-model/).\n\n![](./media/ising.png)\n\nThe initial conditions of the ising lattice can be specified by the `tempature`, `initial state`, and `size parameters` of the model.\n\nRunning the simulation will output a video of system as it changes through out the run steps.\n\n\n## Example\n\nThe `--help` command can show to possible parameters for modifying the simulation \n\n~~~bash\n$ python ising.py --help\nUsage: ising.py [OPTIONS]\n\nOptions:\n  -t, --temperature FLOAT    temperature of the system  [default: 0.5]\n  -i, --initial-state [r|u]  (R)andom or (U)niform initial state of the system [default: r]\n  -s, --size INTEGER         Number of sites, M, in the MxM lattice  [default: 100]\n  -e, --epochs INTEGER       Number of iterations to run the simulation for [default: 1000000]\n  --video                    Record a video of the simulation progression\n  --help                     Show this message and exit.\n~~~\n\nFor example:\n\n~~~bash\n$ python ising.py --temperature .8 --initial-state r --video\n~~~\n\n\n## FAQ\n\nIf you get the error:\n\n~~~bash\nMovieWriter stderr:\ndyld: Library not loaded: /usr/local/opt/x264/lib/libx264.152.dylib\n  Referenced from: /usr/local/bin/ffmpeg\n  Reason: image not found\n~~~\n\nThen you need to install ffmpeg \n\n~~~bash\n$ brew install ffmpeg\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdhammel%2Fising-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdhammel%2Fising-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdhammel%2Fising-model/lists"}