tts_dtat.dataconnectors
Submodules
tts_dtat.dataconnectors.csvconnector
- class tts_dtat.dataconnectors.csvconnector.CSVConnector(file)
Bases:
objectConnector object to read data from a file
This is the simplest possible connector that does little other than covnert time strings into datetime objects for plotting. Data must otherwise already be formatted in the way DTAT expects with the columns scet, value, name, unit, and one chanval per row. Additional columns are OK, but will be ignored.
Any other data format needs its own connector.
- get_data()
Read the data stored by the object
- get_file()
Returns the name of the file this connector reads from
- get_states()
Returns the names of the states contained in this connector
- refresh_data()
Refresh the data stored by the object with the latest from the original file