maths.convolve_1d ================= .. py:module:: maths.convolve_1d Classes ------- .. autoapisummary:: maths.convolve_1d.DiscreteConvolve1D maths.convolve_1d.Signal Module Contents --------------- .. py:class:: DiscreteConvolve1D 1D discrete convolution between two linear signals >>> s1 = Signal([1,2,3,4,5]) >>> s2 = Signal([1,-1,2,-3]) >>> DiscreteConvolve1D(s1,s2) # doctest: +NORMALIZE_WHITESPACE DiscreteConvolve1D(kern=Signal(signal=[1, 2, 3, 4, 5], n=5), sig=Signal(signal=[1, -1, 2, -3], n=4)) .. py:property:: convolve_1d :type: Signal .. py:attribute:: kern :type: Signal .. py:attribute:: sig :type: Signal .. py:class:: Signal A discrete representation of a signal as a n-dimensional vector >>> Signal([1.0,3.0,2.0,-1.0]) Signal(signal=[1.0, 3.0, 2.0, -1.0], n=4) .. py:method:: __post_init__() -> None .. py:attribute:: n :type: int :value: 0 .. py:attribute:: signal :type: list[float] :value: []