Skip to content
Snippets Groups Projects
Commit 7c45e4c3 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Fix NumPy crosslinks

parent 9996e607
No related branches found
No related tags found
1 merge request!175Fix NumPy crosslinks
Pipeline #89390 passed
...@@ -170,7 +170,7 @@ class Sinusoid(SignalGenerator): ...@@ -170,7 +170,7 @@ class Sinusoid(SignalGenerator):
frequency : float frequency : float
The normalized frequency of the sinusoid. Should normally be in the The normalized frequency of the sinusoid. Should normally be in the
interval [0, 1], where 1 corresponds to half the sample rate. interval [0, 1], where 1 corresponds to half the sample rate.
phase : float, default: 0 phase : float, default: 0.0
The normalized phase offset. The normalized phase offset.
""" """
...@@ -193,15 +193,15 @@ class Gaussian(SignalGenerator): ...@@ -193,15 +193,15 @@ class Gaussian(SignalGenerator):
""" """
Signal generator with Gaussian noise. Signal generator with Gaussian noise.
See :class:`numpy.random.Generator.normal` for further details. See :py:meth:`numpy.random.Generator.normal` for further details.
Parameters Parameters
---------- ----------
seed : int, optional seed : int, optional
The seed of the random number generator. The seed of the random number generator.
scale : float, default: 1 scale : float, default: 1.0
The standard deviation of the noise. The standard deviation of the noise.
loc : float, default: 0 loc : float, default: 0.0
The average value of the noise. The average value of the noise.
""" """
...@@ -232,16 +232,16 @@ class Uniform(SignalGenerator): ...@@ -232,16 +232,16 @@ class Uniform(SignalGenerator):
""" """
Signal generator with uniform noise. Signal generator with uniform noise.
See :class:`numpy.random.Generator.normal` for further details. See :py:meth:`numpy.random.Generator.normal` for further details.
Parameters Parameters
---------- ----------
seed : int, optional seed : int, optional
The seed of the random number generator. The seed of the random number generator.
low : float, default: -1 low : float, default: -1.0
The lower value of the uniform range. The lower value of the uniform range.
high : float, default: 1 high : float, default: 1.0
The upper value of the uniform range. The upper value of the uniform range.
""" """
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
import shutil import shutil
project = 'B-ASIC' project = 'B-ASIC'
copyright = '2020-2022, Oscar Gustafsson et al' copyright = '2020-2023, Oscar Gustafsson et al'
author = 'Oscar Gustafsson et al' author = 'Oscar Gustafsson et al'
html_logo = "../logo_tiny.png" html_logo = "../logo_tiny.png"
...@@ -37,6 +37,7 @@ intersphinx_mapping = { ...@@ -37,6 +37,7 @@ intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None), 'python': ('https://docs.python.org/3/', None),
'graphviz': ('https://graphviz.readthedocs.io/en/stable/', None), 'graphviz': ('https://graphviz.readthedocs.io/en/stable/', None),
'matplotlib': ('https://matplotlib.org/stable/', None), 'matplotlib': ('https://matplotlib.org/stable/', None),
'numpy': ('https://numpy.org/doc/stable/', None),
'PyQt5': ("https://www.riverbankcomputing.com/static/Docs/PyQt5", None), 'PyQt5': ("https://www.riverbankcomputing.com/static/Docs/PyQt5", None),
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment