Material dielectric models for plasmonic electrodynamics in MNPBEM-Python.
Project description
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:
$$ \varepsilon(\lambda) = \varepsilon_0 $$
The wave number is:
$$ k(\lambda) = \frac{2\pi}{\lambda}\sqrt{\varepsilon} $$
2. Drude Model
For free-electron metal response:
$$ \varepsilon(\omega) = \varepsilon_\infty - \frac{\omega_p^2}{\omega(\omega + i\gamma)} $$
Energy-wavelength conversion used in the implementation:
$$ \omega_{\mathrm{eV}} = \frac{C_{\mathrm{eV\cdot nm}}}{\lambda_{\mathrm{nm}}}, \qquad C_{\mathrm{eV\cdot nm}} \approx 1239.841984 $$
3. Tabulated Material Model
Given tabulated optical constants (energy, refractive index, extinction), the dielectric function is:
$$ \varepsilon = (n + i k)^2 $$
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
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 mnpbem_material-0.1.5.tar.gz.
File metadata
- Download URL: mnpbem_material-0.1.5.tar.gz
- Upload date:
- Size: 88.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
399298cf0a5d48852fdff0e98c11c483912aa46b64f41639679d34347ded37ae
|
|
| MD5 |
b6f28f7d5bf0a5a181b2050b870c3b20
|
|
| BLAKE2b-256 |
7b9bec15b4213057f2793e94fcd792474131628697e55bab5cfa64d2abdd6033
|
File details
Details for the file mnpbem_material-0.1.5-py3-none-any.whl.
File metadata
- Download URL: mnpbem_material-0.1.5-py3-none-any.whl
- Upload date:
- Size: 97.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df128f22b6e4ce0c4ad5abfbd1494c645bdf903324643df30e410a7e001cd20b
|
|
| MD5 |
13142cf0451ec6e12668b96672b58239
|
|
| BLAKE2b-256 |
678b976b52435a5d841b82928f8916d5bdb05b86821f5385874113b4ff42e187
|