author | Puneeth Chaganti <punchagan@fossee.in> |
Sun, 04 Oct 2009 00:57:36 +0530 | |
changeset 35 | a49b340696ba |
child 36 | 8047755ae660 |
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 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
54 |
\newcommand{\typ}[1]{\lstlisting{#1}} |
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 |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
76 |
\title[]{Matrices and Arrays\\ \& \\2D Plotting} |
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] |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
117 |
\frametitle{Advanced} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
118 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
119 |
\item Only scratched the surface of \num |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
120 |
\item Ufunc methods: \typ{reduce, accumulate, outer, reduceat} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
121 |
\item Typecasting |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
122 |
\item More functions: \typ{take, choose, where, compress, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
123 |
concatenate} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
124 |
\item Array broadcasting and \typ{None} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
125 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
126 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
127 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
128 |
\begin{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
129 |
{Intro to SciPy} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
130 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
131 |
\item \url{http://www.scipy.org} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
132 |
\item Open source scientific libraries for Python |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
133 |
\item Based on NumPy |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
134 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
135 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
136 |
\inctime{25} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
137 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
138 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
139 |
\begin{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
140 |
\frametitle{SciPy} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
141 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
142 |
\item Provides: |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
143 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
144 |
\item Linear algebra |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
145 |
\item Numerical integration |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
146 |
\item Fourier transforms |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
147 |
\item Signal processing |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
148 |
\item Special functions |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
149 |
\item Statistics |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
150 |
\item Optimization |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
151 |
\item Image processing |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
152 |
\item ODE solvers |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
153 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
154 |
\item Uses LAPACK, QUADPACK, ODEPACK, FFTPACK etc. from netlib |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
155 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
156 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
157 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
158 |
\end{document} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
159 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
160 |
- Numpy arrays (30 mins) |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
161 |
- Matrices |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
162 |
- random number generation. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
163 |
- Image manipulation: jigsaw puzzle. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
164 |
- Monte-carlo integration. |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
165 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
166 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
167 |
\subsection{SciPy} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
168 |
|
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
169 |
\begin{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
170 |
\frametitle{Using \texttt{SciPy}} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
171 |
\begin{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
172 |
\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
|
173 |
engineering |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
174 |
\item \typ{import scipy} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
175 |
\item Built on NumPy |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
176 |
\item Provides modules for statistics, optimization, integration, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
177 |
linear algebra, Fourier transforms, signal and image processing, |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
178 |
genetic algorithms, ODE solvers, special functions, and more |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
179 |
\item Used widely by scientists world over |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
180 |
\item Details are beyond the scope of this tutorial |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
181 |
\end{itemize} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
182 |
\end{frame} |
a49b340696ba
Adding a skeleton for day2 session2.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
183 |