Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix_reshape_argument'
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 29, 2024
2 parents c9a522b + ee2e4eb commit 452227a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eitprocessing/datahandling/loading/timpel.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def load_from_single_path(
time = time[first_frame:]

pixel_impedance = data[:, :1024]
pixel_impedance = np.reshape(pixel_impedance, shape=(-1, 32, 32), order="C")
pixel_impedance = np.reshape(pixel_impedance, (-1, 32, 32), order="C")

pixel_impedance = np.where(pixel_impedance == _NAN_VALUE, np.nan, pixel_impedance)

Expand Down

0 comments on commit 452227a

Please sign in to comment.