python_utils.rand_polar ======================= Back to :doc:`Module page <../modules/python_utils>` Summary ------- get nangles (int or tuple) samples ~ np.arccos(U(-1, 1)) Signature --------- .. code-block:: python def rand_polar(nangles = 1) .. list-table:: Input variables :header-rows: 1 * - Name - Type - Default - Description * - ``nangles`` - - - 1 - - Output variables ---------------- .. list-table:: :header-rows: 1 * - Return annotation - Docstring type - Description * - ``None`` - - - - Docstring --------- .. code-block:: text get nangles (int or tuple) samples ~ np.arccos(U(-1, 1))