Changed post out folder structure
This commit is contained in:
parent
46845010f3
commit
c2f867a7dd
1 changed files with 4 additions and 4 deletions
|
@ -83,12 +83,12 @@ ax_x.set(xlabel="x (m)", ylabel="z (m)")
|
|||
ax_x.autoscale(axis="x", tight=True)
|
||||
ax_x.grid()
|
||||
|
||||
out = pathlib.Path(config.get("post", "out"))
|
||||
out = pathlib.Path(config.get("post", "out")).joinpath(f"t{t0}x{x0}")
|
||||
log.info(f"Saving plots in '{out}'")
|
||||
out.mkdir(exist_ok=True)
|
||||
|
||||
fig.savefig(out.joinpath(f"t{x0}.png"))
|
||||
fig_r.savefig(out.joinpath(f"R{x0}.png"))
|
||||
fig_x.savefig(out.joinpath(f"x{t0}.png"))
|
||||
fig.savefig(out.joinpath(f"t.png"))
|
||||
fig_r.savefig(out.joinpath(f"R.png"))
|
||||
fig_x.savefig(out.joinpath(f"x.png"))
|
||||
|
||||
log.info("Finished post-processing")
|
||||
|
|
Loading…
Reference in a new issue