File: signals.rst

package info (click to toggle)
mpmath 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,356 kB
  • sloc: python: 45,321; makefile: 10
file content (45 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Signal functions
----------------

The functions in this section describe non-sinusoidal waveforms, which are often used in signal processing and electronics.

Square wave signal
...................................................

:func:`squarew`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. autofunction:: mpmath.squarew(t, amplitude=1, period=1)

Triangle wave signal
...............................

:func:`trianglew`
^^^^^^^^^^^^^^^^^^^^

.. autofunction:: mpmath.trianglew(t, amplitude=1, period=1)

Sawtooth wave signal
......................

:func:`sawtoothw`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. autofunction:: mpmath.sawtoothw(t, amplitude=1, period=1)

Unit triangle signal
.....................

:func:`unit_triangle`
^^^^^^^^^^^^^^^^^^^^^^^

.. autofunction:: mpmath.unit_triangle(t, amplitude=1)

Sigmoid wave signal
.....................

:func:`sigmoid`
^^^^^^^^^^^^^^^^^^^^^^^

.. autofunction:: mpmath.sigmoid(t, amplitude=1)