Optical Dispersion Relations
Project description
Optical Dispersion Relations
Features
- A collection of exact and approximate optical dispersion relations.
- Academic Sources eg textbooks and journal articles.
- Fully tested (see
test/
) so users can calculate with confidence.
Examples
- Silver permittivity can be calculated with a Single Pole Drude-Lorentz model:
silver_dispersion = drude_lorentz.DrudeLorentz().with_angular_frequency(
angular_frequency
).with_plasma_frequency(1.35e16).add_pole(
damping_constant=0.0023*1.35e16
)
silver_permittivity = silver_dispersion.permittivity()
- Gold permittivity can be calculated with a Double Pole Drude-Lorentz model:
gold_dispersion = drude_lorentz.DrudeLorentz().with_dielectric_constant(
6
).with_angular_frequency(angular_frequency).add_pole(
peak_strength=6*5.37e15**2,
damping_constant=6.216e13,
).add_pole(
peak_strength=6*2.263e15**2,
damping_constant=1.332e15,
peak_position=4.572e15
)
gold_permittivity = gold_dispersion.permittivity()
- More examples can be found under
/examples/
.
Install
Install with pip eg:
pip3 install optical_dispersion_relations
Download the latest release here, or previous releases here.
Contribute
Contributions and conversations warmly welcome.
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
File details
Details for the file optical_dispersion_relations-0.3.0.tar.gz
.
File metadata
- Download URL: optical_dispersion_relations-0.3.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b76898647fcf60decd70cef77b8f5d6fee51e5cf6e410ca6fa16c41c7046936c |
|
MD5 | 48fc5dd64a0bc02a1f2ad70ceca5a82d |
|
BLAKE2b-256 | 132443c40668f5e9bf47a58c53cd0b44b4d4233fab212cf11cd0ab962533f025 |
File details
Details for the file optical_dispersion_relations-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: optical_dispersion_relations-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d267b9cb775ef176ec3a7da271533fc6cc9bedada8a11e893fa3995c4c3d921 |
|
MD5 | 047d6d5537dee8ba5d4401871ce52310 |
|
BLAKE2b-256 | 4a1e6fa8959a87d513092a1ed0d822e51ff289ee00e4d17875f48abe6bdb8c01 |