Skip to main content

Display and interpret output of SHARC

Project description

shnitsel-tools

SHNITSEL-TOOLS Logo

Surface Hopping Nested Instances Training Set for Excited-state Learning Tools


DOI

About

shnitsel-tools is designed to to support the entire data lifecycle of surface hopping (SH) trajectory data upon simulation: data managment, storage, processing, visualization and interpretation. The tool is compatible with surface hopping data generated using the software packages SHARC 3/4, Newton-X, and PyRAI2MD. The shnitsel code leverages Xarray to benefit from efficient multidimensional data handling, improved metadata management, and a structure that aligns naturally with the needs of quantum chemical datasets.

Usage

The package is organized into ...

[!TIP]

Tutorials

For a quick start, see the tutorials directory, which contains Jupyter Notebooks showing the workflow for parsing, writing and loading SHNITSEL databases as well as how to postprocess and visualize the respective data.

Collection & storage

Management

exploration of electronic properties

Postprocessing & visualization of data

Walkthroughs

(Link to folder, further info in README)

shnitsel
├── core
│   ├── ase.py
│   ├── datasheet
│      ├── __init__.py
│      ├── oop.py
│      └── plot
│          ├── colormaps.py
│          ├── common.py
│          ├── dip_trans_hist.py
│          ├── hist.py
│          ├── __init__.py
│          ├── nacs_hist.py
│          ├── per_state_hist.py
│          ├── structure.py
│          └── time.py
│   ├── filter_unphysical.py
│   ├── filtre.py
│   ├── indexes.py
│   ├── __init__.py
│   ├── parse
│      ├── common.py
│      ├── __init__.py
│      ├── nx.py
│      ├── pyrai2md.py
│      ├── sharc_icond.py
│      ├── sharc_traj.py
│      └── xyz.py
│   ├── pca_biplot.py
│   ├── plot
│      ├── __init__.py
│      ├── kde.py
│      ├── p3mhelpers.py
│      ├── select.py
│      └── spectra3d.py
│   ├── plotting.py
│   ├── postprocess.py
│   ├── spectra.py
│   └── xrhelpers.py
├── __init__.py
├── plot
│   └── __init__.py
├── rd.py
├── README.md
└── xarray.py

Installation

You can create the environment with a custom path using one of the following methods:

Option 1: Using `uv` We recommend to use the `uv` tool, available at https://docs.astral.sh/uv/. Run the following in the `shnitsel-tools` directory:
uv venv  # create an environment under ./.venv
. .venv/bin/activate  # activate the new environment
uv pip install -e .  # install shnitsel in editable mode

To install the optional development dependencies run

uv pip install -e '.[dev]'
Option 2: Using the `--prefix` Flag

You can create the environment and specify the desired path by using the conda env create command with the --prefix flag:

conda env create --prefix /home/user/anaconda3/envs/shnitsel -f shnitsel-tools.yml
Option 3: Adding the Path to the .yml File

Alternatively, you can manually add the desired path to the shnitsel-tools.yml file and create the environment directly:

  1. Open the shnitsel-tools.yml file for editing:
vi shnitsel-tools.yml
  1. Add the following line to the file:
prefix: /home/user/anaconda3/envs/shnitsel
  1. Create the environment with a custom path.
conda env create -f shnitsel-rdkit.yml

Further Information

Website

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

shnitsel_tools-0.0.1.tar.gz (65.7 kB view details)

Uploaded Source

Built Distribution

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

shnitsel_tools-0.0.1-py3-none-any.whl (73.1 kB view details)

Uploaded Python 3

File details

Details for the file shnitsel_tools-0.0.1.tar.gz.

File metadata

  • Download URL: shnitsel_tools-0.0.1.tar.gz
  • Upload date:
  • Size: 65.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for shnitsel_tools-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ee50db84a3052cff7b3b86c89e412e5a2beca1bed25f4395a43bb08e95e25865
MD5 a024883a959752ea42856b00825a9c92
BLAKE2b-256 6f5b2ba873477a5c04344da617047d9704c4ccf7ff28601531a52456168d2fd3

See more details on using hashes here.

File details

Details for the file shnitsel_tools-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: shnitsel_tools-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 73.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for shnitsel_tools-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10643d0db4c9aea15d493b29beb1e23b9b4e5e6968c8c85a4070bd4f4794cbf3
MD5 634519692b6463d6e2de58448ed61d81
BLAKE2b-256 ea9b0d64c3e472d2a4e01e937d7b93208802db86b6f4b5b5e208a437bd72f1e9

See more details on using hashes here.

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