mnpbem-material
mnpbem-material implements dielectric-function models used in plasmonic electrodynamics.
The module provides analytical material models and tabulated optical constants for metals such as Au, Ag, and Al.
Features
- Constant dielectric model for homogeneous media.
- Drude dielectric model for free-electron metals.
- Tabulated
(E, n, k)optical constants with wavelength-domain interpolation. - Ready-to-use datasets for common plasmonic materials.
Implemented Formulations
1. Constant Dielectric Function
For wavelength-independent permittivity:
The wave number is:
2. Drude Model
For free-electron metal response:
Energy-wavelength conversion used in the implementation:
3. Tabulated Material Model
Given tabulated optical constants (energy, refractive index, extinction), the dielectric function is:
Implementation
- Core implementation:
src/mnpbem_material/models.py - Material datasets:
src/mnpbem_material/data/*.dat
Dependencies
numpy>=1.24
Installation
pip install mnpbem-material
Example
Runnable example:
examples/basic_usage.py
Run:
python examples/basic_usage.py
Author
- GALIH RIDHO UTOMO
- g4lihru@students.unnes.ac.id
Metadata
Release files for mnpbem-material 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mnpbem_material-0.1.11.tar.gz | 89.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mnpbem_material-0.1.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 186.3 kB
Release files / mnpbem_material-0.1.11.tar.gz
| Download URL | mnpbem_material-0.1.11.tar.gz |
|---|---|
| Size | 89.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03821d9b1b588aef20763ecec51f00784f1d3acb61da0d5d7403f429ce102752
|
|
BLAKE2b-256 checksum How to use checksums |
ddf0a1a1849c47b14a6804077a8ebba47f13a36a5eeb9857fb15d343aa3eb241
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / mnpbem_material-0.1.11-py3-none-any.whl
| Download URL | mnpbem_material-0.1.11-py3-none-any.whl |
|---|---|
| Size | 97.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
603727765701d01b5632b19b97f78eead318e0c07cd368d0dafa115d069a0fcd
|
|
BLAKE2b-256 checksum How to use checksums |
50a420a7c72b9fd8d4d455c5c1f755cb2f8c7bb54539e41a54a5bdf4f4d9252a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for mnpbem-material 0.1.11
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.