文件名称:Ising-Model:使用metropolis算法模拟二维伊辛格的python脚本
文件大小:2.53MB
文件格式:ZIP
更新时间:2024-07-07 07:37:44
Python
要安装依赖项,请运行:pip install -r requirements.txt 要绘制一个点阵实例化一个绘图对象,参数包括: N- size of lattice B- strength of magnetic field (default is zero) start- low(cold) or high(hot) start (default is low) inc- size of increments in plots (default is 0.01) x0- starting point of plots (default is 1) x1- final point of plots (default is 5) steps-number of steps (default is 50000) T - Temperature (default is 1) 一些展示程
【文件预览】:
Ising-Model-master
----.gitignore(5B)
----project_description.pdf(2.4MB)
----readme.md(2KB)
----requirements.txt(44B)
----images()
--------heat_capacity.png(40KB)
--------magnetization.png(35KB)
--------lattice_with_hot_start.png(185KB)
--------lattice_with_magnetic_field.png(36KB)
----Ising_model.py(11KB)