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.502.tar.gz (48.6 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.502-py3-none-any.whl (110.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esma-0.0.502.tar.gz
  • Upload date:
  • Size: 48.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for esma-0.0.502.tar.gz
Algorithm Hash digest
SHA256 a3d57e916d55f0b0abe2d6f42771630171d35566d4511c17df62d96f4bb9ae89
MD5 5a2b81b2904c5e6d83124fe54db03898
BLAKE2b-256 3898ebcd45e4982bc4d306c2bd542ae26ee2c8d37a085fa237e08f3465b9f9ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for esma-0.0.502.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.502-py3-none-any.whl.

File metadata

  • Download URL: esma-0.0.502-py3-none-any.whl
  • Upload date:
  • Size: 110.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for esma-0.0.502-py3-none-any.whl
Algorithm Hash digest
SHA256 e393e2531291a5142fb9634927299a117048b7b3806fe0fbf3d6d0f7e0acd694
MD5 873c30826212cec676418106ab6f2361
BLAKE2b-256 4c64c9faab69030eed45fe5a729998ab4477c491193cca825a46d183e9a73f89

See more details on using hashes here.

Provenance

The following attestation bundles were made for esma-0.0.502-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