Changed all sessions based on tot session.
authorSantosh G. Vattam <vattam.santosh@gmail.com>
Wed, 27 Jan 2010 21:42:07 +0530 (2010-01-27)
changeset 366 ec4cb3ba7f09
parent 365 2cda9b04f142
child 368 701585ab7eca
child 371 9956a5bcd0f5
Changed all sessions based on tot session.
day1/session1.tex
day1/session2.tex
day1/session3.tex
day1/session4.tex
day1/session5.tex
day1/session6.tex
day1/tot.tex
day2/session1.tex
--- a/day1/session1.tex	Mon Jan 25 17:53:03 2010 +0530
+++ b/day1/session1.tex	Wed Jan 27 21:42:07 2010 +0530
@@ -77,7 +77,7 @@
 \author[FOSSEE] {FOSSEE}
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {11 January, 2010\\Day 1, Session 1}
+\date[] {28 January, 2010\\Day 1, Session 1}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
@@ -123,34 +123,6 @@
 %% \end{frame}
 
 \begin{frame}
-  \frametitle{Workshop Schedule: Day 1}
-  \begin{description}
-	\item[Session 1] Mon 09:00--10:00
-	\item[Session 2] Mon 10:05--11:05
-	\item[Session 3] Mon 11:20--12:20
-	\item[Session 4] Mon 12:25--13:25
-        \item[Quiz 1] Mon 14:25--14:40
-        \item[Exercises] Mon 14:40--15:25
-        \item[Session 5] Mon 15:40--16:40
-        \item[Quiz 2] Mon 16:45--17:00
-  \end{description}
-\end{frame}
-
-\begin{frame}
-  \frametitle{Workshop Schedule: Day 2}
-  \begin{description}
-	\item[Session 1] Tue 09:00--10:00
-	\item[Session 2] Tue 10:05--11:05
-	\item[Session 3] Tue 11:20--12:20
-	\item[Session 4] Tue 12:25--13:25
-        \item[Quiz 1]  Tue 14:25--14:40
-        \item[Exercises] Tue 14:40--15:25
-        \item[Session 5] Tue 15:40--16:40
-        \item[Quiz 2]  Tue 16:45--17:00
-  \end{description}
-\end{frame}
-
-\begin{frame}
   \frametitle{About the Workshop}
   \begin{block}{Intended Audience}
   \begin{itemize}
@@ -168,68 +140,7 @@
   \end{block}
 \end{frame}
 
-\section{Getting started}
-\begin{frame}
-\frametitle{Checklist}
-  \begin{enumerate}
-    \item IPython
-    \item Editor: We recommend \alert{scite}.
-    \item Data files: 
-      \begin{itemize}
-      \item \typ{sslc1.txt}
-      \item \typ{pendulum.txt}
-      \item \typ{points.txt}
-      \item \typ{pos.txt}
-      \item \typ{holmes.txt}
-      \end{itemize}
-    \item Python scripts: 
-      \begin{itemize}
-      \item \typ{sslc_allreg.py}
-      \item \typ{sslc_science.py}
-      \end{itemize}
-    \item Images
-      \begin{itemize}
-      \item \typ{lena.png}
-      \item \typ{smoothing.gif}
-      \end{itemize}
-  \end{enumerate}
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{Starting up \ldots}
-\begin{block}{}
-\begin{lstlisting}
-  $ ipython -pylab  
-\end{lstlisting} %$
-\end{block}
-\begin{lstlisting}     
-  In []: print "Hello, World!"
-  Hello, World!
-\end{lstlisting}
-Exiting
-\begin{lstlisting}     
-  In []: ^D(Ctrl-D)
-  Do you really want to exit([y]/n)? y
-\end{lstlisting}
-\end{frame}
-
-%% \begin{frame}[fragile]
-%% \frametitle{Loops}
-%% Breaking out of loops
-%% \begin{lstlisting}     
-%%   In []: while True:
-%%     ...:     print "Hello, World!"
-%%     ...:     
-%%   Hello, World!
-%%   Hello, World!^C(Ctrl-C)
-%%   ------------------------------------
-%%   KeyboardInterrupt                   
-
-%% \end{lstlisting}
-%% \end{frame}
-
 \section{Plotting}
-
 \subsection{Drawing plots}
 \begin{frame}[fragile]
 \frametitle{First Plot}
@@ -249,7 +160,6 @@
 \end{columns}
 \end{frame}
 
-
 \begin{frame}[fragile]
 \frametitle{Walkthrough}
 \begin{block}{\typ{x = linspace(start, stop, num)} }
@@ -488,9 +398,9 @@
 \frametitle{Saving Commands}
 Save commands of review problem into file
 \begin{itemize}
-\item Use \typ{\%hist} command of IPython 
+\item Use \typ{\%hist} command of IPython (Recall \%\typ{hist} from the previous session)
 \item Identify the required line numbers
-\item Then, use \typ{\%save} command of IPython
+\item Then, use \typ{\%save} command of IPython (Recall \%\typ{save} from the previous session)
 \end{itemize}
 \typ{In []: \%hist}\\
 \typ{In []: \%save four_plot.py} \alert{\typ{16 18-27}} 
