File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1773,12 +1773,13 @@ def Square(
17731773 is the sign function with the convention :math:`\\ text{sign}\\ left(0\\ right)=1`.
17741774
17751775 Args:
1776- duration: Pulse length in terms of the sampling period `dt`.
1777- amp: The magnitude of the amplitude of the square wave. Wave range is [-`amp`,`amp`].
1776+ duration: Pulse length in terms of the sampling period ``dt``.
1777+ amp: The magnitude of the amplitude of the square wave. Wave range is
1778+ :math:`\\ left[-\\ texttt{amp},\\ texttt{amp}\\ right]`.
17781779 phase: The phase of the square wave (note that this is not equivalent to the angle of
17791780 the complex amplitude).
17801781 freq: The frequency of the square wave, in terms of 1 over sampling period.
1781- If not provided defaults to a single cycle (i.e :math:' \\ frac{1}{\\ text{duration}}' ).
1782+ If not provided defaults to a single cycle (i.e :math:` \\ frac{1}{\\ text{duration}}` ).
17821783 The frequency is limited to the range :math:`\\ left(0,0.5\\ right]` (the Nyquist frequency).
17831784 angle: The angle in radians of the complex phase factor uniformly
17841785 scaling the pulse. Default value 0.
You can’t perform that action at this time.
0 commit comments