@@ -26,7 +26,6 @@ def compressed_convolve_to_h5(
26
26
chunk_time_centers_s : Optional [np .ndarray ] = None ,
27
27
motion_est = None ,
28
28
geom : Optional [np .ndarray ] = None ,
29
- reg_geom : Optional [np .ndarray ] = None ,
30
29
conv_ignore_threshold = 0.0 ,
31
30
coarse_approx_error_threshold = 0.0 ,
32
31
conv_batch_size = 128 ,
@@ -69,7 +68,6 @@ def compressed_convolve_to_h5(
69
68
template_shift_index = template_shift_index ,
70
69
upsampled_shifted_template_index = upsampled_shifted_template_index ,
71
70
geom = geom ,
72
- reg_geom = reg_geom ,
73
71
conv_ignore_threshold = conv_ignore_threshold ,
74
72
coarse_approx_error_threshold = coarse_approx_error_threshold ,
75
73
max_shift = "full" ,
@@ -143,7 +141,6 @@ def iterate_compressed_pairwise_convolutions(
143
141
template_shift_index : drift_util .TemplateShiftIndex ,
144
142
upsampled_shifted_template_index : UpsampledShiftedTemplateIndex ,
145
143
geom : Optional [np .ndarray ] = None ,
146
- reg_geom : Optional [np .ndarray ] = None ,
147
144
conv_ignore_threshold = 0.0 ,
148
145
coarse_approx_error_threshold = 0.0 ,
149
146
max_shift = "full" ,
@@ -167,6 +164,7 @@ def iterate_compressed_pairwise_convolutions(
167
164
n_shifts = template_shift_index .all_pitch_shifts .size
168
165
do_shifting = n_shifts > 1
169
166
geom_kdtree = reg_geom_kdtree = match_distance = None
167
+ reg_geom = template_data .registered_geom
170
168
if do_shifting :
171
169
assert geom is not None
172
170
assert reg_geom is not None
0 commit comments