aiida-nanotech-empa
Legacy Python 3.9 / AiiDA 2.6.3: use v1.0.0. See the Empa legacy compatibility guide for the matching package versions and installation constraints. Use a tagged version to preserve this runtime.
AiiDA library containing plugins, parsers, and workflows developed by the nanotech@surfaces group at Empa.
The package focuses on automation around CP2K, Gaussian, Quantum ESPRESSO, and post-processing tools used in surface-science workflows. It is also used by the aiidalab-empa-surfaces app.
Contents
CP2K workflows
nanotech_empa.cp2k.geo_opt: CP2K geometry and cell optimization workflows with restart handling and optional cube post-processing.nanotech_empa.cp2k.scf: single-point CP2K SCF workflow. It can run an OT-only energy calculation, an optional diagonalization step for empty states and AO overlap matrices, sparse AO-overlap retrieval, or Bader charge analysis from a fine charge-density cube.nanotech_empa.cp2k.diag: OT plus diagonalization SCF workflow used by STM/PDOS-style workflows and by the SCF workflow.nanotech_empa.cp2k.stm,nanotech_empa.cp2k.afm,nanotech_empa.cp2k.hrstm,nanotech_empa.cp2k.orbitals,nanotech_empa.cp2k.pdos: workflows for scanning-probe simulations, orbital cubes, and projected density of states.nanotech_empa.cp2k.fragment_separation,nanotech_empa.cp2k.replica,nanotech_empa.cp2k.neb,nanotech_empa.cp2k.phonons: workflows for adsorption energies, replica chains, nudged elastic band calculations, and phonons.nanotech_empa.cp2k.ads_gw_ic,nanotech_empa.cp2k.molecule_gw,nanotech_empa.cp2k.mol_opt_gw: CP2K/GW-oriented workflows.nanotech_empa.cp2k.reftraj: batched calculations along a reference trajectory.nanotech_empa.cp2k.benchmark: benchmark CP2K resource configurations on selected structures.
Calculation plugins
nanotech_empa.bader: runs Bader charge analysis and retrievesACF.dat,AVF.dat, andBCF.dat.nanotech_empa.sparse_overlap: converts CP2K AO overlap matrix logs to sparse.npzfiles using an external converter executable.nanotech_empa.stm,nanotech_empa.overlap,nanotech_empa.afm,nanotech_empa.hrstm,nanotech_empa.cubehandler: post-processing plugins used by the CP2K workflows.
Gaussian and Quantum ESPRESSO workflows
nanotech_empa.gaussian.*: Gaussian workflows for SCF, relaxations, spin-state analysis, constrained optimization, CASSCF, NICS, and related post-processing.nanotech_empa.nanoribbon: workflow to characterize 1D periodic systems with Quantum ESPRESSO.nanotech_empa.qe.banduppy_unfolding: unfold supercell bands with BandUPpy, with optional neutral primitive-reference SCF and bands.
For a spin-polarized source, primitive-reference bands require an explicit
reference_spin_parameters input: {"nspin": 1} confirms a nonmagnetic
reference; {"nspin": 2, "starting_magnetization": {"Fe": 0.5}} specifies
collinear starting moments by primitive-cell kind. Alternatively provide an
explicit primitive-cell tot_magnetization, or disable reference calculations
with run_reference_bands=False. The primitive cell must accommodate the chosen
magnetic order. Supercell charge and total magnetization are not copied into
the primitive reference. Folded supercell calculations preserve the source spin
settings. Noncollinear/SOC reference calculations are not supported.
The Gaussian spin workflow supports wavefunction-stability checks and optimizes the requested multiplicities, selects the lowest-energy state, and runs Δ-SCF ionization-potential/electron-affinity and vertical-excitation calculations. Natural-orbital analysis is available for an open-shell singlet ground state. Orbital image rendering requires the PyMOL Python module, installed separately in the rendering environment.
Installation
Install the latest published package with:
pip install aiida-nanotech-empa
The overview above follows the development branch. Check the release notes for the features included in a published version.
For maintainers
To create a new release, clone the repository, install development dependencies with pip install '.[dev]', and then execute bumpver update --dry --major (--minor/--patch).
This will display the changes that will be made to the repository - check them carefully.
Once you are happy with the changes, remove the --dry option and re-execute the command.
This will:
- Create a tagged release with bumped version and push it to the repository.
- Trigger a GitHub actions workflow that creates a GitHub release.
Additional notes:
- The release tag (e.g. a/b/rc) is determined from the last release.
Use the
--tag beta (alpha/gamma)option to switch the release tag.
Acknowledgements
We acknowledge support from:
- the NCCR MARVEL funded by the Swiss National Science Foundation;
- the swissuniversities P-5 project "Materials Cloud".
Software attribution and scientific acknowledgements
Please credit aiida-nanotech-empa and its contributors, and identify the release or immutable commit used. Existing author, contributor and funding acknowledgements remain authoritative.
See CITATION.cff for the software citation. A project DOI covers archived releases; identify the exact version or commit separately. Use a release DOI only for the release it identifies.
Preserve the copyright and permission notices in LICENSE when copying or distributing copies or substantial portions of MIT-licensed code. Separately licensed components retain their own notices. A name or repository link does not replace the applicable licence notices.
The bundled CP2K UZH parameter files retain their upstream authorship and licence. Their source snapshot and licence notice are recorded alongside the data.
When this software's AiiDA workflows or provenance helped the research, acknowledge the AiiDA team and cite its three papers. Also acknowledge AiiDAlab and its two platform papers when AiiDAlab was used to access those workflows.
Also cite the calculation plugins, simulation codes and post-processing tools actually used, including cp2k-spm-tools for its unfolding or microscopy implementations.
The shared credit guide keeps software attribution, licence compliance and scientific citation requests separate. Scientific citation requests are not additional MIT licence conditions.
Metadata
Release files for aiida-nanotech-empa 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiida_nanotech_empa-2.0.0.tar.gz | 6.4 MB | Without provenance | Details for aiida_nanotech_empa-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiida_nanotech_empa-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for aiida_nanotech_empa-2.0.0-py3-none-any.whl |
Total release size: 13.0 MB
Release files / aiida_nanotech_empa-2.0.0.tar.gz
| Download URL | aiida_nanotech_empa-2.0.0.tar.gz |
|---|---|
| Size | 6.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a24b41ac2cb06f31ecbe3ec4d29651c9b9d1035d1d29c70cb5c62248fabda80
|
|
BLAKE2b-256 checksum How to use checksums |
a655cb66248ca8763ca0fabc8cb9acfc8de6a273db32980828b5247653bdd5ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Release files / aiida_nanotech_empa-2.0.0-py3-none-any.whl
| Download URL | aiida_nanotech_empa-2.0.0-py3-none-any.whl |
|---|---|
| Size | 6.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b343d5f9ceecdc5bb1115863ab96124e75c40d23cdf74eeb132d9dabc278373f
|
|
BLAKE2b-256 checksum How to use checksums |
955ffc38ea84b25eace85fed78186d9a47e25b69948fb95847ddc0dec2efefaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Security for aiida-nanotech-empa 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.