From: <jd...@us...> - 2007-10-26 19:43:28
|
Revision: 4021 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4021&view=rev Author: jdh2358 Date: 2007-10-26 12:43:27 -0700 (Fri, 26 Oct 2007) Log Message: ----------- added convolution example Added Paths: ----------- trunk/py4science/workbook/convolution.tex Added: trunk/py4science/workbook/convolution.tex =================================================================== --- trunk/py4science/workbook/convolution.tex (rev 0) +++ trunk/py4science/workbook/convolution.tex 2007-10-26 19:43:27 UTC (rev 4021) @@ -0,0 +1,27 @@ + + +\begin{center}% +\begin{figure} +\begin{centering}\includegraphics[width=4in]{fig/convolve_explain}\par\end{centering} +\caption{\label{fig:convolve_explain}The output of a linear system to a series of impulse inputs is equal to the sum of the scaled and time shifted impulse response functions.} +\end{figure} +\par\end{center} + +\begin{center}% +\begin{figure} +\begin{centering}\includegraphics[width=4in]{fig/convolve_deltas}\par\end{centering} +\caption{\label{fig:convolve_deltas}Representing a continuous time signal sampled as a sum of delta functions.} +\end{figure} +\par\end{center} + + +\lstinputlisting[label=code:convolution_demo,caption={IGNORED}]{skel/convolution_demo_skel.py} + + + +\begin{center}% +\begin{figure} +\begin{centering}\includegraphics[width=4in]{fig/convolution_demo}\par\end{centering} +\caption{\label{fig:convolution_demo}Convolution of a white noise process with a double exponential function computed with \texttt{numpy.fft} and \texttt{numpy.convolve}} +\end{figure} +\par\end{center} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |