Open-source toolkit for Lifshitz-Casimir force engineering in anisotropic and chiral dielectric heterostructures
Project description
casimir-tools
Open-source Python toolkit for Lifshitz-Casimir force engineering in anisotropic and chiral dielectric heterostructures.
Developed as part of the AI-driven Casimir Stiction Suppression project (KEC 2026, SERB CRG).
Installation
pip install casimir-tools
Quick Start
from casimir_tools import casimir_energy, casimir_energy_chiral, MATERIALS
# Standard Lifshitz energy: Te | vacuum | WTe2 at 10 nm
te = MATERIALS["Te"]
wte2 = MATERIALS["WTe2_hex"]
E = casimir_energy(te["eps_static"], wte2["eps_static"], d=10e-9)
print(f"E = {E*1e3:.4f} mJ/m²") # ~ -0.20 mJ/m²
# With chiral correction κ = 0.7 → near-zero Casimir
E_chiral = casimir_energy_chiral(te["eps_static"], wte2["eps_static"],
d=10e-9, kappa=0.7)
print(f"E_chiral = {E_chiral*1e3:.4f} mJ/m²")
# Finite temperature (T = 300 K, Matsubara summation)
from casimir_tools import casimir_energy_finite_T
E_300K = casimir_energy_finite_T(te["eps_static"], wte2["eps_static"],
d=10e-9, T=300.0)
# Anisotropic uniaxial Lifshitz (Te crystal tensor)
from casimir_tools import casimir_energy_aniso
E_aniso = casimir_energy_aniso(te["eps_perp"], te["eps_par"],
wte2["eps_perp"], wte2["eps_par"],
d=10e-9)
# 2-oscillator Sellmeier model
from casimir_tools import casimir_energy_2osc, TE_2OSC, WTE2_2OSC
E_2osc = casimir_energy_2osc(**TE_2OSC, **{f"{k}_2": v for k, v in WTE2_2OSC.items()},
d=10e-9)
Physics
The library implements the Lifshitz (1956) formula for Casimir energy between two planar dielectric half-spaces:
E(d) = (ħ/2π²c²) ∫₀^∞ ξ² dξ ∫₁^∞ p dp
× Σ_pol ln(1 − r₁^pol r₂^pol e^{−2pξd/c})
Extensions:
- Chiral correction (Zhao et al. 2009):
E = E_Lifshitz + κ² × δE - Uniaxial anisotropy (Bimonte et al. 2009): separate ε_⊥, ε_∥ Fresnel coefficients
- Finite temperature (Lifshitz/Pitaevskii): Matsubara sum at arbitrary T
- 2-oscillator Sellmeier: resolves IR phonon + UV electronic contributions
Citation
@software{sevesh2026casimir,
author = {Sevesh SS},
title = {casimir-tools: Lifshitz-Casimir Force Engineering Toolkit},
year = {2026},
url = {https://github.com/seveshss/casimir-tools},
version = {0.1.0},
}
License
MIT © Sevesh SS, KEC 2026
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
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 casimir_tools-0.1.1.tar.gz.
File metadata
- Download URL: casimir_tools-0.1.1.tar.gz
- Upload date:
- Size: 110.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91f23d6a43d31764b36c443725d954b6c976be2e40bd119bfab6cda4de022a20
|
|
| MD5 |
6a62393be42dd211da982f6a37c340e1
|
|
| BLAKE2b-256 |
565c9a70dde2e9496f2e8f98a60aea08ddc796a0c9462491ac03677220bf8b0b
|
Provenance
The following attestation bundles were made for casimir_tools-0.1.1.tar.gz:
Publisher:
publish_casimir_tools.yml on ss-sevesh/spaceship_bubble
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
casimir_tools-0.1.1.tar.gz -
Subject digest:
91f23d6a43d31764b36c443725d954b6c976be2e40bd119bfab6cda4de022a20 - Sigstore transparency entry: 1242767639
- Sigstore integration time:
-
Permalink:
ss-sevesh/spaceship_bubble@e768b888374f4d61c464d86bb30de5169dc4352f -
Branch / Tag:
refs/tags/casimir-tools-v0.1.1 - Owner: https://github.com/ss-sevesh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_casimir_tools.yml@e768b888374f4d61c464d86bb30de5169dc4352f -
Trigger Event:
push
-
Statement type:
File details
Details for the file casimir_tools-0.1.1-py3-none-any.whl.
File metadata
- Download URL: casimir_tools-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aeadd9ad5e66fa7260f2f35df2668caf36668aefdf71bdb940b7dd174fe35c1e
|
|
| MD5 |
e484b800028193ee315927650802331a
|
|
| BLAKE2b-256 |
4e3bd7806fe9d637e3ed97f10003945623fe98f5aed8c01698efa4be571d7a90
|
Provenance
The following attestation bundles were made for casimir_tools-0.1.1-py3-none-any.whl:
Publisher:
publish_casimir_tools.yml on ss-sevesh/spaceship_bubble
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
casimir_tools-0.1.1-py3-none-any.whl -
Subject digest:
aeadd9ad5e66fa7260f2f35df2668caf36668aefdf71bdb940b7dd174fe35c1e - Sigstore transparency entry: 1242767641
- Sigstore integration time:
-
Permalink:
ss-sevesh/spaceship_bubble@e768b888374f4d61c464d86bb30de5169dc4352f -
Branch / Tag:
refs/tags/casimir-tools-v0.1.1 - Owner: https://github.com/ss-sevesh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_casimir_tools.yml@e768b888374f4d61c464d86bb30de5169dc4352f -
Trigger Event:
push
-
Statement type: