author | Puneeth Chaganti <punchagan@fossee.in> |
Sun, 04 Oct 2009 01:26:46 +0530 | |
changeset 36 | 8047755ae660 |
parent 35 | a49b340696ba |
child 37 | d5b7be72693b |
permissions | -rw-r--r-- |
35
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
2 |
% Tutorial slides on Python. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
3 |
% |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
4 |
% Author: Prabhu Ramachandran <prabhu at aero.iitb.ac.in> |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
5 |
% Copyright (c) 2005-2008, Prabhu Ramachandran |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
6 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
7 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
8 |
\documentclass[14pt,compress]{beamer} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
9 |
%\documentclass[draft]{beamer} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
10 |
%\documentclass[compress,handout]{beamer} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
11 |
%\usepackage{pgfpages} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
12 |
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
13 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
14 |
% Modified from: generic-ornate-15min-45min.de.tex |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
15 |
\mode<presentation> |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
16 |
{ |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
17 |
\usetheme{Warsaw} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
18 |
\useoutertheme{split} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
19 |
\setbeamercovered{transparent} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
20 |
} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
21 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
22 |
\usepackage[english]{babel} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
23 |
\usepackage[latin1]{inputenc} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
24 |
%\usepackage{times} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
25 |
\usepackage[T1]{fontenc} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
26 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
27 |
% Taken from Fernando's slides. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
28 |
\usepackage{ae,aecompl} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
29 |
\usepackage{mathpazo,courier,euler} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
30 |
\usepackage[scaled=.95]{helvet} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
31 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
32 |
\definecolor{darkgreen}{rgb}{0,0.5,0} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
33 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
34 |
\usepackage{listings} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
35 |
\lstset{language=Python, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
36 |
basicstyle=\ttfamily\bfseries, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
37 |
commentstyle=\color{red}\itshape, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
38 |
stringstyle=\color{darkgreen}, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
39 |
showstringspaces=false, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
40 |
keywordstyle=\color{blue}\bfseries} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
41 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
42 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
43 |
% Macros |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
44 |
\setbeamercolor{emphbar}{bg=blue!20, fg=black} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
45 |
\newcommand{\emphbar}[1] |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
46 |
{\begin{beamercolorbox}[rounded=true]{emphbar} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
47 |
{#1} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
48 |
\end{beamercolorbox} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
49 |
} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
50 |
\newcounter{time} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
51 |
\setcounter{time}{0} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
52 |
\newcommand{\inctime}[1]{\addtocounter{time}{#1}{\tiny \thetime\ m}} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
53 |
|
36
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
54 |
\newcommand{\typ}[1]{\lstinline{#1}} |
35
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
55 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
56 |
\newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}} } |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
57 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
58 |
%%% This is from Fernando's setup. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
59 |
% \usepackage{color} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
60 |
% \definecolor{orange}{cmyk}{0,0.4,0.8,0.2} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
61 |
% % Use and configure listings package for nicely formatted code |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
62 |
% \usepackage{listings} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
63 |
% \lstset{ |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
64 |
% language=Python, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
65 |
% basicstyle=\small\ttfamily, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
66 |
% commentstyle=\ttfamily\color{blue}, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
67 |
% stringstyle=\ttfamily\color{orange}, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
68 |
% showstringspaces=false, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
69 |
% breaklines=true, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
70 |
% postbreak = \space\dots |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
71 |
% } |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
72 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
73 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
74 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
75 |
% Title page |
36
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
76 |
\title[]{Numerical Computing with Numpy \& Scipy} |
35
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
77 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
78 |
\author[FOSSEE Team] {Asokan Pichai\\Prabhu Ramachandran} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
79 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
80 |
\institute[FOSSEE] {FOSSEE Team} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
81 |
\date[] {11, October 2009} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
82 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
83 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
84 |
%\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
85 |
%\logo{\pgfuseimage{iitmlogo}} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
86 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
87 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
88 |
%% Delete this, if you do not want the table of contents to pop up at |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
89 |
%% the beginning of each subsection: |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
90 |
\AtBeginSubsection[] |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
91 |
{ |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
92 |
\begin{frame}<beamer> |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
93 |
\frametitle{Outline} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
94 |
\tableofcontents[currentsection,currentsubsection] |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
95 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
96 |
} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
97 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
98 |
\AtBeginSection[] |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
99 |
{ |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
100 |
\begin{frame}<beamer> |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
101 |
\frametitle{Outline} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
102 |
\tableofcontents[currentsection,currentsubsection] |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
103 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
104 |
} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
105 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
106 |
% If you wish to uncover everything in a step-wise fashion, uncomment |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
107 |
% the following command: |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
108 |
%\beamerdefaultoverlayspecification{<+->} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
109 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
110 |
%\includeonlyframes{current,current1,current2,current3,current4,current5,current6} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
111 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
112 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
113 |
% DOCUMENT STARTS |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
114 |
\begin{document} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
115 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
116 |
\begin{frame}[fragile] |
36
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
117 |
\frametitle{Broadcasting} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
118 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
119 |
\end{frame} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
120 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
121 |
\begin{frame}[fragile] |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
122 |
\frametitle{Copies \& Views} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
123 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
124 |
\end{frame} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
125 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
126 |
\begin{frame} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
127 |
\frametitle{More Numpy Functions \& Methods} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
128 |
More functions |
35
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
129 |
\begin{itemize} |
36
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
130 |
\item \typ{take} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
131 |
\item \typ{choose} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
132 |
\item \typ{where} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
133 |
\item \typ{compress} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
134 |
\item \typ{concatenate} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
135 |
\end{itemize} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
136 |
Ufunc methods |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
137 |
\begin{itemize} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
138 |
\item \typ{reduce} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
139 |
\item \typ{accumulate} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
140 |
\item \typ{outer} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
141 |
\item \typ{reduceat} |
35
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
142 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
143 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
144 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
145 |
\begin{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
146 |
{Intro to SciPy} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
147 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
148 |
\item \url{http://www.scipy.org} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
149 |
\item Open source scientific libraries for Python |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
150 |
\item Based on NumPy |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
151 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
152 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
153 |
\inctime{25} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
154 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
155 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
156 |
\begin{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
157 |
\frametitle{SciPy} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
158 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
159 |
\item Provides: |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
160 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
161 |
\item Linear algebra |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
162 |
\item Numerical integration |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
163 |
\item Fourier transforms |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
164 |
\item Signal processing |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
165 |
\item Special functions |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
166 |
\item Statistics |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
167 |
\item Optimization |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
168 |
\item Image processing |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
169 |
\item ODE solvers |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
170 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
171 |
\item Uses LAPACK, QUADPACK, ODEPACK, FFTPACK etc. from netlib |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
172 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
173 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
174 |
|
36
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
175 |
\begin{frame}[fragile] |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
176 |
\frametitle{Linear Algebra} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
177 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
178 |
\end{frame} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
179 |
\begin{frame}[fragile] |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
180 |
\frametitle{ODEs} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
181 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
182 |
\end{frame} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
183 |
\begin{frame}[fragile] |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
184 |
\frametitle{Interpolation} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
185 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
186 |
\end{frame} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
187 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
188 |
\begin{frame}[fragile] |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
189 |
\frametitle{Signal \& Image Processing} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
190 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
191 |
\end{frame} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
192 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
193 |
\begin{frame}[fragile] |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
194 |
\frametitle{Problems} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
195 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
196 |
\end{frame} |
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
197 |
|
8047755ae660
Modified the skeleton for session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
35
diff
changeset
|
198 |
|
35
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
199 |
\end{document} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
200 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
201 |
- Numpy arrays (30 mins) |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
202 |
- Matrices |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
203 |
- random number generation. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
204 |
- Image manipulation: jigsaw puzzle. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
205 |
- Monte-carlo integration. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
206 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
207 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
208 |
\subsection{SciPy} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
209 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
210 |
\begin{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
211 |
\frametitle{Using \texttt{SciPy}} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
212 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
213 |
\item SciPy is Open Source software for mathematics, science, and |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
214 |
engineering |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
215 |
\item \typ{import scipy} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
216 |
\item Built on NumPy |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
217 |
\item Provides modules for statistics, optimization, integration, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
218 |
linear algebra, Fourier transforms, signal and image processing, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
219 |
genetic algorithms, ODE solvers, special functions, and more |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
220 |
\item Used widely by scientists world over |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
221 |
\item Details are beyond the scope of this tutorial |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
222 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
223 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
224 |