Skip to content
Snippets Groups Projects
Commit 8c4314bb authored by myron's avatar myron
Browse files

corrected the weigth padding at the extremal slices

parent b5aeec30
No related branches found
No related tags found
1 merge request!2simple helical pipeline
......@@ -1260,9 +1260,9 @@ def _fill_in_chunk_by_shift_crop_data( data_target,
data_target[target_upper_slicer] = data_read_precisely_shifted[-1]
else:
if target_lower_slicer is not None:
data_target[target_lower_slicer] = 0
data_target[target_lower_slicer] = 1.0e-6
if target_upper_slicer is not None:
data_target[target_upper_slicer] = 0
data_target[target_upper_slicer] = 1.0e-6
def shift(arr, shift, fill_value=0.0):
""" trivial horizontal shift.
......
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