summaryrefslogtreecommitdiff
path: root/day1
diff options
context:
space:
mode:
authorSantosh G. Vattam2009-10-23 12:11:33 +0530
committerSantosh G. Vattam2009-10-23 12:11:33 +0530
commit6ed1287ad1b6dd2a40a0d832d96486c11f5d980f (patch)
tree7775b7c7500892d6534ee61c4c8cb70c5a270d59 /day1
parenta363678a9bee3d69bc603090b40b70154960764e (diff)
downloadworkshops-more-scipy-6ed1287ad1b6dd2a40a0d832d96486c11f5d980f.tar.gz
workshops-more-scipy-6ed1287ad1b6dd2a40a0d832d96486c11f5d980f.tar.bz2
workshops-more-scipy-6ed1287ad1b6dd2a40a0d832d96486c11f5d980f.zip
Updated session 2, day 1 slides.
Diffstat (limited to 'day1')
-rw-r--r--day1/session2.tex50
1 files changed, 3 insertions, 47 deletions
diff --git a/day1/session2.tex b/day1/session2.tex
index 9e0149c..06fa0b4 100644
--- a/day1/session2.tex
+++ b/day1/session2.tex
@@ -1,8 +1,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Tutorial slides on Python.
%
-% Author: FOSSEE
-% Copyright (c) 2009, FOSSEE, IIT Bombay
+% Author: The FOSSEE Group
+% Copyright (c) 2009, The FOSSEE Group, IIT Bombay
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[14pt,compress]{beamer}
@@ -75,7 +75,7 @@
% Title page
\title[Plotting using Python]{Plotting experimental data\\}
-\author[FOSSEE] {FOSSEE}
+\author[FOSSEE Team] {The FOSSEE Group}
\institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
\date[] {31, October 2009\\Day 1, Session 2}
@@ -123,39 +123,6 @@
% You might wish to add the option [pausesections]
\end{frame}
-\section{Functions}
-\begin{frame}{Functions: Definition}
-\begin{itemize}
- \item \kwrd{def} keyword
-\end{itemize}
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{Functions: Example 1}
- \begin{lstlisting}
-In []: def plot_sinx():
- ....: x = linspace(0, 2*pi, 100)
- ....: plt.plot(x, sin(x))
- ....: plt.show()
- ....:
-
-In []: plot_sinx()
- \end{lstlisting}
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{Functions: Example 2}
- \begin{lstlisting}
-In []: def f(x):
- ....: return sin(x*x*x)+(3*x*x)
-
-In []: x = linspace(0,2*pi, 1000)
-
-In []: plt.plot(x, f(x))
- \end{lstlisting}
- \inctime{10}
-\end{frame}
-
\section{Creating and running scripts}
\begin{frame}
{Creating python files}
@@ -256,15 +223,4 @@ Out[]: [1, 2, 3, 4, 5, [6, 7]]
\inctime{10}
\end{frame}
-\section{Modules and import}
-\begin{frame}{Modules and \typ{import}}
- \begin{itemize}
- \item \kwrd{import} x
- \item \kwrd{from} x \kwrd{import} y
- \end{itemize}
-\pause
-Whats the difference??
-\inctime{5}
-\end{frame}
-
\end{document}