Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Commits
7c45e4c3
Commit
7c45e4c3
authored
2 years ago
by
Oscar Gustafsson
Browse files
Options
Downloads
Patches
Plain Diff
Fix NumPy crosslinks
parent
9996e607
No related branches found
No related tags found
1 merge request
!175
Fix NumPy crosslinks
Pipeline
#89390
passed
2 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
b_asic/signal_generator.py
+7
-7
7 additions, 7 deletions
b_asic/signal_generator.py
docs_sphinx/conf.py
+2
-1
2 additions, 1 deletion
docs_sphinx/conf.py
with
9 additions
and
8 deletions
b_asic/signal_generator.py
+
7
−
7
View file @
7c45e4c3
...
...
@@ -170,7 +170,7 @@ class Sinusoid(SignalGenerator):
frequency : float
The normalized frequency of the sinusoid. Should normally be in the
interval [0, 1], where 1 corresponds to half the sample rate.
phase : float, default: 0
phase : float, default: 0
.0
The normalized phase offset.
"""
...
...
@@ -193,15 +193,15 @@ class Gaussian(SignalGenerator):
"""
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
----------
seed : int, optional
The seed of the random number generator.
scale : float, default: 1
scale : float, default: 1
.0
The standard deviation of the noise.
loc : float, default: 0
loc : float, default: 0
.0
The average value of the noise.
"""
...
...
@@ -232,16 +232,16 @@ class Uniform(SignalGenerator):
"""
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
----------
seed : int, optional
The seed of the random number generator.
low : float, default: -1
low : float, default: -1
.0
The lower value of the uniform range.
high : float, default: 1
high : float, default: 1
.0
The upper value of the uniform range.
"""
...
...
This diff is collapsed.
Click to expand it.
docs_sphinx/conf.py
+
2
−
1
View file @
7c45e4c3
...
...
@@ -8,7 +8,7 @@
import
shutil
project
=
'
B-ASIC
'
copyright
=
'
2020-202
2
, Oscar Gustafsson et al
'
copyright
=
'
2020-202
3
, Oscar Gustafsson et al
'
author
=
'
Oscar Gustafsson et al
'
html_logo
=
"
../logo_tiny.png
"
...
...
@@ -37,6 +37,7 @@ intersphinx_mapping = {
'
python
'
:
(
'
https://docs.python.org/3/
'
,
None
),
'
graphviz
'
:
(
'
https://graphviz.readthedocs.io/en/stable/
'
,
None
),
'
matplotlib
'
:
(
'
https://matplotlib.org/stable/
'
,
None
),
'
numpy
'
:
(
'
https://numpy.org/doc/stable/
'
,
None
),
'
PyQt5
'
:
(
"
https://www.riverbankcomputing.com/static/Docs/PyQt5
"
,
None
),
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment