1
0
Fork 0
This repository has been archived on 2024-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
collision-analysis-and-inte.../example.py

18 lines
383 B
Python
Raw Permalink Normal View History

2019-08-06 14:41:34 +02:00
"""
Just a demo file on how to quickly read the dataset
"""
2021-10-12 15:45:43 +02:00
from pathlib import Path
from pprint import pprint
2019-08-06 14:41:34 +02:00
from simulation_list import SimulationList
2021-10-12 15:45:43 +02:00
simlist = SimulationList.jsonlines_load(Path("save.jsonl"))
2019-08-06 14:41:34 +02:00
for s in simlist.simlist:
if not s.testcase:
continue
2021-10-12 15:45:43 +02:00
if s.water_retention_both < 0.2:
pprint(vars(s))
print(s.water_retention_both)