A convenience class for managing data files.
Output is recorded in a comma-separeated (csv) file.
Note
In the output file, floats are formatted to 1 ms precision so that output files are nice.
| Args: |
|
|---|---|
| Kwargs: |
|
A convenience class for managing data files.
Output is recorded in a comma-separeated (csv) file.
Note
In the output file, floats are formatted to 1 ms precision so that output files are nice.
| Args: |
|
|---|---|
| Kwargs: |
|
Methods
| __init__(filename[, writeable, header]) | A convenience class for managing data files. |
| close() | Closes the file |
| open() | Opens a csv file for writing data |
| write(data) | Writes data list to a file. |
| write_header(header) | Determines if a header should be writen in a csv data file. |