equal
deleted
inserted
replaced
12 .. Prerequisites |
12 .. Prerequisites |
13 .. ------------- |
13 .. ------------- |
14 |
14 |
15 .. 1. getting started with ``ipython`` |
15 .. 1. getting started with ``ipython`` |
16 |
16 |
|
17 .. #[Anand: author and internal reviewer not mentioned] |
17 .. Author : |
18 .. Author : |
18 Internal Reviewer : |
19 Internal Reviewer : |
19 External Reviewer : |
20 External Reviewer : |
|
21 Language Reviewer : Bhanukiran |
20 Checklist OK? : <put date stamp here, if OK> [2010-10-05] |
22 Checklist OK? : <put date stamp here, if OK> [2010-10-05] |
21 |
23 |
22 Script |
24 Script |
23 ------ |
25 ------ |
24 |
26 |
94 .. :: |
96 .. :: |
95 |
97 |
96 .. cat /home/fossee/pendulum.txt |
98 .. cat /home/fossee/pendulum.txt |
97 |
99 |
98 .. #[Nishanth]: The first column is L values and second is T values |
100 .. #[Nishanth]: The first column is L values and second is T values |
99 from a simle pelculum experiment. |
101 from a simple pendulum experiment. |
100 Since you are using the variable names later in the |
102 Since you are using the variable names later in the |
101 script. |
103 script. |
102 Not necessary but can be included also. |
104 Not necessary but can be included also. |
103 |
105 |
104 Let us, now, read the data into the variable ``pend``. Again, it is |
106 Let us, now, read the data into the variable ``pend``. Again, it is |
131 |
133 |
132 .. #[Nishanth]: Stress on ``unpack=True`` ?? |
134 .. #[Nishanth]: Stress on ``unpack=True`` ?? |
133 |
135 |
134 Notice, that L and T now contain the first and second columns of data |
136 Notice, that L and T now contain the first and second columns of data |
135 from the data file, ``pendulum.txt``, and they are both simple |
137 from the data file, ``pendulum.txt``, and they are both simple |
136 sequences. ``unpack=True`` has given us the two columns in to two |
138 sequences. ``unpack=True`` has given us the two columns into two |
137 separate sequences instead of one complex sequence. |
139 separate sequences instead of one complex sequence. |
138 |
140 |
139 {{{ show the slide with loadtxt --- other features }}} |
141 {{{ show the slide with loadtxt --- other features }}} |
140 |
142 |
141 In this tutorial, we have learnt the basic use of the ``loadtxt`` |
143 In this tutorial, we have learnt the basic use of the ``loadtxt`` |