summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advanced_python/slides/arrays.aux86
-rw-r--r--advanced_python/slides/arrays.tex2
-rw-r--r--advanced_python/slides/lambda.tex17
-rw-r--r--advanced_python/slides/modules.aux56
-rw-r--r--advanced_python/slides/modules.tex2
-rw-r--r--advanced_python/slides/oop.tex2
-rw-r--r--advanced_python/slides/plotting.aux116
-rw-r--r--advanced_python/slides/plotting.tex11
-rw-r--r--advanced_python/slides/scipy.aux72
-rw-r--r--advanced_python/slides/scipy.tex7
10 files changed, 13 insertions, 358 deletions
diff --git a/advanced_python/slides/arrays.aux b/advanced_python/slides/arrays.aux
deleted file mode 100644
index 1109d28..0000000
--- a/advanced_python/slides/arrays.aux
+++ /dev/null
@@ -1,86 +0,0 @@
-\relax
-\@writefile{toc}{\beamer@sectionintoc {8}{Arrays}{32}{0}{8}}
-\@writefile{nav}{\headcommand {\sectionentry {8}{Arrays}{32}{Arrays}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {28}{31}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {28}{31}}}
-\@writefile{nav}{\headcommand {\slideentry {8}{0}{32}{32/32}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {32}{32}}}
-\@writefile{nav}{\headcommand {\slideentry {8}{0}{33}{33/33}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {33}{33}}}
-\@writefile{nav}{\headcommand {\slideentry {8}{0}{34}{34/34}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {34}{34}}}
-\@writefile{nav}{\headcommand {\slideentry {8}{0}{35}{35/35}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {35}{35}}}
-\@writefile{nav}{\headcommand {\slideentry {8}{0}{36}{36/36}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {36}{36}}}
-\@writefile{nav}{\headcommand {\slideentry {8}{0}{37}{37/37}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {37}{37}}}
-\@writefile{toc}{\beamer@sectionintoc {9}{Accessing pieces of arrays}{38}{0}{9}}
-\@writefile{nav}{\headcommand {\sectionentry {9}{Accessing pieces of arrays}{38}{Accessing pieces of arrays}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {32}{37}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {32}{37}}}
-\@writefile{nav}{\headcommand {\slideentry {9}{0}{38}{38/38}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {38}{38}}}
-\@writefile{nav}{\headcommand {\slideentry {9}{0}{39}{39/39}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {39}{39}}}
-\@writefile{nav}{\headcommand {\slideentry {9}{0}{40}{40/40}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {40}{40}}}
-\@writefile{nav}{\headcommand {\slideentry {9}{0}{41}{41/41}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {41}{41}}}
-\@writefile{nav}{\headcommand {\slideentry {9}{0}{42}{42/42}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {42}{42}}}
-\@writefile{nav}{\headcommand {\slideentry {9}{0}{43}{43/43}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {43}{43}}}
-\@writefile{nav}{\headcommand {\slideentry {9}{0}{44}{44/44}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {44}{44}}}
-\@writefile{toc}{\beamer@sectionintoc {10}{Matrix Operations}{45}{0}{10}}
-\@writefile{nav}{\headcommand {\sectionentry {10}{Matrix Operations}{45}{Matrix Operations}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {38}{44}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {38}{44}}}
-\@writefile{nav}{\headcommand {\slideentry {10}{0}{45}{45/45}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {45}{45}}}
-\@writefile{nav}{\headcommand {\slideentry {10}{0}{46}{46/46}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {46}{46}}}
-\@writefile{toc}{\beamer@sectionintoc {11}{Least square fit}{47}{0}{11}}
-\@writefile{nav}{\headcommand {\sectionentry {11}{Least square fit}{47}{Least square fit}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {45}{46}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {45}{46}}}
-\@writefile{nav}{\headcommand {\slideentry {11}{0}{47}{47/47}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {47}{47}}}
-\@writefile{nav}{\headcommand {\slideentry {11}{0}{48}{48/48}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {48}{48}}}
-\@writefile{nav}{\headcommand {\slideentry {11}{0}{49}{49/49}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {49}{49}}}
-\@writefile{nav}{\headcommand {\slideentry {11}{0}{50}{50/50}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {50}{50}}}
-\@writefile{nav}{\headcommand {\slideentry {11}{0}{51}{51/51}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {51}{51}}}
-\@setckpt{slides/arrays}{
-\setcounter{page}{52}
-\setcounter{equation}{0}
-\setcounter{enumi}{2}
-\setcounter{enumii}{0}
-\setcounter{enumiii}{0}
-\setcounter{enumiv}{0}
-\setcounter{footnote}{0}
-\setcounter{mpfootnote}{0}
-\setcounter{beamerpauses}{1}
-\setcounter{bookmark@seq@number}{11}
-\setcounter{lecture}{0}
-\setcounter{part}{0}
-\setcounter{section}{11}
-\setcounter{subsection}{0}
-\setcounter{subsubsection}{0}
-\setcounter{subsectionslide}{51}
-\setcounter{framenumber}{51}
-\setcounter{figure}{0}
-\setcounter{table}{0}
-\setcounter{parentequation}{0}
-\setcounter{theorem}{0}
-\setcounter{LT@tables}{0}
-\setcounter{LT@chunks}{0}
-\setcounter{float@type}{8}
-\setcounter{lstnumber}{4}
-\setcounter{section@level}{0}
-\setcounter{lstlisting}{0}
-}
diff --git a/advanced_python/slides/arrays.tex b/advanced_python/slides/arrays.tex
index 38107a4..7b829f9 100644
--- a/advanced_python/slides/arrays.tex
+++ b/advanced_python/slides/arrays.tex
@@ -48,7 +48,7 @@
\item array of shape (4, 5) with all 0s
\end{itemize}
\begin{lstlisting}
- a = zeros_like([1.5, 1, 2, 3]
+ a = zeros_like([1.5, 1, 2, 3])
print a, a.dtype
\end{lstlisting}
\begin{itemize}
diff --git a/advanced_python/slides/lambda.tex b/advanced_python/slides/lambda.tex
index 2ac7701..25c4f97 100644
--- a/advanced_python/slides/lambda.tex
+++ b/advanced_python/slides/lambda.tex
@@ -105,23 +105,6 @@
\begin{frame}[fragile]
\frametitle{\texttt{map} \ldots}
- \begin{itemize}
- \item Takes a function and a sequence as arguments
- \item Calls function with each element of sequence as argument
- \item Returns a sequence with all the results as elements
- \item We solve the easier problem first, using \texttt{map}
- \end{itemize}
-
- \begin{lstlisting}
- def moonize(weight):
- return weight/6.0
-
- map(moonize, weights)
- \end{lstlisting}
-\end{frame}
-
-\begin{frame}[fragile]
- \frametitle{\texttt{map} \ldots}
\begin{lstlisting}
def migrate(weight):
if weight < 50:
diff --git a/advanced_python/slides/modules.aux b/advanced_python/slides/modules.aux
deleted file mode 100644
index c4b63fe..0000000
--- a/advanced_python/slides/modules.aux
+++ /dev/null
@@ -1,56 +0,0 @@
-\relax
-\@writefile{toc}{\beamer@sectionintoc {14}{Using Python modules}{69}{0}{14}}
-\@writefile{nav}{\headcommand {\sectionentry {14}{Using Python modules}{69}{Using Python modules}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {60}{68}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {60}{68}}}
-\@writefile{nav}{\headcommand {\slideentry {14}{0}{69}{69/69}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {69}{69}}}
-\@writefile{nav}{\headcommand {\slideentry {14}{0}{70}{70/70}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {70}{70}}}
-\@writefile{nav}{\headcommand {\slideentry {14}{0}{71}{71/71}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {71}{71}}}
-\@writefile{nav}{\headcommand {\slideentry {14}{0}{72}{72/72}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {72}{72}}}
-\@writefile{nav}{\headcommand {\slideentry {14}{0}{73}{73/73}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {73}{73}}}
-\@writefile{toc}{\beamer@sectionintoc {15}{Writing modules}{74}{0}{15}}
-\@writefile{nav}{\headcommand {\sectionentry {15}{Writing modules}{74}{Writing modules}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {69}{73}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {69}{73}}}
-\@writefile{nav}{\headcommand {\slideentry {15}{0}{74}{74/74}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {74}{74}}}
-\@writefile{nav}{\headcommand {\slideentry {15}{0}{75}{75/75}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {75}{75}}}
-\@writefile{nav}{\headcommand {\slideentry {15}{0}{76}{76/76}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {76}{76}}}
-\@writefile{nav}{\headcommand {\slideentry {15}{0}{77}{77/77}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {77}{77}}}
-\@setckpt{slides/modules}{
-\setcounter{page}{78}
-\setcounter{equation}{2}
-\setcounter{enumi}{2}
-\setcounter{enumii}{0}
-\setcounter{enumiii}{0}
-\setcounter{enumiv}{0}
-\setcounter{footnote}{0}
-\setcounter{mpfootnote}{0}
-\setcounter{beamerpauses}{1}
-\setcounter{bookmark@seq@number}{15}
-\setcounter{lecture}{0}
-\setcounter{part}{0}
-\setcounter{section}{15}
-\setcounter{subsection}{0}
-\setcounter{subsubsection}{0}
-\setcounter{subsectionslide}{77}
-\setcounter{framenumber}{77}
-\setcounter{figure}{0}
-\setcounter{table}{0}
-\setcounter{parentequation}{0}
-\setcounter{theorem}{0}
-\setcounter{LT@tables}{0}
-\setcounter{LT@chunks}{0}
-\setcounter{float@type}{8}
-\setcounter{lstnumber}{2}
-\setcounter{section@level}{0}
-\setcounter{lstlisting}{0}
-}
diff --git a/advanced_python/slides/modules.tex b/advanced_python/slides/modules.tex
index ecc5ce8..957789a 100644
--- a/advanced_python/slides/modules.tex
+++ b/advanced_python/slides/modules.tex
@@ -100,7 +100,7 @@
\frametitle{GCD script}
\begin{itemize}
\item Function that computes gcd of two numbers
- \item Save it as \texttt{gcd\_scrip.py}
+ \item Save it as \texttt{gcd\_script.py}
\end{itemize}
\begin{lstlisting}
def gcd(a, b):
diff --git a/advanced_python/slides/oop.tex b/advanced_python/slides/oop.tex
index d0cd76f..bdb983c 100644
--- a/advanced_python/slides/oop.tex
+++ b/advanced_python/slides/oop.tex
@@ -114,7 +114,7 @@
\begin{itemize}
\item Defined just like a function block
\item \texttt{class} is a keyword
- \item \texttt{Talk} is the function name
+ \item \texttt{Talk} is the name of the class
\item Classes also come with doc-strings
\item All the statements of within the class are inside the block
\end{itemize}
diff --git a/advanced_python/slides/plotting.aux b/advanced_python/slides/plotting.aux
deleted file mode 100644
index d07a20f..0000000
--- a/advanced_python/slides/plotting.aux
+++ /dev/null
@@ -1,116 +0,0 @@
-\relax
-\@writefile{toc}{\beamer@sectionintoc {1}{Interactive Plotting}{3}{0}{1}}
-\@writefile{nav}{\headcommand {\sectionentry {1}{Interactive Plotting}{3}{Interactive Plotting}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{2}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{2}}}
-\@writefile{nav}{\headcommand {\slideentry {1}{0}{3}{3/3}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {3}{3}}}
-\@writefile{nav}{\headcommand {\slideentry {1}{0}{4}{4/4}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {4}{4}}}
-\@writefile{nav}{\headcommand {\slideentry {1}{0}{5}{5/5}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {5}{5}}}
-\@writefile{toc}{\beamer@sectionintoc {2}{Embellishing Plots}{6}{0}{2}}
-\@writefile{nav}{\headcommand {\sectionentry {2}{Embellishing Plots}{6}{Embellishing Plots}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {3}{5}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {3}{5}}}
-\@writefile{nav}{\headcommand {\slideentry {2}{0}{6}{6/6}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {6}{6}}}
-\@writefile{nav}{\headcommand {\slideentry {2}{0}{7}{7/7}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {7}{7}}}
-\@writefile{nav}{\headcommand {\slideentry {2}{0}{8}{8/8}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {8}{8}}}
-\@writefile{nav}{\headcommand {\slideentry {2}{0}{9}{9/9}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {9}{9}}}
-\@writefile{nav}{\headcommand {\slideentry {2}{0}{10}{10/10}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {10}{10}}}
-\@writefile{nav}{\headcommand {\slideentry {2}{0}{11}{11/11}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {11}{11}}}
-\@writefile{toc}{\beamer@sectionintoc {3}{Saving to Scripts}{12}{0}{3}}
-\@writefile{nav}{\headcommand {\sectionentry {3}{Saving to Scripts}{12}{Saving to Scripts}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {6}{11}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {6}{11}}}
-\@writefile{nav}{\headcommand {\slideentry {3}{0}{12}{12/12}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {12}{12}}}
-\@writefile{nav}{\headcommand {\slideentry {3}{0}{13}{13/13}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {13}{13}}}
-\@writefile{nav}{\headcommand {\slideentry {3}{0}{14}{14/14}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {14}{14}}}
-\@writefile{nav}{\headcommand {\slideentry {3}{0}{15}{15/15}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {15}{15}}}
-\@writefile{toc}{\beamer@sectionintoc {4}{Saving Plots}{16}{0}{4}}
-\@writefile{nav}{\headcommand {\sectionentry {4}{Saving Plots}{16}{Saving Plots}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {12}{15}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {12}{15}}}
-\@writefile{nav}{\headcommand {\slideentry {4}{0}{16}{16/16}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {16}{16}}}
-\@writefile{nav}{\headcommand {\slideentry {4}{0}{17}{17/17}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {17}{17}}}
-\@writefile{toc}{\beamer@sectionintoc {5}{Multiple Plots}{18}{0}{5}}
-\@writefile{nav}{\headcommand {\sectionentry {5}{Multiple Plots}{18}{Multiple Plots}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {16}{17}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {16}{17}}}
-\@writefile{nav}{\headcommand {\slideentry {5}{0}{18}{18/18}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {18}{18}}}
-\@writefile{nav}{\headcommand {\slideentry {5}{0}{19}{19/19}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {19}{19}}}
-\@writefile{nav}{\headcommand {\slideentry {5}{0}{20}{20/20}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {20}{20}}}
-\@writefile{nav}{\headcommand {\slideentry {5}{0}{21}{21/21}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {21}{21}}}
-\@writefile{nav}{\headcommand {\slideentry {5}{0}{22}{22/22}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {22}{22}}}
-\@writefile{toc}{\beamer@sectionintoc {6}{Plotting Data}{23}{0}{6}}
-\@writefile{nav}{\headcommand {\sectionentry {6}{Plotting Data}{23}{Plotting Data}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {18}{22}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {18}{22}}}
-\@writefile{nav}{\headcommand {\slideentry {6}{0}{23}{23/23}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {23}{23}}}
-\@writefile{nav}{\headcommand {\slideentry {6}{0}{24}{24/24}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {24}{24}}}
-\@writefile{nav}{\headcommand {\slideentry {6}{0}{25}{25/25}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {25}{25}}}
-\@writefile{nav}{\headcommand {\slideentry {6}{0}{26}{26/26}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {26}{26}}}
-\@writefile{nav}{\headcommand {\slideentry {6}{0}{27}{27/27}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {27}{27}}}
-\@writefile{toc}{\beamer@sectionintoc {7}{Other kinds of Plots}{28}{0}{7}}
-\@writefile{nav}{\headcommand {\sectionentry {7}{Other kinds of Plots}{28}{Other kinds of Plots}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {23}{27}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {23}{27}}}
-\@writefile{nav}{\headcommand {\slideentry {7}{0}{28}{28/28}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {28}{28}}}
-\@writefile{nav}{\headcommand {\slideentry {7}{0}{29}{29/29}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {29}{29}}}
-\@writefile{nav}{\headcommand {\slideentry {7}{0}{30}{30/30}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {30}{30}}}
-\@writefile{nav}{\headcommand {\slideentry {7}{0}{31}{31/31}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {31}{31}}}
-\@setckpt{slides/plotting}{
-\setcounter{page}{32}
-\setcounter{equation}{0}
-\setcounter{enumi}{0}
-\setcounter{enumii}{0}
-\setcounter{enumiii}{0}
-\setcounter{enumiv}{0}
-\setcounter{footnote}{0}
-\setcounter{mpfootnote}{0}
-\setcounter{beamerpauses}{1}
-\setcounter{bookmark@seq@number}{7}
-\setcounter{lecture}{0}
-\setcounter{part}{0}
-\setcounter{section}{7}
-\setcounter{subsection}{0}
-\setcounter{subsubsection}{0}
-\setcounter{subsectionslide}{31}
-\setcounter{framenumber}{31}
-\setcounter{figure}{0}
-\setcounter{table}{0}
-\setcounter{parentequation}{0}
-\setcounter{theorem}{0}
-\setcounter{LT@tables}{0}
-\setcounter{LT@chunks}{0}
-\setcounter{float@type}{8}
-\setcounter{lstnumber}{6}
-\setcounter{section@level}{0}
-\setcounter{lstlisting}{0}
-}
diff --git a/advanced_python/slides/plotting.tex b/advanced_python/slides/plotting.tex
index e507994..b8b4bce 100644
--- a/advanced_python/slides/plotting.tex
+++ b/advanced_python/slides/plotting.tex
@@ -226,9 +226,8 @@
\item \texttt{loc} parameter allows to change the location
\end{itemize}
\begin{lstlisting}
- legend(['sine-10 points', 'sine-500 points'], loc='center')
-
- loc?
+ legend(['sine-10 points', 'sine-500 points'],
+ loc='center')
\end{lstlisting}
\end{frame}
@@ -346,7 +345,8 @@
loadtxt('pendulum_error.txt', unpack=True)
Tsq = square(T)
- errorbar(L, Tsq , xerr=L_err, yerr=T_err, fmt='b.')
+ errorbar(L, Tsq , xerr=L_err,
+ yerr=T_err, fmt='b.')
\end{lstlisting}
\end{frame}
@@ -361,7 +361,8 @@
\item Let's plot the data of profits of a company
\end{itemize}
\begin{lstlisting}
- year, profit = loadtxt('company-a-data.txt', dtype=type(int()))
+ year, profit = loadtxt('company-a-data.txt',
+ dtype=type(int()))
scatter(year, profit)
\end{lstlisting}
diff --git a/advanced_python/slides/scipy.aux b/advanced_python/slides/scipy.aux
deleted file mode 100644
index 148e9ba..0000000
--- a/advanced_python/slides/scipy.aux
+++ /dev/null
@@ -1,72 +0,0 @@
-\relax
-\@writefile{toc}{\beamer@sectionintoc {12}{Solving Equations}{52}{0}{12}}
-\@writefile{nav}{\headcommand {\sectionentry {12}{Solving Equations}{52}{Solving Equations}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {47}{51}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {47}{51}}}
-\@writefile{nav}{\headcommand {\slideentry {12}{0}{52}{52/52}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {52}{52}}}
-\@writefile{nav}{\headcommand {\slideentry {12}{0}{53}{53/53}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {53}{53}}}
-\@writefile{nav}{\headcommand {\slideentry {12}{0}{54}{54/54}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {54}{54}}}
-\@writefile{nav}{\headcommand {\slideentry {12}{0}{55}{55/55}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {55}{55}}}
-\@writefile{nav}{\headcommand {\slideentry {12}{0}{56}{56/56}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {56}{56}}}
-\@writefile{nav}{\headcommand {\slideentry {12}{0}{57}{57/57}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {57}{57}}}
-\@writefile{nav}{\headcommand {\slideentry {12}{0}{58}{58/58}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {58}{58}}}
-\@writefile{nav}{\headcommand {\slideentry {12}{0}{59}{59/59}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {59}{59}}}
-\@writefile{toc}{\beamer@sectionintoc {13}{ODEs}{60}{0}{13}}
-\@writefile{nav}{\headcommand {\sectionentry {13}{ODEs}{60}{ODEs}{0}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {52}{59}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {52}{59}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{60}{60/60}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {60}{60}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{61}{61/61}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {61}{61}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{62}{62/62}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {62}{62}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{63}{63/63}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {63}{63}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{64}{64/64}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {64}{64}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{65}{65/65}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {65}{65}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{66}{66/66}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {66}{66}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{67}{67/67}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {67}{67}}}
-\@writefile{nav}{\headcommand {\slideentry {13}{0}{68}{68/68}{}{0}}}
-\@writefile{nav}{\headcommand {\beamer@framepages {68}{68}}}
-\@setckpt{slides/scipy}{
-\setcounter{page}{69}
-\setcounter{equation}{2}
-\setcounter{enumi}{2}
-\setcounter{enumii}{0}
-\setcounter{enumiii}{0}
-\setcounter{enumiv}{0}
-\setcounter{footnote}{0}
-\setcounter{mpfootnote}{0}
-\setcounter{beamerpauses}{1}
-\setcounter{bookmark@seq@number}{13}
-\setcounter{lecture}{0}
-\setcounter{part}{0}
-\setcounter{section}{13}
-\setcounter{subsection}{0}
-\setcounter{subsubsection}{0}
-\setcounter{subsectionslide}{68}
-\setcounter{framenumber}{68}
-\setcounter{figure}{0}
-\setcounter{table}{0}
-\setcounter{parentequation}{0}
-\setcounter{theorem}{0}
-\setcounter{LT@tables}{0}
-\setcounter{LT@chunks}{0}
-\setcounter{float@type}{8}
-\setcounter{lstnumber}{3}
-\setcounter{section@level}{0}
-\setcounter{lstlisting}{0}
-}
diff --git a/advanced_python/slides/scipy.tex b/advanced_python/slides/scipy.tex
index afd98d4..1116c3d 100644
--- a/advanced_python/slides/scipy.tex
+++ b/advanced_python/slides/scipy.tex
@@ -42,7 +42,8 @@ Out[]: array([ 1., -2., -2.])
\begin{lstlisting}
In []: Ax = dot(A, x)
In []: Ax
-Out[]: array([ 1.00000000e+00, -2.00000000e+00, -1.11022302e-16])
+Out[]: array([ 1.00000000e+00, -2.00000000e+00,
+ -1.11022302e-16])
\end{lstlisting}
\end{small}
\begin{block}{}
@@ -90,7 +91,6 @@ Out[]: True
\frametitle{\texttt{fsolve} \ldots}
Find the root of $sin(z)+cos^2(z)$ nearest to $0$
\begin{lstlisting}
-\begin{lstlisting}
In []: def g(z):
....: return sin(z)+cos(z)*cos(z)
@@ -192,9 +192,10 @@ In []: initial = [10*2*pi/360, 0]
\begin{frame}[fragile]
\frametitle{ODEs - Simple Pendulum \ldots}
%%\begin{small}
-\texttt{In []: from scipy.integrate import odeint}
+\texttt{}
%%\end{small}
\begin{lstlisting}
+In []: from scipy.integrate import odeint
In []: pend_sol = odeint(pend_int,
initial,t)
\end{lstlisting}