@@ -511,8 +421,6 @@
 \begin{frame}[fragile]
   \frametitle{What did we learn?}
   \begin{itemize}
-    \item \kwrd{\%hist}
-    \item Saving commands to a script
     \item Running a script using \kwrd{\%run -i}
     \item Creating simple plots.
     \item Adding labels and legends.
--- a/day1/session2.tex	Mon Jan 25 17:53:03 2010 +0530
+++ b/day1/session2.tex	Wed Jan 27 21:42:07 2010 +0530
@@ -78,7 +78,7 @@
 \author[FOSSEE] {FOSSEE}
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {11 January, 2010\\Day 1, Session 2}
+\date[] {28 January, 2010\\Day 1, Session 2}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
@@ -312,7 +312,7 @@
 
 \begin{frame}[fragile]
   \frametitle{How to come out of the \texttt{for} loop?}
-  Hit the ``ENTER'' key twice to return to the previous indentation level
+  Recall that hitting the ``ENTER'' key twice returns the cursor to the previous indentation level
   \begin{lstlisting}
     In []: for time in t:
      ....:     tsq.append(time*time)
--- a/day1/session3.tex	Mon Jan 25 17:53:03 2010 +0530
+++ b/day1/session3.tex	Wed Jan 27 21:42:07 2010 +0530
@@ -79,7 +79,7 @@
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
 
-\date[] {11 January, 2010\\Day 1, Session 3}
+\date[] {28 January, 2010\\Day 1, Session 3}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
--- a/day1/session4.tex	Mon Jan 25 17:53:03 2010 +0530
+++ b/day1/session4.tex	Wed Jan 27 21:42:07 2010 +0530
@@ -79,7 +79,7 @@
 \author[FOSSEE] {FOSSEE}
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {11 January, 2010\\Day 1, Session 4}
+\date[] {28 January, 2010\\Day 1, Session 4}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
--- a/day1/session5.tex	Mon Jan 25 17:53:03 2010 +0530
+++ b/day1/session5.tex	Wed Jan 27 21:42:07 2010 +0530
@@ -78,7 +78,7 @@
 \author[FOSSEE] {FOSSEE}
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {11 January, 2010\\Day 1, Session 5}
+\date[] {28 January, 2010\\Day 1, Session 5}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
@@ -127,10 +127,7 @@
     point = line.split()
     l.append(float(point[0]))
     t.append(float(point[1]))
-tsq = []
-for time in t:
-    tsq.append(time*time)
-plot(l, tsq, '.')
+plot(l, t, '.')
     \end{lstlisting}
     \end{block}
   \end{columns}
--- a/day1/session6.tex	Mon Jan 25 17:53:03 2010 +0530
+++ b/day1/session6.tex	Wed Jan 27 21:42:07 2010 +0530
@@ -78,7 +78,7 @@
 \author[FOSSEE] {FOSSEE}
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {11 January, 2010\\Day 1, Session 6}
+\date[] {28 January, 2010\\Day 1, Session 6}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
--- a/day1/tot.tex	Mon Jan 25 17:53:03 2010 +0530
+++ b/day1/tot.tex	Wed Jan 27 21:42:07 2010 +0530
@@ -156,7 +156,7 @@
 \frametitle{Checklist}
   \begin{enumerate}
     \item IPython
-    \item Editor: We recommend \alert{scite}.
+    \item Editor
     \item Data files: 
       \begin{itemize}
       \item \typ{sslc1.txt}
@@ -250,6 +250,14 @@
   \ldots
 \end{frame}
 
+\section{Command history}
+\begin{frame}[fragile]
+  \frametitle{Command history}
+  \typ{In []:} \alert{$\uparrow$}\\
+  \typ{In []: a = 'Hello world'}\\
+  \emphbar{The previously entered commands can be browsed using the \alert{$\uparrow$} key.}
+\end{frame}
+
 \section{Saving Commands}
 \begin{frame}[fragile]
 \frametitle{History and Saving of Commands}
--- a/day2/session1.tex	Mon Jan 25 17:53:03 2010 +0530
+++ b/day2/session1.tex	Wed Jan 27 21:42:07 2010 +0530
@@ -79,7 +79,7 @@
 \author[FOSSEE Team] {The FOSSEE Group}
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {12 January, 2010\\Day 2, Session 1}
+\date[] {29 January, 2010\\Day 2, Session 1}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
@@ -255,6 +255,7 @@
 
 \begin{frame}[fragile]
   \frametitle{A bit about IPython}
+  Recall, we showed a few features of IPython, here is one more:
   \begin{itemize}
     \item IPython provides better help
     \item object.function?
@@ -262,10 +263,6 @@
 In []: a = 'Hello World'
 In []: a.lower?
     \end{lstlisting}
-    \item It provides tab completion
-        \begin{lstlisting}
-In []: a.s<Tab>
-    \end{lstlisting}
   \end{itemize}
 \end{frame}