This commit is contained in:
Jan Kowalczyk
2025-08-28 18:36:02 +02:00
parent 3b0c2a0727
commit 5ff56994c0
14 changed files with 112 additions and 1002 deletions

View File

@@ -47,16 +47,14 @@ parser.add_argument(
"--input1",
type=Path,
default=Path(
"/home/fedex/mt/data/subter/new_projection/1_loop_closure_illuminated_2023-01-23.npy"
"/home/fedex/mt/data/subter/1_loop_closure_illuminated_2023-01-23.npy"
),
help="Path to first .npy file containing 2D projection data",
)
parser.add_argument(
"--input2",
type=Path,
default=Path(
"/home/fedex/mt/data/subter/new_projection/3_smoke_human_walking_2023-01-23.npy"
),
default=Path("/home/fedex/mt/data/subter/3_smoke_human_walking_2023-01-23.npy"),
help="Path to second .npy file containing 2D projection data",
)
parser.add_argument(
@@ -132,7 +130,7 @@ for ax, frame, title in zip(
plt.tight_layout(rect=[0, 0.05, 1, 1])
# Add a colorbar with the colormap below the subplots
cbar = fig.colorbar(im, ax=[ax1, ax2], orientation="vertical", fraction=0.05)
cbar.set_label("Normalized Range")
cbar.set_label("Reciprocal Range")
# Add a separate colorbar for NaN values
sm = ScalarMappable(cmap=ListedColormap([cmap.get_bad(), cmap.get_over()]))