Materials
CoupledDipole.Material — TypeMaterial(wavelength, media)Wavelength-dependent optical properties.
Dielectric functions
CoupledDipole.epsilon_Ag — Functionepsilon_Ag(λ::Real)Drude model for the dielectric function of silver in the visible region
- λ: wavelength in nm
Examples
julia> round(epsilon_Ag(632.8), digits=5)
-16.11377 + 0.74871imCoupledDipole.epsilon_Au — Functionepsilon_Au(λ::Real)Extended Drude model for the dielectric function of gold in the visible region
- λ: wavelength in nm
Examples
julia>  round(epsilon_Au(632.8), digits=5)
-11.40185 + 1.18679imParticle polarisabilities
CoupledDipole.depolarisation_spheroid — Functiondepolarisation_spheroid(a, c)Depolarisation factor of a spheroid
- a: semi-axis along x and y
- c: semi-axis along z
Examples
julia> round.(depolarisation_spheroid(1, 1.5), digits=5)
3-element SVector{3, Float64} with indices SOneTo(3):
 0.38351
 0.38351
 0.23298CoupledDipole.alpha_kuwata — Functionalpha_kuwata(λ, ε, ε_m, Size)Principal polarisability components of a spheroidal particle
- λ: wavelength
- ε: complex dielectric function
- ε_m: dielectric function of surrounding medium
- Size: SVector with 3 semi-axes of the spheroid
Examples
julia> alpha_kuwata(500, -10+1im, 1.33^2, SVector(30, 30, 50))
3-element SVector{3, ComplexF64} with indices SOneTo(3):
  77076.04648078184 + 26235.664281642235im
  77076.04648078184 + 26235.664281642235im
 -98187.15974124733 + 205835.30299929058imMolecular polarisabilities
CoupledDipole.lorentzian — Functionlorentzian(λ::Real, α_k::Real, λ_k::Real, µ_k::Real)Complex Lorentz function, to describe polarisabilities
- λ: wavelength in nm
- α_k: oscillator strength in S.I. units
- λ_k: oscillator wavelength in nm
- µ_k: damping in S.I. units
Examples
julia> round(lorentzian(632.8)*1e39, digits=5)
6.58095 + 1.35961imCoupledDipole.alpha_lorentzmolecule — Functionalpha_lorentzmolecule(λ::T, α_∞::T, α_k::Array{T}, λ_k::Array{T}, µ_k::Array{T}) where T <: RealComplex scalar polarisability, as sum of lorentz oscillators
- λ: wavelength in nm
- α_k: oscillator strength(s) in S.I. units
- λ_k: oscillator wavelength(s) in nm
- µ_k: damping(s) in S.I. units
Default values mimic the main resonance of Rhodamine 700
Examples
julia> round(alpha_lorentzmolecule(632.8), digits=5)
0.14543 + 0.01222imCoupledDipole.alpha_embed — Functionalpha_embed(α::Complex{T}, medium::T) where T <: RealEffective point polarisability in medium, rescaled by local field correction
- α: bare polarisabilty
- medium: refractive index of embedding medium
Default values mimic the main resonance of Rhodamine 700
Examples
julia> round(alpha_embed(alpha_lorentzmolecule(632.8)), digits=5)
0.12976 + 0.0109imCoupledDipole.alpha_scale — Functionalpha_scale(alpha, sizes::SVector{3})Principal polarisability components of a particle, rescaled along each principal axis
- α: scalar polarisabilty
- sizes: 3-vector to scale along each principal axis