mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
0ba342c884
commit
0def5bf655
1 changed files with 5 additions and 7 deletions
|
|
@ -781,15 +781,13 @@ class Point(Spatial):
|
|||
|
||||
def spherical_uniform(r_outer, r_inner=0.0, thetas=(0., pi), phis=(0., 2*pi),
|
||||
origin=(0., 0., 0.)):
|
||||
r"""
|
||||
This function is a helper that makes it easier to create points uniformly
|
||||
distributed in a spherical shell using the class SphericalIndependent.
|
||||
"""Return a uniform spatial distribution over a spherical shell.
|
||||
|
||||
It allows one to sample points independly in a spherical shell, specified
|
||||
by (r1, r2), (theta1, theta2), (phi1, phi2) centered on the coordinates
|
||||
(x0, y0, z0).
|
||||
This function provides a uniform spatial distribution over a spherical
|
||||
shell between `r_inner` and `r_outer`. Optionally, the range of angles
|
||||
can be restricted by the `thetas` and `phis` arguments.
|
||||
|
||||
.. versionadded: 0.13
|
||||
.. versionadded: 0.13.1
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue