{"id":17238639,"url":"https://github.com/wjs018/isingmodel","last_synced_at":"2025-03-26T02:31:36.766Z","repository":{"id":191550741,"uuid":"49623330","full_name":"wjs018/IsingModel","owner":"wjs018","description":"A python implementation of the Metropolis algorithm for the Ising Model.","archived":false,"fork":false,"pushed_at":"2018-10-25T16:24:38.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T23:42:11.435Z","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/wjs018.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}},"created_at":"2016-01-14T04:46:02.000Z","updated_at":"2018-10-25T16:24:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"2cff6eb9-a386-4bce-b395-15623bf11151","html_url":"https://github.com/wjs018/IsingModel","commit_stats":null,"previous_names":["wjs018/isingmodel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wjs018%2FIsingModel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wjs018%2FIsingModel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wjs018%2FIsingModel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wjs018%2FIsingModel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wjs018","download_url":"https://codeload.github.com/wjs018/IsingModel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245576529,"owners_count":20638125,"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-10-15T05:46:16.130Z","updated_at":"2025-03-26T02:31:36.744Z","avatar_url":"https://github.com/wjs018.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IsingModel\n\nThis is a simulation of the Ising Model of ferromagnetism. To learn more about the model and its uses, check out the wikipedia page [here](https://en.wikipedia.org/wiki/Ising_model). In this simulation, the Metropolis algorithm is applied.\n\nAt the moment, this consists of two python programs:\n\n1. Rectangular2D.py - This does the heavy lifting of simulating a 2D lattice with up and down spins. The `simulate` function in this file can be used to perform a single simulation with user defined parameters. For descriptions of the parameters, check the function description in the file.\n2. MagnetizationDistribution.py - This can be used to perform many simulations to build up a distribution of what the resulting distribution of magnetizations looks like for a given set of parameter variations. The `__main__` function utilizes the `multiprocessing` module to perform these simulations in parallel using the defined `simulateParallel` function. An example of the output can be seen [here](http://i.imgur.com/b6e4LjU.png).\n\n## Dependencies\n\n* Python 2.x (tested 2.7.6)\n\n## Future Work\n\nAt some point I hope to include more options including, but not limited to:\n\n* Hexagonal Lattice\n* 1D and 3D lattices\n* Longer range interactions\n* Cluster detection/Percolation checking\n* Metastable state detection\n\n## Contact\n\n* Walter Schwenger, wjs018@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwjs018%2Fisingmodel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwjs018%2Fisingmodel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwjs018%2Fisingmodel/lists"}