outline_and_allocations.rst
author Anoop Jacob Thomas<anoop@fossee.in>
Sun, 07 Nov 2010 19:47:26 +0530
changeset 399 3c16961361cd
parent 181 6c460c0cb353
child 444 1aa91f8d8d59
permissions -rw-r--r--
reviewed plotting-data.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
181
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     1
1 Module 1: Basic Plotting (16) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     2
================================
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     3
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     4
1.1 ABCD 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     5
---------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     6
* Audience 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     7
  + same 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     8
* Behaviour 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     9
  - should be able to generate plots with any combination of built-in
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    10
    mathematical functions provided by pylab
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    11
* Condition 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    12
  - being learnt in a self-study tutorial.
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    13
  - have python setup in their machine
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    14
* Degree 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    15
  - RBT - Ap
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    16
  
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    17
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    18
1.2 LO: getting started with =ipython= (2) [punch] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    19
---------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    20
* Objective 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    21
  Participants will be able to invoke and use basic features of ipython. 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    22
* ABCD 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    23
  + Condition 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    24
    - have =python= & =ipython= setup in their machine. no mention of =pylab=
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    25
* Assessment Strategy 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    26
  Built-in interspersed exercises
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    27
  - workbook
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    28
    + errors, make connection with error message
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    29
* Outline 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    30
  + invoking ipython 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    31
    if there's a problem, pre-requisites are not met. 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    32
  + getting out 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    33
  + explain the prompt 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    34
  + typing commands 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    35
    - 1+2 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    36
      * careful wording to differentiate from print 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    37
    - print 1+2 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    38
    - history (up, down arrows) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    39
    - backspace, delete key 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    40
    - tab completion 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    41
      * ab 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    42
      * a 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    43
      * rou 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    44
      * ro 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    45
      * r 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    46
  + =abs?=, =round?= 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    47
  + handling typing errors 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    48
    - round(2.48,
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    49
      + close it
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    50
      + use ^C  
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    51
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    52
1.3 LO: using the =plot= command interactively (2) [amit] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    53
----------------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    54
* Outline 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    55
  + ipython -pylab 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    56
    - pylab brings in the libraries necessary for Scientific Computing. 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    57
  + =linspace=, 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    58
  + =len= 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    59
  + =clf= 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    60
  + =plot= 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    61
  + using the plot ui 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    62
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    63
1.4 LO: embellishing a plot (2) [nishanth] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    64
-------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    65
* Outline 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    66
  + [X]line width, color, style 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    67
  + [X]Title 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    68
  + [X]Label 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    69
  + [X]annotations 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    70
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    71
1.5 LO: saving plots (2) [anoop] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    72
---------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    73
* Outline 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    74
  + basic savefig 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    75
  + png, pdf, ps, eps, svg 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    76
  + going to OS and looking at the file 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    77
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    78
1.6 LO: multiple plots (3) [madhu] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    79
-----------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    80
* Outline 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    81
  + overlays 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    82
    - linspace 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    83
      * give one with very few points, more points 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    84
      * show smoothness of the curve 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    85
  + legend 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    86
  + figure 1, figure2 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    87
  + subplots 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    88
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    89
1.7 LO: additional features of IPython (2) [nishanth] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    90
------------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    91
* Outline 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    92
  + =%save=, =%history=, =%run= 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    93
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    94
1.8 LO: module level assessment (3) [madhu] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    95
--------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    96
* 10-12 question, time the questions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    97
* pause & and play when ready to look at answers 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    98
* show the answers 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    99
* one large or two medium questions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   100
* ex: four_plot 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   101
  
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   102
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   103
2 Module 2: Plotting Experimental Data (12) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   104
============================================
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   105
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   106
2.1 ABCD 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   107
---------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   108
* Audience 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   109
  + same 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   110
* Behaviour 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   111
  - should be able to generate plots with numeric data from files.
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   112
* Condition 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   113
  - being learnt in a self-study tutorial.
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   114
  - have python setup in their machine
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   115
* Degree 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   116
  - Same
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   117
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   118
2.2 LO: loading data from files (3) [punch] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   119
--------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   120
* loadtxt with unpack=True 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   121
  + primes.list (one col) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   122
  + pendulum.txt (two col) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   123
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   124
2.3 LO: plotting the data (3) [amit] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   125
-------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   126
* plot L vs. T^2 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   127
  + using square function 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   128
* problem with 3 cols 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   129
  + 3rd column is error 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   130
  + error bar 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   131
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   132
2.4 LO: other types of plots (3) [anoop] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   133
-----------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   134
* scatter 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   135
* pie chart 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   136
* bar chart 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   137
* log 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   138
* illustration of other plots, matplotlib help 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   139
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   140
2.5 LO: module level assessment (3) [nishanth] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   141
-----------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   142
* pos.txt is evaluation 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   143
  
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   144
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   145
3 Module 3: Handling Large Data Files (17) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   146
===========================================
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   147
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   148
3.1 LO: getting started with lists (2) [amit] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   149
----------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   150
* empty 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   151
* filled lists 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   152
  + heterogenity 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   153
* accessing 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   154
* len 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   155
* =append= elements 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   156
* del (+ remove) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   157
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   158
3.2 LO: getting started with =for= (2) [anoop] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   159
-----------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   160
* blocks in python 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   161
  + (indentation) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   162
* blocks in ipython 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   163
  + ... prompt 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   164
  + hitting enter 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   165
* =for= with a list 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   166
* =range= function 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   167
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   168
3.3 LO: getting started with strings (2) [madhu] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   169
-------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   170
* strings 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   171
  + single, double, triple quoted 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   172
* accessing elements 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   173
* show immutability 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   174
* tell that there are methods for manipulation 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   175
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   176
3.4 LO: getting started with files (3) [punch] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   177
-----------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   178
* show file object 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   179
* read the file with =read= 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   180
* closing the file 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   181
* for line in file: 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   182
* print a line 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   183
* append the lines to a list 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   184
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   185
3.5 LO: parsing data (3) [nishanth] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   186
------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   187
* explain what is parsing 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   188
* strip (with strings) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   189
* split (with strings) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   190
  + with delimiters 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   191
    - specify space as delimiter 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   192
* datatype conversion 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   193
* reading from files 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   194
  + do the same problem done with loadtxt (for pendulum) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   195
  + basic parse sslc text 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   196
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   197
3.6 LO: statistics (2) [amit] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   198
------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   199
* mean 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   200
  + summing 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   201
* median 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   202
* std 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   203
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   204
3.7 LO: module level assessment (3) [madhu] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   205
--------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   206
* mean g 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   207
  
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   208
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   209
4 Module 4: Arrays and Matrices (14) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   210
=====================================
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   211
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   212
4.1 LO: getting started with arrays (2) [anoop] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   213
------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   214
* why arrays 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   215
  + speed - simply say 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   216
  + array level operations 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   217
* creating arrays 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   218
  + direct data 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   219
  + list conversion 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   220
  + homogeneous 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   221
  + builtins - identitiy, zeros, 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   222
* array operations 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   223
  + =+ - * /= 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   224
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   225
4.2 LO: accessing parts of arrays (4) [punch] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   226
----------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   227
* accessing individual elements 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   228
* slicing, striding 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   229
* image manipulation 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   230
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   231
4.3 LO: Matrices (3) [anoop] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   232
-----------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   233
* creating matrices 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   234
  + direct data 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   235
  + list conversion 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   236
  + builtins - identitiy, zeros, 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   237
* matrix operations 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   238
  + + - * / 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   239
  + dot 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   240
  + inv 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   241
  + det 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   242
  + eig 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   243
  + norm 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   244
  + svd 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   245
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   246
4.4 LO: Least square fit (2) [nishanth] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   247
----------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   248
* show pendulum 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   249
  + use loadtxt 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   250
* lstsq 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   251
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   252
4.5 LO: Assessment (3) [punch] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   253
-------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   254
* extract faces from a group photograph 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   255
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   256
5 Module 5: using Sage (13) 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   257
============================
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   258
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   259
5.1 LO: getting started with sage notebook (3) [madhu] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   260
-------------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   261
* about sage 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   262
  + ... 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   263
* starting the notebook server 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   264
* using the UI 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   265
  + typesetting & print 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   266
  + selecting language 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   267
    - sage 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   268
    - LaTeX 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   269
    - python 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   270
  + help 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   271
    - sum(<tab> 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   272
    - ? 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   273
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   274
5.2 LO: getting started with symbolics (3) [amit] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   275
--------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   276
* symbolic expressions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   277
  + built-in constants & functions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   278
  + algebraic expressions, 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   279
  + series 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   280
  + integration, differentiation 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   281
  + matrices 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   282
* symbolic functions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   283
  + defining 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   284
* simplification 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   285
* finding roots & factors 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   286
* substituting expressions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   287
* output formats 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   288
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   289
5.3 LO: using Sage (4) [punch] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   290
-------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   291
* ABCD 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   292
  + Degree 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   293
    - RBT - U 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   294
* Calculus 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   295
  + limits 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   296
  + differentiation 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   297
  + integration 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   298
    - indefinite 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   299
    - definite 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   300
  + piece-wise functions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   301
  + differential equations 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   302
  + maxima, minima 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   303
* Linear Algebra 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   304
  + Vectors and Matrices 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   305
    - constructions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   306
  + Vector Operations 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   307
    - linear combination 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   308
    - dot 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   309
    - cross 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   310
    - pairwise 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   311
  + Matrix Operations 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   312
    - linear combination 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   313
    - matrix multiplication 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   314
    - inverse 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   315
    - transpose 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   316
    - adjoint 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   317
    - rank 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   318
    - determinant 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   319
    - trace 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   320
    - norm 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   321
  + Solving equations 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   322
  + Eigenvalues, eigenvectors 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   323
* Graph Theory 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   324
* Number Theory 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   325
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   326
5.4 LO: using sage to teach (3) [nishanth] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   327
-------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   328
* @interact 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   329
* 2D, 3D graphics 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   330
* Graph Theory 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   331
* Share, Publish 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   332
* print 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   333
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   334
5.5 LO: Assessment (3) [anoop] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   335
-------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   336
* 5 questions 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   337
* choice of exercises from one area 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   338
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   339
6 Module 6: Python Language: Basics (12)
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   340
=======================================
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   341
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   342
6.1 LO: basic datatypes & operators (4) [amit]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   343
----------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   344
* int 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   345
  + L, long 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   346
* float 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   347
  + repr, str 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   348
* complex
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   349
  + methods like imag, real
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   350
* boolean
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   351
  + short circuit logic
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   352
* conversion functions
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   353
* sequence datatypes & mutability 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   354
  + list available sequence datatypes 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   355
    - string 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   356
    - list 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   357
    - tuple 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   358
  + mutability 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   359
  + conversion 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   360
  + common stuff 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   361
    - len 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   362
    - in 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   363
    - max, min, sum, sorted, reversed 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   364
    - accessing individual elements 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   365
    - slicing, striding 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   366
    - containership
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   367
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   368
6.2 LO: I/O (1) [nishanth]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   369
--------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   370
* print statement
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   371
* raw_input
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   372
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   373
6.3 LO: conditionals (2) [Madhu]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   374
--------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   375
* if, elif, else 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   376
* pass 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   377
* ternary operator
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   378
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   379
6.4 LO: loops (2) [punch]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   380
-------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   381
* while
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   382
* for
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   383
* pass, break, continue
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   384
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   385
6.5 LO: Assessment (3) [Anoop]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   386
------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   387
* 10 Questions
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   388
* One of collatz or armstrong numbers
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   389
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   390
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   391
7 Module 7: Python Language: Datastructures (14)
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   392
================================================
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   393
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   394
7.1 LO: manipulating lists (3) [Madhu]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   395
--------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   396
* concatenation
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   397
* slicing
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   398
* striding
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   399
* .sort 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   400
* sorted 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   401
* .reverse 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   402
* reversed 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   403
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   404
7.2 LO: manipulating strings (2) [punch]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   405
----------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   406
* upper, lower, 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   407
* replace 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   408
* slicing 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   409
* [::-1] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   410
* reversed 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   411
* palindrome check 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   412
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   413
7.3 LO: getting started with tuples (2) [nishanth]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   414
--------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   415
* immutability 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   416
* tuple packing, unpacking 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   417
  + a, b = b, a 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   418
* accessing individual elements 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   419
* slicing, striding 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   420
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   421
7.4 LO: dictionaries (2) [anoop]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   422
--------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   423
* empty 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   424
* filled 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   425
* accessing via keys 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   426
* .values(), .keys() 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   427
* in 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   428
* iteration
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   429
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   430
7.5 LO: sets (2) [nishanth] 
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   431
---------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   432
* Operations
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   433
  + Union
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   434
  + Intersection
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   435
  + Complement
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   436
  + Symmetric Difference
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   437
* Containership
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   438
* Subset
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   439
* len
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   440
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   441
7.6 LO: Assessment (3) [amit]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   442
-----------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   443
* 10 Questions
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   444
* Anagrams for sets and dictionaries
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   445
* A problem for lists and strings
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   446
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   447
8 Module 8: Python Language: Advanced (16)
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   448
==========================================
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   449
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   450
8.1 LO: getting started with functions (3) [nishanth]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   451
-----------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   452
* defining function
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   453
* arguments
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   454
* docstrings
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   455
* return values
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   456
  + can return multiple values
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   457
* code reading exercises
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   458
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   459
8.2 LO: advanced features of functions (3) [punch]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   460
--------------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   461
* default arguments
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   462
* keyword arguments
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   463
* built-in functions show off
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   464
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   465
8.3 LO: using python modules (3) [anoop]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   466
----------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   467
* executing python scripts from command line
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   468
* import
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   469
* scipy
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   470
* pylab
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   471
* sys
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   472
* STDLIB modules show off
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   473
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   474
8.4 LO: writing python scripts (2)  [nishanth]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   475
----------------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   476
* importing our own modules
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   477
* if __name__ == '__main__'
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   478
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   479
8.5 LO: testing and debugging (2) [amit]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   480
----------------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   481
* Types of errors and exceptions
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   482
* Strategy for debugging
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   483
  + Using print
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   484
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   485
8.6 LO: Assessment (3) [punch]
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   486
------------------------------
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   487
* 10 Questions
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   488
* Find four digit numbers whose digits are all even
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   489
* Write a script to use methods from pylab (like plot, show and other commands) and execute it as a stand-alone script
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   490
6c460c0cb353 added outline file
Nishanth <nishanth@fossee.in>
parents:
diff changeset
   491