maxwelllink.em_solvers.dummy_em module¶
- class maxwelllink.em_solvers.dummy_em.DummyEMSimulation[source]¶
Bases:
objectMinimal dummy EM simulation container.
- class maxwelllink.em_solvers.dummy_em.DummyEMUnits[source]¶
Bases:
objectDummy EM units with 1:1 conversions to atomic units.
- efield_em_to_au(Emu_vec3)[source]¶
Convert the electric field vector from EM units to atomic units (a.u.).
- Parameters:
Emu_vec3 (array-like of float, shape (3,)) – Electric field vector in EM units.
- Returns:
Electric field vector in atomic units.
- Return type:
numpy.ndarray of float, shape (3,)
- source_amp_au_to_em(amp_au_vec3)[source]¶
Convert a source amplitude vector from atomic units (a.u.) to EM units.
- Parameters:
amp_au_vec3 (array-like of float, shape (3,)) – Source amplitude vector in atomic units.
- Returns:
Source amplitude vector in EM units.
- Return type:
numpy.ndarray of float, shape (3,)
- class maxwelllink.em_solvers.dummy_em.MoleculeDummyWrapper[source]¶
Bases:
object- __init__(molecule)[source]¶
Lightweight wrapper that associates a Molecule with dummy EM units.
- Parameters:
molecule (Molecule) – The molecule to wrap.
- calc_amp_vector()[source]¶
Compute and return the current source amplitude vector from the molecule.
- Returns:
Source amplitudes in atomic units.
- Return type:
numpy.ndarray of float, shape (3,)