MSTM
MSTM.SpecialFunctions.cricbessel
— Methodcricbessel(n, ds)
Compute the Riccati-Bessel function, return complex values.
MSTM.SpecialFunctions.cspherebessel
— Methodcspherebessel(n, z)
Compute spherical Bessel functions jn(z) & yn(z)
MSTM.SpecialFunctions.eulerrotation
— Methodeulerrotation(xp)
Euler rotation of a point (xp[1], xp[2], xp[3]).
MSTM.SpecialFunctions.gaussianbeamcoef
— Methodgaussianbeamcoef(ctx, α, β, cbeam, nodr)
Regular VSWF expansion coefficients for a gaussian beam, localized approximation.
cbeam = 1/(k omega)
MSTM.SpecialFunctions.gentrancoef
— Methodgentrancoef(ctx, itype, xptran, ri, nrow0, nrow1, ncol0, ncol1, iaddrow0, iaddcol0)
Calculates the vwh translation coefficients for a general translation from one origin to another.
MSTM.SpecialFunctions.msta1
— Methodmsta1(x, mp)
Determine the starting point for backward recurrence such that the magnitude of Jn(x) at that point is about 10^(-MP).
MSTM.SpecialFunctions.pifunc
— Methodpifunc(cb, ephi, nmax, ndim)
Vector spherical harmonic function.
TODO: ndim
seems to be useless. Can it be safely deleted?
MSTM.SpecialFunctions.ricbessel
— Methodricbessel(n, ds, ϵ, Ψ)
Compute the Ricatti-Bessel function.
References:
- Riccati-Bessel Functions at Wolfram MathWorld
MSTM.SpecialFunctions.sphereplanewavecoef
— Methodsphereplanewavecoef(ctx, nsphere, neqns, nodr, nodrmax, α, β, rpos, hostsphere, numberfieldexp, rimedium)
Plane wave expansion coefficients at sphere origins. A phase shift is used.
MSTM.SpecialFunctions.taufunc
— Methodtaufunc(ctx, cb, nmax)
Normalized vector spherical harmonic function.
MSTM.SpecialFunctions.tranordertest
— Methodtranordertest(ctx, r, ri, lmax, ϵ)
Test to determine convergence of regular VSWF addition theorem for max order lmax and translation distance r w/ refractive index ri.
MSTM.SpecialFunctions.vcfuncuprec!
— Methodvcfuncuprec(ctx, m, n, k, l, wmax, vcn)
Upwards VC coefficient recurrence, used internally by vcfunc(ctx, m, n, k, l).
MSTM.Data.MSTMConfig
— MethodMSTMConfig(filename::String)
Read configurations from a .toml file.
MSTM.Data.TMaxtrix
— MethodTMaxtrix(filename::String)
Read a previously calculated T matrix.
MSTM.Mie.mieoa
— Methodmieoa(x, ri, nodr0, qeps, ri_medium)
Optically active Lorenz/Mie coefficients
MSTM.Mie.multmiecoeffmult
— Functionmultmiecoeffmult(mie, nrhs, idir, ain, rhs_list)
Generalized Mie coefficient multiplication.
If idir != 1, we do the transpose.
Index
MSTM.Data.MSTMConfig
MSTM.Data.TMaxtrix
MSTM.Mie.mieoa
MSTM.Mie.multmiecoeffmult
MSTM.SpecialFunctions.cricbessel
MSTM.SpecialFunctions.cspherebessel
MSTM.SpecialFunctions.eulerrotation
MSTM.SpecialFunctions.gaussianbeamcoef
MSTM.SpecialFunctions.gentrancoef
MSTM.SpecialFunctions.msta1
MSTM.SpecialFunctions.pifunc
MSTM.SpecialFunctions.ricbessel
MSTM.SpecialFunctions.sphereplanewavecoef
MSTM.SpecialFunctions.taufunc
MSTM.SpecialFunctions.tranordertest
MSTM.SpecialFunctions.vcfuncuprec!