mie: mie

View source: R/mie-splac.r

mieR Documentation

mie

Description

Far-field cross-sections

Usage

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
)

Arguments

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

Details

Homogeneous sphere illuminated by a plane wave

Value

data.frame

Author(s)

Baptiste Auguie

See Also

Other user: mie-package, mie_approximation(), mie_bh(), mie_ml()

Examples

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)

baptiste/mie documentation built on July 4, 2023, 1:06 p.m.