Changeset 14106


Ignore:
Timestamp:
06/07/12 11:44:29 (12 years ago)
Author:
neise
Message:
some more examples
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/doc/getting_started.rst

    r14104 r14106  
    9090=================================
    9191
    92 Now you can check if the reading rawdata is working::
     92each module in pyfact should have some test methods implemented.
     93In case one would like to test the module *pyfact*, one can simple execute
     94the module source file.
     95The module pyfact implements the classes *RawData* and *SlowData*, but only *RawData*
     96is currently te
    9397
    9498  neise@isdc-viewer00:~/py/pyfact$ pyfact.py
     
    195199or loop over the file::
    196200
    197   for row in file::
     201  for row in file:
    198202    print row.Time, row. OnTime
    199203
    200204*row* is just be a copy of *file*, but inside the for loop, I think it is
    201 convenient to access members of *raw* rather than members of *file*.
     205convenient to access members of *row* rather than members of *file*.
    202206I is just easier to understand for the reader, I think.
    203207
Note: See TracChangeset for help on using the changeset viewer.