Commit 3af4dd59 authored by Valentin Valls's avatar Valentin Valls
Browse files

Add linear_up to signals

parent 17d79d78
......@@ -473,6 +473,7 @@ class _Signal:
"expo_gaussian": lambda npoints: numpy.exp(
signal.gaussian(npoints, .1 * npoints) * 30
),
"linear_up": lambda npoints: numpy.linspace(0, 1, num=npoints),
}
def __init__(self, name: str = "sawtooth", npoints: int = 50):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment