A package for generating Ising model data using Metropolis algorithm on a square lattice for nearest neighbor and next nearest neighbor interactions.
Project description
mcising
mcising is a Python package for generating Ising model data using Monte Carlo simulations.
Installation
You can install the package using pip:
pip install mcising
Usage
You can generate Ising model data from the command line:
generate_ising_data <seed> <lattice_size> <num_configs> <j1> <j2> [--T_init <T_init>] [--T_final <T_final>] [--T_step <T_step>] [--sweep_steps <sweep_steps>] [--thermalization_scans <thermalization_scans>] [--calculate_correlation]
An example usage:
generate_ising_data 42 10 100 1.0 0.5 --T_init 4.0 --T_final 0.1 --T_step 0.05 --sweep_steps 10 --thermalization_scans 5 --calculate_correlation
Licence
This project is licensed under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mcising-0.1.tar.gz
.
File metadata
- Download URL: mcising-0.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f09374a42c40bfde7a2b61ff9c35f8cc4f89894259d6b2f1e0fc1b6a88e020a9 |
|
MD5 | f72826a2f6c2d62da2e4a87c9b5e093f |
|
BLAKE2b-256 | a8d03c89f67bf384506642fa57bd183de37f91236b5a623146a8e522808ca740 |
File details
Details for the file mcising-0.1-py3-none-any.whl
.
File metadata
- Download URL: mcising-0.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8753fea9313549e588c0d8373cd5533b82dc5e09cb35da29527839bc35beb08e |
|
MD5 | f79d16a9d1877c71fc67ab5fd542ac96 |
|
BLAKE2b-256 | 0fcf4e70467a398e9701e5f03bac49a578fd76738169e659c27919ed65df2a90 |