Kramers-Kronig transforms for optical data.
Project description
kkcalc2 is a comprehensive toolkit for calculating Kramers Kronig transforms of X-ray absorption/dispersion data, and is built to the feature-rich standards of xraysoftmat.
Introduction
kkcalc2 is an open-source python package to calculate the Kramers-Kronig (inverse) transform of X-ray absorption (dispersion) data:
$$f_2(E) = \frac{2}{\pi} P \int_{0}^{\infty}\frac{x f_1(x)}{x^2 - E^2} dx + \mathcal{Z}^\star$$
where $f_1$ and $f_2$ are the real and imaginary parts of the complex index of refraction, respectively, $\mathcal{Z}^\star$ is the relativistic correction, and $P$ denotes the Cauchy principal value at ($x=E$).
kkcalc2 uses a polynomial representation algorithm developed by Watts [1].
This package provides an object oriented API, to evaluate optical constants (index of refraction, absorption and dispersion, etc.), extend measurement spectra with databases, or can be accessed through a PyQT6 GUI interface. Documentation can be found at readthedocs, and releases (including documentation and executable builds) can be found at github.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kkcalc2-1.0.0.tar.gz.
File metadata
- Download URL: kkcalc2-1.0.0.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad53f1c1da41160f5cb32bf7ab5e4f86e22407a3feb3a9da842ca90d4895fcad
|
|
| MD5 |
6012cabac9df8b5f92460f4f548baa18
|
|
| BLAKE2b-256 |
34a9250aaebd44f77f8da90b7f33a85fa3fc3444022daf843ebc09f8f76f42d1
|
Provenance
The following attestation bundles were made for kkcalc2-1.0.0.tar.gz:
Publisher:
release.yml on xraysoftmat/kkcalc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kkcalc2-1.0.0.tar.gz -
Subject digest:
ad53f1c1da41160f5cb32bf7ab5e4f86e22407a3feb3a9da842ca90d4895fcad - Sigstore transparency entry: 1114456074
- Sigstore integration time:
-
Permalink:
xraysoftmat/kkcalc@622206cc6ec5d75556ef44479bce56d282ddfb7d -
Branch / Tag:
refs/heads/v2 - Owner: https://github.com/xraysoftmat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@622206cc6ec5d75556ef44479bce56d282ddfb7d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file kkcalc2-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kkcalc2-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47bd63b10972b3f0439e8175ff532aee4156c572d26b201a1d1388e5d59847a2
|
|
| MD5 |
d03ecafee9d544658ccc3483ac15aca4
|
|
| BLAKE2b-256 |
81379068a9b282f02c9a18b4e6afc7485d4d9a75ebc2e36e896f02fe56d226bc
|
Provenance
The following attestation bundles were made for kkcalc2-1.0.0-py3-none-any.whl:
Publisher:
release.yml on xraysoftmat/kkcalc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kkcalc2-1.0.0-py3-none-any.whl -
Subject digest:
47bd63b10972b3f0439e8175ff532aee4156c572d26b201a1d1388e5d59847a2 - Sigstore transparency entry: 1114456077
- Sigstore integration time:
-
Permalink:
xraysoftmat/kkcalc@622206cc6ec5d75556ef44479bce56d282ddfb7d -
Branch / Tag:
refs/heads/v2 - Owner: https://github.com/xraysoftmat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@622206cc6ec5d75556ef44479bce56d282ddfb7d -
Trigger Event:
workflow_dispatch
-
Statement type: