python_utils.rand_polar#
Back to Module page
Summary#
get nangles (int or tuple) samples ~ np.arccos(U(-1, 1))
Signature#
def rand_polar(nangles = 1)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
1 |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Docstring#
get nangles (int or tuple) samples ~ np.arccos(U(-1, 1))