diff options
author | Anoop Jacob Thomas | 2010-10-13 14:00:33 +0530 |
---|---|---|
committer | Anoop Jacob Thomas | 2010-10-13 14:00:33 +0530 |
commit | 900a0f4d3fefd4bf05bab44d5ae4d561b8af8660 (patch) | |
tree | 6a381b8ae77e0452a27a26d1e0edea96d6090b24 | |
parent | 562e575b92d19f8550227e291fcc94ab0372c96a (diff) | |
download | st-scripts-900a0f4d3fefd4bf05bab44d5ae4d561b8af8660.tar.gz st-scripts-900a0f4d3fefd4bf05bab44d5ae4d561b8af8660.tar.bz2 st-scripts-900a0f4d3fefd4bf05bab44d5ae4d561b8af8660.zip |
changed headers of scripts(objectives and prerequisites).
-rw-r--r-- | dictionaries/script.rst | 37 | ||||
-rw-r--r-- | getting-started-with-arrays/script.rst | 28 | ||||
-rw-r--r-- | getting-started-with-for/script.rst | 40 | ||||
-rw-r--r-- | matrices/script.rst | 46 | ||||
-rw-r--r-- | other-type-of-plots/script.rst | 36 | ||||
-rw-r--r-- | savefig/script.rst | 32 | ||||
-rw-r--r-- | using python modules/script.rst | 37 |
7 files changed, 161 insertions, 95 deletions
diff --git a/dictionaries/script.rst b/dictionaries/script.rst index 31bc98e..1f5d102 100644 --- a/dictionaries/script.rst +++ b/dictionaries/script.rst @@ -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 <anoop@fossee.in> + Internal Reviewer : + External Reviewer : + Checklist OK? : <put date stamp here, if OK> [2010-10-05] + ============ Dictionaries @@ -176,8 +192,3 @@ iterating over the dictionaries. {{{ switch to next slide, thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas <anoop@fossee.in> - Reviewer 1: - Reviewer 2: - External reviewer: diff --git a/getting-started-with-arrays/script.rst b/getting-started-with-arrays/script.rst index a6478da..0889032 100644 --- a/getting-started-with-arrays/script.rst +++ b/getting-started-with-arrays/script.rst @@ -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 <anoop@fossee.in> Internal Reviewer : Puneeth diff --git a/getting-started-with-for/script.rst b/getting-started-with-for/script.rst index 9dc9db7..b5960d4 100644 --- a/getting-started-with-for/script.rst +++ b/getting-started-with-for/script.rst @@ -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 <anoop@fossee.in> + Internal Reviewer : + External Reviewer : + Checklist OK? : <put date stamp here, if OK> [2010-10-05] + ============================= Getting started with for loop @@ -286,9 +302,3 @@ list and then the ``range()`` function. {{{ switch to next slide, thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas <anoop@fossee.in> - Reviewer 1: Nishanth - Reviewer 2: Amit Sethi - External reviewer: - diff --git a/matrices/script.rst b/matrices/script.rst index 9b305d5..75c562a 100644 --- a/matrices/script.rst +++ b/matrices/script.rst @@ -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 <anoop@fossee.in> + Internal Reviewer : + External Reviewer : + Checklist OK? : <put date stamp here, if OK> [2010-10-05] + ======== Matrices diff --git a/other-type-of-plots/script.rst b/other-type-of-plots/script.rst index 0bbc1ea..9664dd0 100644 --- a/other-type-of-plots/script.rst +++ b/other-type-of-plots/script.rst @@ -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 <anoop@fossee.in> + Internal Reviewer : + External Reviewer : + Checklist OK? : <put date stamp here, if OK> [2010-10-05] + =================== Other type of plots @@ -222,8 +239,3 @@ and covered how to access the matplotlib online help. {{{ switch to the thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas <anoop@fossee.in> - Reviewer 1: - Reviewer 2: - External reviewer: diff --git a/savefig/script.rst b/savefig/script.rst index 87080d0..b2068cc 100644 --- a/savefig/script.rst +++ b/savefig/script.rst @@ -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 <anoop@fossee.in> + Internal Reviewer : + External Reviewer : + Checklist OK? : <put date stamp here, if OK> [2010-10-05] + ======= Savefig @@ -134,8 +149,3 @@ plots in different formats and locating the files in the file system. {{{ switch to Thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas <anoop@fossee.in> - Reviewer 1: - Reviewer 2: - External reviewer: diff --git a/using python modules/script.rst b/using python modules/script.rst index 5155d37..e3190fd 100644 --- a/using python modules/script.rst +++ b/using python modules/script.rst @@ -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 <anoop@fossee.in> + Internal Reviewer : + External Reviewer : + Checklist OK? : <put date stamp here, if OK> [2010-10-05] + ==================== Using Python modules @@ -229,8 +245,3 @@ the python standard library. {{{ switch to next slide, thank you slide }}} Thank you! - -.. Author: Anoop Jacob Thomas <anoop@fossee.in> - Reviewer 1: - Reviewer 2: - External reviewer: |