Changeset 14106 for fact/tools/pyscripts/doc
- Timestamp:
- 06/07/12 11:44:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/doc/getting_started.rst
r14104 r14106 90 90 ================================= 91 91 92 Now you can check if the reading rawdata is working:: 92 each module in pyfact should have some test methods implemented. 93 In case one would like to test the module *pyfact*, one can simple execute 94 the module source file. 95 The module pyfact implements the classes *RawData* and *SlowData*, but only *RawData* 96 is currently te 93 97 94 98 neise@isdc-viewer00:~/py/pyfact$ pyfact.py … … 195 199 or loop over the file:: 196 200 197 for row in file: :201 for row in file: 198 202 print row.Time, row. OnTime 199 203 200 204 *row* is just be a copy of *file*, but inside the for loop, I think it is 201 convenient to access members of *r aw* rather than members of *file*.205 convenient to access members of *row* rather than members of *file*. 202 206 I is just easier to understand for the reader, I think. 203 207
Note:
See TracChangeset
for help on using the changeset viewer.