--- a/day2/session2.tex Thu Oct 08 01:30:59 2009 +0530
+++ b/day2/session2.tex Thu Oct 08 15:33:41 2009 +0530
@@ -347,14 +347,14 @@
\frametitle{Interpolation}
Try it!
\begin{lstlisting}
- >>> from scipy import interpolate
- >>> interpolate.interp1d?
- >>> x = np.arange(0,2*np.pi,np.pi/4)
- >>> y = np.sin(x)
- >>> fl = interpolate.interp1d(x,y,kind='linear')
- >>> fc = interpolate.interp1d(x,y,kind='cubic')
- >>> fl(np.pi/3)
- >>> fc(np.pi/3)
+>>> from scipy import interpolate
+>>> interpolate.interp1d?
+>>> x = np.arange(0,2*np.pi,np.pi/4)
+>>> y = np.sin(x)
+>>> fl = interpolate.interp1d(x,y,kind='linear')
+>>> fc = interpolate.interp1d(x,y,kind='cubic')
+>>> fl(np.pi/3)
+>>> fc(np.pi/3)
\end{lstlisting}
\end{frame}
@@ -424,5 +424,3 @@
- random number generation.
- Image manipulation: jigsaw puzzle.
- Monte-carlo integration.
-
-