mie | R Documentation |
Far-field cross-sections
mie(
wavelength,
epsilon,
radius,
medium = 1,
n_max = ceiling(2 + max(x) + 4 * max(x)^(1/3)),
efficiency = FALSE,
mode = c("EM", "Magnetic", "Electric"),
order = Inf
)
wavelength |
real vector |
epsilon |
complex vector |
radius |
scalar |
medium |
scalar, refractive index of surrounding medium |
n_max |
truncation order |
efficiency |
logical, scale by geometrical cross-sections |
mode |
type of mode |
order |
order of multipoles |
Homogeneous sphere illuminated by a plane wave
data.frame
Baptiste Auguie
Other user:
mie-package
,
mie_approximation()
,
mie_bh()
,
mie_ml()
gold <- epsAu(seq(400, 800))
cross_sections <- with(gold, mie(wavelength, epsilon, radius=50, medium=1.33, efficiency=FALSE))
matplot(cross_sections$wavelength, cross_sections[, -1], type="l", lty=1,
xlab=expression(lambda/mu*m), ylab=expression(sigma/mu*m^2))
legend("topright", names(cross_sections)[-1], col=1:3, lty=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.