blob: 2ee4925e5595ff99b90186212224a07a33e82c57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
Advanced Python
===============
Module Objectives
-----------------
After successfully completing this module a participant will be able to:
* generate 2D plots {Ap}
* Work with arrays and use them effectively {Ap}
* Solve linear, polynomial and other non-linear equations {Ap}
* Solve ODEs {Ap}
* Write mid-sized programs that carry out typical {Ap}
engineering/numerical computations such as those that involve
(basic) manipulation of large arrays in an efficient manner
+---------+-----------------------------------+----------+
| Session | Topic | Duration |
+---------+-----------------------------------+----------+
| | Interactive Plottin | 5 min |
| | - -pylab | |
| | - plot, linspace | |
| | | |
| | Embellishing plots | 10 min |
| | - clf | |
| | - title | |
| | - xlabel, ylabel | |
| | - annotate | |
| | - xlim, ylim | |
| | | |
| | Saving to scripts | 10 min |
| | - %hist | |
| | - %save | |
| | - %run | |
| | | |
| | Saving plots | |
| | | |
| | Multiple plots | 15 min |
| | - legend | |
| | - *figure* | |
| | - subplot | |
| | | |
| | Plotting data | 10 min |
| | - loadtxt | |
| | | |
| | Other plots | 10 min |
| | - bar, | |
| | - pie | |
| | - scatter | |
| | - loglog | |
+---------+-----------------------------------+----------+
| | Arrays - Introduction | 15 min |
| | - creating from lists | |
| | - special methods | |
| | - operations on arrays | |
| | | |
| | Accessing pieces of arrays | 15 min |
| | - accessing and changing elements | |
| | - rows and columns | |
| | - slicing and striding | |
| | | |
| | Matrix operations | 10 min |
| | | |
| | Least square fit | 15 min |
+---------+-----------------------------------+----------+
| | Solving equations | 15 min |
| | - solve | |
| | - roots | |
| | - fsolve | |
| | | |
| | ODEs | 20 min |
| | - 1st order | |
| | - 2nd order | |
| | | |
| | python modules | 20 min |
| | - imports | |
| | - sys.path | |
| | - writing own modules | |
+---------+-----------------------------------+----------+
|