Skip to content

Commit 149922a

Browse files
committed
Last little update before new Gompertz model
- python simulation.py --inifile files/m1C070.json - Results in index_area_figs
1 parent 7533506 commit 149922a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

simulation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ def main(
11391139
if status == "completed":
11401140
logging.info("JPSVIS")
11411141
trajectory_data, walkable_area = read_sqlite_file(output_path)
1142-
output_file = pathlib.Path(output_path).stem + ".txt"
1142+
output_file = "jpsvis_files" + pathlib.Path(output_path).stem + ".txt"
11431143
geometry_file = pathlib.Path(output_path).stem + "_geometry.xml"
11441144
v0_mean = 1.2
11451145
export_trajectory_to_txt(
@@ -1149,7 +1149,7 @@ def main(
11491149
geometry_file="geometry.xml",
11501150
df=10,
11511151
v0=v0_mean,
1152-
by_speed=False,
1152+
by_speed=True,
11531153
)
11541154

11551155
# polygon_to_xml(walkable_area=walkable_area, output_file=geometry_file)

src/utilities.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,6 @@ def plot_crossing_order_vs_area(
315315

316316
output_path = f"{output_dir}/{filename_stem}.pdf"
317317
plt.savefig(output_path, bbox_inches="tight")
318-
print(output_path)
318+
319+
print(f"Plot: {output_path}")
319320
plt.show()

0 commit comments

Comments
 (0)