View source: R/detector_response.R
This function performs the numerical integration of detected scattering signal over the detector surface. A significant constraint is that the detector is assumed to be cylindrically symmetrical.
We retrieve the scattering amplitudes from Rscattnlay, and calculate the Stokes matrix elements S11 and S12, which are required to accurately handle polarization effects.
1 2 3 4 5 6 | calculate_detector_response(
particle = create_EV(d = 180),
detector = create_detector(),
dr = 0.02,
dphi = 10
)
|
particle |
A |
detector |
A detector object, created using create_detector. This object describes the geometry of the detector as well as the polarization state of the incident light. |
dr |
The numerical integration delta_radius across the detector, whose diameter is, by definition, 1.0. Integration limits are 0,1. Default = 0.02, accurate to about 2 percent. |
dphi |
The numerical integration of azimuthal angle delta_phi across the detector. Integration limits are 0,360. Default = 10.0, accurate to about .06 percent. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.