Skip to content
Snippets Groups Projects
Commit 76a854a5 authored by Clément Douarre's avatar Clément Douarre
Browse files

small debug regarding generation of projections shape (size of HS cube was...

small debug regarding generation of projections shape (size of HS cube was used even though in this version, the size can be different than the size of the FPA).
parent 5a39e71c
No related branches found
No related tags found
No related merge requests found
...@@ -44,8 +44,8 @@ def create_CTIS_from_HSI(HSI, CTIS_geom_params, o0_attenuator, gain, wl_range, L ...@@ -44,8 +44,8 @@ def create_CTIS_from_HSI(HSI, CTIS_geom_params, o0_attenuator, gain, wl_range, L
# Get the cube # Get the cube
H, W, L = HSI.shape H, W, L = HSI.shape
mid_H = int(H/2) mid_H = int(L_CTIS/2)
mid_W = int(W/2) mid_W = int(L_CTIS/2)
# Create empty CTIS image # Create empty CTIS image
CTIS = np.zeros((L_CTIS,L_CTIS)) CTIS = np.zeros((L_CTIS,L_CTIS))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment