1
0
Fork 0
mirror of https://github.com/Findus23/collision-analyisis-and-interpolation.git synced 2024-09-19 15:13:50 +02:00

add example on how to use data

This commit is contained in:
Lukas Winkler 2019-08-06 14:41:34 +02:00
parent 158f761b6a
commit 2ce47e7013
Signed by: lukas
GPG key ID: 54DE4D798D244853

14
example.py Normal file
View file

@ -0,0 +1,14 @@
"""
Just a demo file on how to quickly read the dataset
"""
from simulation_list import SimulationList
simlist = SimulationList.jsonlines_load()
for s in simlist.simlist:
if not s.testcase:
continue
print(vars(s))
if s.water_retention_both < 0:
print(s.runid)