Commit 6c97b13d authored by Mario Hock's avatar Mario Hock

docstring for CNLFileWriter

parent 75559bf2
......@@ -185,6 +185,17 @@ class MeasurementLogger:
class CNLFileWriter:
"""
This class produces files in the »CNL« format.
Usage:
- Constructor( filename )
- write_header( »Dictionary that gets converted into JSON.« )
- write_vector( »Vector specifying the CSV-header« )
- Loop:
- write_vector( »Vector holding one line of data.« )
- close()
"""
def __init__(self, filename):
self.filename = filename
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment