Description Usage Arguments Value
Create_particle creates a model of a spherical particle with n_layers
layers, each
of which has a radius and a refractive index. Typically, layers are described from inside
towards the outside (i.e. lumen first, then membrane).
1 | create_particle(medium = 1.34, lambda = 488, n_angle = 361, n_layers, r, n)
|
medium |
The refractive index (RI) of the material surrounding the particle (Default = 1.34, approximating the RI of normal saline solution) |
lambda |
The wavelength of the incident light, in nm. Default = 488. |
n_angle |
The number of angular steps to calculate Stokes coefficients, in degrees. (Default = 361). Note: more steps increases resolution at the expense of run time. The default is adequate for most situations. |
n_layers |
The number of layers in a particle. A typical model of an EV will have two layers. The inner layer is the lumen, and the outer layer is the membrane. |
r |
A numeric vector of radii of each layer, in nm. Note that length(r) must equal n_layers. |
n |
A numeric vector of refractive indices of each layer. Note that length(n) must equal n_layers. |
An object of class Scatterer
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.