# HG changeset patch # User Anoop Jacob Thomas # Date 1286958633 -19800 # Node ID e8c02b3c51aca4b45a260677014278d6288d4acf # Parent a45256cc540419f0ceda4cfa06a4bfd9a6384cd5 changed headers of scripts(objectives and prerequisites). diff -r a45256cc5404 -r e8c02b3c51ac dictionaries/script.rst --- a/dictionaries/script.rst Wed Oct 13 12:52:11 2010 +0530 +++ b/dictionaries/script.rst Wed Oct 13 14:00:33 2010 +0530 @@ -1,11 +1,27 @@ -.. 8.4 LO: dictionaries (2) -.. ------------------------ -.. * empty -.. * filled -.. * accessing via keys -.. * .values(), .keys() -.. * in -.. * iteration +.. Objectives +.. ---------- + +.. At the end of this tutorial, you will be able to + +.. 1. Create dictionaries +.. #. Add data to dictionaries +.. #. Retrieve data +.. #. Familiarize using ``.keys()`` and ``.values()`` methods +.. #. Checking for container-ship of keys +.. #. Iterating over elements + +.. Prerequisites +.. ------------- + +.. 1. should have ``ipython`` installed. +.. #. getting started with ``ipython``. +.. #. basic datatypes. + +.. Author : Anoop Jacob Thomas + Internal Reviewer : + External Reviewer : + Checklist OK? : [2010-10-05] + ============ Dictionaries @@ -176,8 +192,3 @@ {{{ switch to next slide, thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas - Reviewer 1: - Reviewer 2: - External reviewer: diff -r a45256cc5404 -r e8c02b3c51ac getting-started-with-arrays/script.rst --- a/getting-started-with-arrays/script.rst Wed Oct 13 12:52:11 2010 +0530 +++ b/getting-started-with-arrays/script.rst Wed Oct 13 14:00:33 2010 +0530 @@ -1,27 +1,21 @@ -.. 4.1 LO: getting started with arrays (2) [anoop] -.. ------------------------------------------------ -.. * why arrays -.. + speed - simply say -.. + array level operations -.. * creating arrays -.. + direct data -.. + list conversion -.. + homogeneous -.. + builtins - identitiy, zeros, -.. * array operations -.. + =+ - * /= - .. Objectives .. ---------- -.. Clearly state the objectives of the LO (along with RBT level) +.. At the end of this tutorial, you will be able to + +.. 1. Create arrays using data +.. #. Create arrays from lists +.. #. Basic array operations +.. #. Creating identity matrix using ``identity()`` function. +.. #. Learn about ``zeros()``, ``zeros_like()``, ``ones()``, + ``ones_like()`` functions. .. Prerequisites .. ------------- -.. 1. Name of LO-1 -.. 2. Name of LO-2 -.. 3. Name of LO-3 +.. 1. should have ``ipython`` and ``pylab`` installed. +.. #. getting started with ``ipython``. +.. #. getting started with lists. .. Author: Anoop Jacob Thomas Internal Reviewer : Puneeth diff -r a45256cc5404 -r e8c02b3c51ac getting-started-with-for/script.rst --- a/getting-started-with-for/script.rst Wed Oct 13 12:52:11 2010 +0530 +++ b/getting-started-with-for/script.rst Wed Oct 13 14:00:33 2010 +0530 @@ -1,12 +1,28 @@ -.. 3.2 LO: getting started with =for= (2) [anoop] -.. ----------------------------------------------- -.. * blocks in python -.. + (indentation) -.. * blocks in ipython -.. + ... prompt -.. + hitting enter -.. * =for= with a list -.. * =range= function +.. Objectives +.. ---------- + +.. At the end of this tutorial, you will be able to + +.. 1. Write blocks of code in python. +.. #. Use for loop. +.. #. Use ``range()`` function. +.. #. Write blocks in python interpreter +.. #. Write blocks in ipython interpreter. + + +.. Prerequisites +.. ------------- + +.. 1. should have ``ipython`` and ``pylab`` installed. +.. #. getting started with ``ipython``. +.. #. getting started with lists. + + +.. Author : Anoop Jacob Thomas + Internal Reviewer : + External Reviewer : + Checklist OK? : [2010-10-05] + ============================= Getting started with for loop @@ -286,9 +302,3 @@ {{{ switch to next slide, thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas - Reviewer 1: Nishanth - Reviewer 2: Amit Sethi - External reviewer: - diff -r a45256cc5404 -r e8c02b3c51ac matrices/script.rst --- a/matrices/script.rst Wed Oct 13 12:52:11 2010 +0530 +++ b/matrices/script.rst Wed Oct 13 14:00:33 2010 +0530 @@ -1,17 +1,35 @@ -.. 4.3 LO: Matrices (3) [anoop] -.. ----------------------------- -.. * creating matrices -.. + direct data -.. + list conversion -.. + builtins - identitiy, zeros, -.. * matrix operations -.. + + - * / -.. + dot -.. + inv -.. + det -.. + eig -.. + norm -.. + svd +.. Objectives +.. ---------- + +.. At the end of this tutorial, you will be able to + +.. 1. Create matrices using data. +.. #. Create matrices from lists. +.. #. Basic matrix operations. +.. #. Use ``inv()`` function to find inverse of a matrix. +.. #. Use ``det()`` function to find determinant of a matrix. +.. #. Use ``eig()`` and ``eigvals()`` functions to find eigen values + and vectors +.. #. Use ``norm()`` function to find norm of a matrix. +.. #. Use ``svd()`` function to find singular value decomposition of a + matrix. + + +.. Prerequisites +.. ------------- + +.. 1. should have ``ipython`` and ``pylab`` installed. +.. #. getting started with ``ipython``. +.. #. getting started with lists. +.. #. getting started with arrays. +.. #. accessing part of arrays. + + +.. Author : Anoop Jacob Thomas + Internal Reviewer : + External Reviewer : + Checklist OK? : [2010-10-05] + ======== Matrices diff -r a45256cc5404 -r e8c02b3c51ac other-type-of-plots/script.rst --- a/other-type-of-plots/script.rst Wed Oct 13 12:52:11 2010 +0530 +++ b/other-type-of-plots/script.rst Wed Oct 13 14:00:33 2010 +0530 @@ -1,10 +1,27 @@ -.. 2.4 LO: other types of plots (3) [anoop] -.. ----------------------------------------- -.. * scatter -.. * pie chart -.. * bar chart -.. * loglog -.. * illustration of other plots, matplotlib help +.. Objectives +.. ---------- + +.. At the end of this tutorial, you will be able to + +.. 1. Create scatter plot +.. #. Create pie charts +.. #. Create bar charts +.. #. Create log-log plots. + +.. Prerequisites +.. ------------- + +.. 1. should have ``ipython`` and ``pylab`` installed. +.. #. getting started with ``ipython``. +.. #. loading data from files +.. #. plotting the data + + +.. Author : Anoop Jacob Thomas + Internal Reviewer : + External Reviewer : + Checklist OK? : [2010-10-05] + =================== Other type of plots @@ -222,8 +239,3 @@ {{{ switch to the thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas - Reviewer 1: - Reviewer 2: - External reviewer: diff -r a45256cc5404 -r e8c02b3c51ac savefig/script.rst --- a/savefig/script.rst Wed Oct 13 12:52:11 2010 +0530 +++ b/savefig/script.rst Wed Oct 13 14:00:33 2010 +0530 @@ -1,9 +1,24 @@ -.. 2.5 LO: saving plots (2) -.. ------------------------- -.. * Outline -.. + basic savefig -.. + png, pdf, ps, eps, svg -.. + going to OS and looking at the file +.. Objectives +.. ---------- + +.. At the end of this tutorial, you will be able to + +.. 1. Saving plots using ``savefig()`` function. +.. #. Saving plots in different formats. + + +.. Prerequisites +.. ------------- + +.. 1. should have ``ipython`` and ``pylab`` installed. +.. #. getting started with ``ipython``. +.. #. using plot command interactively. + +.. Author : Anoop Jacob Thomas + Internal Reviewer : + External Reviewer : + Checklist OK? : [2010-10-05] + ======= Savefig @@ -134,8 +149,3 @@ {{{ switch to Thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas - Reviewer 1: - Reviewer 2: - External reviewer: diff -r a45256cc5404 -r e8c02b3c51ac using python modules/script.rst --- a/using python modules/script.rst Wed Oct 13 12:52:11 2010 +0530 +++ b/using python modules/script.rst Wed Oct 13 14:00:33 2010 +0530 @@ -1,11 +1,27 @@ -.. 9.3 LO: using python modules (3) -.. --------------------------------- -.. * executing python scripts from command line -.. * import -.. * scipy -.. * pylab -.. * sys -.. * STDLIB modules show off +.. Objectives +.. ---------- + +.. At the end of this tutorial, you will be able to + +.. 1. Execute python scripts from command line. +.. #. Use import in scripts. +.. #. Import scipy and pylab modules +.. #. Use python standard modules and 3rd party modules. + + +.. Prerequisites +.. ------------- + +.. 1. should have ``pylab`` installed. +.. #. using plot command interactively. +.. #. embellishing a plot. +.. #. saving plots. + +.. Author : Anoop Jacob Thomas + Internal Reviewer : + External Reviewer : + Checklist OK? : [2010-10-05] + ==================== Using Python modules @@ -229,8 +245,3 @@ {{{ switch to next slide, thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas - Reviewer 1: - Reviewer 2: - External reviewer: