View source: R/disk_to_disk_solid_angle.R
disk_to_disk_solid_angle | R Documentation |
Returns fractional solid angle for a geometry frequently encountered in health physics analysis of air samples or disk smears. This is useful in correcting configurations that do not exactly match calibration (by ratioing the respective fractional solid angles). While units of steridian are used for solid angle, this function only uses a fraction of the total field of view.
disk_to_disk_solid_angle(
r.source,
gap,
r.detector,
plot.opt = "n",
runs = 10000,
off_center = 0,
beep = "off"
)
r.source |
source radius (all units must be consistent) |
gap |
distance between source and detector |
r.detector |
detector radius |
plot.opt |
plot options - "2d", "3d" or "n". |
runs |
Number of particles to simulate. Running more particles improves accuracy. Default = 1e4. |
off_center |
measure of eccentricity between the center of the source and the center of the disk. This is applied to the x-dimension of the source. |
beep |
Set to "on" if desired. Default is "off". Alerts to end of run if runs is set to a high number. |
Fractional solid angle and plot of simulation.
https://karthikkaranth.me/blog/generating-random-points-in-a-sphere/ https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance
Other rad measurements:
air_dens_cf()
,
neutron_geom_cf()
,
scaler_sim()
,
tau_estimate()
disk_to_disk_solid_angle(r.source = 15, gap = 20, r.detector = 10, plot.opt = "n", runs = 1e3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.