Quantum Espresso automation tool
Project description
Espresso Machine
Automation library for Quantum Espresso via python
Start discovering by checking out the Tutorials section for different calculations It is suggested to use a virtual environment to avaoid any compatibility issues.
Automated Calculation
Any kind of choosen calculation type will be initialized after automatically generating the input files
Parameter Adjustment
DFT parameters can be adjusted using the functional approach to keep the bugs away
Utility Tools
Various kind of utility tools added to make the workflow smooth
How to use
1. Prepare the python environment for avoiding compatibility issues
python -m venv .venv
source .venv/bin/activate
pip install esma
2. Create work script
- Initialize model and define paths
model = esma.project(project_id="Si") #Define project model.set_cores(4) #Define number of processing cores model.get_structure(format='poscar',path='./Structures/Si.poscar')
- Pseudopotential names should be as same as the the. For example for Si atom it should be named as Si.UPF.
model.set_pseudo(path="./Pseudopotentials")
- Adjust system specific parameters
model.ecutwfc(80) #Set wavefunction cutoff model.k_points([4,4,4]) #Set number of k points
- Start calculations
model.calculate('vc-relax') model.calculate('scf')
- Define band path and calculate band structure
path = ['L','GAMMA','X','K','GAMMA'] num_points = 100 model.band_points(path,num_points) model.calculate('bands')
- Plot band structure
model.plot('electron',ylim=[-13,12]) #plot electron bands
Project details
Release history Release notifications | RSS feed
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 esma-0.0.409.tar.gz
.
File metadata
- Download URL: esma-0.0.409.tar.gz
- Upload date:
- Size: 35.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94bee7c116f41f7062d8c0b43f752f3713f99abf67d811846a238b66bdf6b6cc |
|
MD5 | 7638e287894003a7a64116b57655d71e |
|
BLAKE2b-256 | 639a5f361e689421dfdc0035bcea9e519393a13f89e5c453eb0e0113f13d6886 |
File details
Details for the file esma-0.0.409-py3-none-any.whl
.
File metadata
- Download URL: esma-0.0.409-py3-none-any.whl
- Upload date:
- Size: 107.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fb1f275c249d2c287255d81f789a6562e3699ad3d3425fc7ef6a2cb3ce1a710 |
|
MD5 | 871bf3d3d3e015a710251062d1a0e165 |
|
BLAKE2b-256 | 84f87747884da9db6644a726ae6cf11f7fda1ccbeaba04842708784fd0c438ca |