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.74871im
CoupledDipole.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.18679im
Particle polarisabilities
CoupledDipole.depolarisation_spheroid
— Functiondepolarisation_spheroid(a, c)
Depolarisation factor of a spheroid
a
: semi-axis along x and yc
: 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.23298
CoupledDipole.alpha_kuwata
— Functionalpha_kuwata(λ, ε, ε_m, Size)
Principal polarisability components of a spheroidal particle
λ
: wavelengthε
: complex dielectric functionε_m
: dielectric function of surrounding mediumSize
: 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.30299929058im
Molecular 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.35961im
CoupledDipole.alpha_lorentzmolecule
— Functionalpha_lorentzmolecule(λ::T, α_∞::T, α_k::Array{T}, λ_k::Array{T}, µ_k::Array{T}) where T <: Real
Complex 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.01222im
CoupledDipole.alpha_embed
— Functionalpha_embed(α::Complex{T}, medium::T) where T <: Real
Effective point polarisability in medium, rescaled by local field correction
α
: bare polarisabiltymedium
: 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.0109im
CoupledDipole.alpha_scale
— Functionalpha_scale(alpha, sizes::SVector{3})
Principal polarisability components of a particle, rescaled along each principal axis
α
: scalar polarisabiltysizes
: 3-vector to scale along each principal axis