Skip to main content

PyPI - Version python Tests Coverage Documentation Status License: MIT

About

Ramannoodle is a Python API for efficiently calculating Raman spectra from first principles calculations. Ramannoodle supports molecular-dynamics- and phonon-based Raman calculations. It includes interfaces with VASP but can easily be used with other codes using IO from external libraries, such as pymatgen or ase.

Ramannoodle aims to be:

  1. EFFICIENT

    Ramannoodle provides PolarizabilityModel's to reduce the required number of first-principles polarizability calculations.

  2. FLEXIBLE

    Ramannoodle provides a simple, object-oriented API that makes calculations a breeze while offering plenty of flexibility to carry out advanced analyses and add new functionality.

  3. TRANSPARENT

    Ramannoodle is designed to give the user a good understanding of what is being calculated at varying levels of abstraction.

Installation

The base version of ramannoodle can be installed with pip:

$ pip install ramannoodle

Ramannoodle's machine learning modules are implemented with PyTorch. To use these modules:

  1. Install PyTorch.
  2. Install torch-scatter and torch-sparse corresponding to the PyTorch version/implementation.
  3. Install ramannoodle using the torch options group.

For example, installation on a Linux system using PyTorch 2.4.1 (cpu implementation) is done as follows:

$ pip install torch==2.4.1+cpu --index-url https://download.pytorch.org/whl/cpu
$ pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.4.0+cpu.html
$ pip install ramannoodle[torch]

Ramannoodle includes interfaces with pymatgen. To use these interfaces, ramannoodle should be installed with the pymatgen options group:

$ pip install ramannoodle[pymatgen]

Tutorials and docs

https://ramannoodle.readthedocs.io/

Contributing

Contributions in the form of bug reports, feature suggestions, and pull requests are always welcome! Those contributing code should check out the dev guide.

Citing

To acknowledge use of ramannoodle, please cite

Rapid Characterization of Point Defects in Solid-State Ion Conductors Using Raman Spectroscopy, Machine-Learning Force Fields, and Atomic Raman Tensors
W. O’Leary, M. Grumet, W. Kaiser, T. Bučko, J.L.M. Rupp, D.A. Egger
Journal of the American Chemical Society (2024)
doi: 10.1021/jacs.4c07812

Metadata

Release files for ramannoodle 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ramannoodle 0.5.0
File Size Uploaded
ramannoodle-0.5.0.tar.gz 46.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ramannoodle 0.5.0
File Interpreter ABI Platform
ramannoodle-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 108.5 kB

Release files / ramannoodle-0.5.0.tar.gz

Download URL ramannoodle-0.5.0.tar.gz
Size 46.9 kB
Tags Source
SHA-256 checksum
How to use checksums
91e0b22e4e3e408e810fe95f8cfe9060339f1c6dbdafa831df37073cbfc40a66
BLAKE2b-256 checksum
How to use checksums
4e617cf309272770dfceefeb45535ac74c4bf174f86d90ac2b75b40fccc8bfd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / ramannoodle-0.5.0-py3-none-any.whl

Download URL ramannoodle-0.5.0-py3-none-any.whl
Size 61.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53a3243870721b3e44f7784baf6ff6d38b581a6246647d350309d9721c2e7f9f
BLAKE2b-256 checksum
How to use checksums
bfc44574b70c524dba5fe40cb71591b71aeadf80b6783143b8ebadac1f28271e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page