Python package
Welcome! This is ocdb, a Python package for easily accessing the X-ray/EUV/VUV scattering and absorption data contained in the Optical Constants Database (OCDB) provided by the German National Metrology Institute, the Physikalisch-Technische Bundesanstalt, PTB.
Git | github.com/PTB-SR/ocdb |
Documentation | ocdb-data.rtfd.io |
Release | doi.org/10.5281/zenodo.10697496 |
Features
A list of (planned) features:
- Access to X-ray/EUV/VUV scattering and absorption coefficients (n and k)
- Interface compatible to the periodictable Python package
- Provides data and uncertainties
- FAIR and linked data: citable, reliable, and reproducible
- Offline access: data contained in package
- Community-driven: easy to contribute
And to make it even more convenient for users and future-proof:
- Open source project written in Python (>= 3.9)
- Developed fully test-driven
- Extensive user and API documentation
Installation
To install the ocdb package on your computer (sensibly within a Python virtual environment), open a terminal (activate your virtual environment), and type in the following:
pip install ocdb
License
This program is free software: you can redistribute it and/or modify it under the terms of the GPLv3 License. See the file LICENSE for more details.