Skip to main content

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:

Equation

The wave number is:

Equation

2. Drude Model

For free-electron metal response:

Equation

Energy-wavelength conversion used in the implementation:

Equation

3. Tabulated Material Model

Given tabulated optical constants (energy, refractive index, extinction), the dielectric function is:

Equation

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

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

mnpbem_material-0.1.10.tar.gz (89.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mnpbem_material-0.1.10-py3-none-any.whl (97.2 kB view details)

Uploaded Python 3

File details

Details for the file mnpbem_material-0.1.10.tar.gz.

File metadata

  • Download URL: mnpbem_material-0.1.10.tar.gz
  • Upload date:
  • Size: 89.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for mnpbem_material-0.1.10.tar.gz
Algorithm Hash digest
SHA256 e467406b923599b502e6eb2a30e0670fd37f6876a887214f155088ced3c87a11
MD5 2fe63879019a342afa983cba6cc964d0
BLAKE2b-256 4d28ef51d685ecd312099cfe9a1fcaa13cedae93d429298c756aed5e7ea7bea1

See more details on using hashes here.

File details

Details for the file mnpbem_material-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for mnpbem_material-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2e0e93c347f7a2216689c192c01057e97fa5c8098cff0620b535fd6473f5a0e3
MD5 f0d0ec16e99f966e56307eb084f38d9f
BLAKE2b-256 a71ae14377c371b4f4fb84c0937c31ea8a3c8c714f31e54e94b7f46711bb0200

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page