72 % } |
72 % } |
73 |
73 |
74 |
74 |
75 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
75 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
76 % Title page |
76 % Title page |
77 \title[Matrices \& Curve Fitting]{Python for Science and Engg: Matrices \& Least Square Fit} |
77 \title[Matrices \& Curve Fitting]{Python for Science and Engg: Matrices |
|
78 \& Least Squares Fit} |
78 |
79 |
79 \author[FOSSEE] {FOSSEE} |
80 \author[FOSSEE] {FOSSEE} |
80 |
81 |
81 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} |
82 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} |
82 \date[] {30 April, 2010\\Day 1, Session 4} |
83 \date[] {SciPy 2010, Introductory tutorials\\Day 1, Session 4} |
83 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
84 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
84 |
85 |
85 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} |
86 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} |
86 %\logo{\pgfuseimage{iitmlogo}} |
87 %\logo{\pgfuseimage{iitmlogo}} |
87 |
88 |
442 Out[]: array([-1., 8., -1.]) |
443 Out[]: array([-1., 8., -1.]) |
443 \end{lstlisting} |
444 \end{lstlisting} |
444 \end{small} |
445 \end{small} |
445 \end{frame} |
446 \end{frame} |
446 |
447 |
447 %% \begin{frame}[fragile] |
448 \begin{frame}[fragile] |
448 %% \frametitle{Computing Norms} |
449 \frametitle{Computing Norms} |
449 %% \begin{lstlisting} |
450 \begin{lstlisting} |
450 %% In []: norm(e) |
451 In []: norm(e) |
451 %% Out[]: 8.1240384046359608 |
452 Out[]: 8.1240384046359608 |
452 %% \end{lstlisting} |
453 \end{lstlisting} |
453 %% \end{frame} |
454 \end{frame} |
454 |
455 |
455 %% \begin{frame}[fragile] |
456 \begin{frame}[fragile] |
456 %% \frametitle{Singular Value Decomposition} |
457 \frametitle{Singular Value Decomposition} |
457 %% \begin{small} |
458 \begin{small} |
458 %% \begin{lstlisting} |
459 \begin{lstlisting} |
459 %% In []: svd(e) |
460 In []: svd(e) |
460 %% Out[]: |
461 Out[]: |
461 %% (array( |
462 (array( |
462 %% [[ -6.66666667e-01, -1.23702565e-16, 7.45355992e-01], |
463 [[ -6.66666667e-01, -1.23702565e-16, 7.45355992e-01], |
463 %% [ -3.33333333e-01, -8.94427191e-01, -2.98142397e-01], |
464 [ -3.33333333e-01, -8.94427191e-01, -2.98142397e-01], |
464 %% [ -6.66666667e-01, 4.47213595e-01, -5.96284794e-01]]), |
465 [ -6.66666667e-01, 4.47213595e-01, -5.96284794e-01]]), |
465 %% array([ 8., 1., 1.]), |
466 array([ 8., 1., 1.]), |
466 %% array([[-0.66666667, -0.33333333, -0.66666667], |
467 array([[-0.66666667, -0.33333333, -0.66666667], |
467 %% [-0. , 0.89442719, -0.4472136 ], |
468 [-0. , 0.89442719, -0.4472136 ], |
468 %% [-0.74535599, 0.2981424 , 0.59628479]])) |
469 [-0.74535599, 0.2981424 , 0.59628479]])) |
469 %% \end{lstlisting} |
470 \end{lstlisting} |
470 %% \end{small} |
471 \end{small} |
471 %% \inctime{15} |
472 \end{frame} |
472 %% \end{frame} |
|
473 |
473 |
474 \section{Least Squares Fit} |
474 \section{Least Squares Fit} |
475 \begin{frame}[fragile] |
475 \begin{frame}[fragile] |
476 \frametitle{$L$ vs. $T^2$ - Scatter} |
476 \frametitle{$L$ vs. $T^2$ - Scatter} |
477 Linear trend visible. |
477 Linear trend visible. |