summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index ebfba1af1..d6dc7e5b9 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -1516,14 +1516,17 @@ def unwrap(p, discont=None, axis=-1, *, period=2*pi):
-------
out : ndarray
Output array.
+
See Also
--------
rad2deg, deg2rad
+
Notes
-----
If the discontinuity in `p` is smaller than ``period/2``,
but larger than `discont`, no unwrapping is done because taking
the complement would only make the discontinuity larger.
+
Examples
--------
>>> phase = np.linspace(0, np.pi, num=5)