watts.Database¶
- class watts.Database(path=None)[source]¶
Database of simulation results
- Parameters
path – Path to database directory
- path¶
Base path for the database directory
- default_path¶
Path used by default when creating instances if no path is specified
- results¶
List of simulation results in database
Methods
add_result
(result)Add a result to the database
clear
()Remove all results from database
Get the default path used when instances are created
set_default_path
(path)Set the default path used when instances are created
Show a summary of results in database