Skip to main content

ocdb

https://zenodo.org/badge/DOI/10.5281/zenodo.10697496.svg

Optical constants for elements and various materials in the EUV and VUV wavelengths.

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.

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.

Metadata

Release files for ocdb 0.2.1

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

Source distribution (sdist)

Source distribution for ocdb 0.2.1
File Size Uploaded
ocdb-0.2.1.tar.gz 102.7 kB Details

Built distribution (wheel)

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

Total release size: 215.4 kB

Release files / ocdb-0.2.1.tar.gz

Download URL ocdb-0.2.1.tar.gz
Size 102.7 kB
Tags Source
SHA-256 checksum
How to use checksums
16990b011f0c113c8b160c095e7a3d0079602ee7ee000827412a0d305c24da00
BLAKE2b-256 checksum
How to use checksums
97e72bcc620f02ade1d51ee11d1a2e1d5e58d15c7cf1909e65dfec0237cf40a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 26, 2026.

Transparency log

Release files / ocdb-0.2.1-py3-none-any.whl

Download URL ocdb-0.2.1-py3-none-any.whl
Size 112.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f7ed1928660fc4e79354876f908a227be49ee8354401d019db5c484caacf512
BLAKE2b-256 checksum
How to use checksums
77d569758bf1d5e62a47cd6724eac7acee7a2a184d687dcb84a4c74f841271b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.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