Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esma-0.0.501.tar.gz (48.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esma-0.0.501-py3-none-any.whl (108.3 kB view details)

Uploaded Python 3

File details

Details for the file esma-0.0.501.tar.gz.

File metadata

  • Download URL: esma-0.0.501.tar.gz
  • Upload date:
  • Size: 48.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for esma-0.0.501.tar.gz
Algorithm Hash digest
SHA256 434413ea4a30a082d0c493c65529249d3864c1b5f1d4b32d36efe3a1cf7831b7
MD5 249d48b7c217409de2348127522e2c9c
BLAKE2b-256 78ebc82500f5cf88fc988a0d70fd5d44b3d8c34a4867a4f1e665b1cde5cf6cb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for esma-0.0.501.tar.gz:

Publisher: publish.yml on susyexists/espresso-machine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file esma-0.0.501-py3-none-any.whl.

File metadata

  • Download URL: esma-0.0.501-py3-none-any.whl
  • Upload date:
  • Size: 108.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for esma-0.0.501-py3-none-any.whl
Algorithm Hash digest
SHA256 7236c1722e24589ef8feeb806d5ec7940c76279a66fec67a4fd78e823583364b
MD5 2fa65c9a0be4c59eb35084c55971eaa6
BLAKE2b-256 9f56bd9c723f4db89ecdff887651077d4bcc5d8b8e8066f0123e3715d9371669

See more details on using hashes here.

Provenance

The following attestation bundles were made for esma-0.0.501-py3-none-any.whl:

Publisher: publish.yml on susyexists/espresso-machine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page