@@ -56,7 +56,7 @@ def simple_model_2_factory() -> Tuple[SurfacePoints, Orientations, Interpolation
5656 [0 , .8 ]])
5757 nugget_effect_grad = 0.0000001
5858 ori_i = Orientations (dip_positions , dip_gradients , nugget_effect_grad )
59- kri = InterpolationOptions (5 , 5 ** 2 / 14 / 3 , 0 ,
59+ kri = InterpolationOptions . from_args (5 , 5 ** 2 / 14 / 3 , 0 ,
6060 number_dimensions = 2 , kernel_function = AvailableKernelFunctions .cubic )
6161 tensor_struct = TensorsStructure (number_of_points_per_surface = np .array ([4 , 3 ]))
6262 stack_structure = StacksStructure (number_of_points_per_stack = np .array ([7 ]),
@@ -113,7 +113,7 @@ def _gen():
113113 range_ = 4.166666666667
114114 co = 0.1428571429
115115 ori_i = Orientations (dip_positions , dip_gradients , nugget_effect_grad )
116- kri = InterpolationOptions (
116+ kri = InterpolationOptions . from_args (
117117 range_ ,
118118 co ,
119119 0 ,
@@ -163,7 +163,7 @@ def simple_model_interpolation_input_factory():
163163 range_ = 4.166666666667
164164 co = 0.1428571429
165165 ori_i = Orientations (dip_positions , dip_gradients , nugget_effect_grad )
166- interpolation_options = InterpolationOptions (range_ , co , 0 , number_dimensions = 3 ,
166+ interpolation_options = InterpolationOptions . from_args (range_ , co , 0 , number_dimensions = 3 ,
167167 kernel_function = AvailableKernelFunctions .cubic )
168168 ids = np .array ([1 , 2 ])
169169 interpolation_input = InterpolationInput (spi , ori_i , grid_0_centers , ids )
@@ -217,7 +217,7 @@ def _gen_simple_model_3_layers(simple_grid_3d_octree):
217217 range_ = 4.166666666667
218218 co = 0.1428571429
219219 ori_i = Orientations (dip_positions , dip_gradients , nugget_effect_grad )
220- interpolation_options = InterpolationOptions (range_ , co , 0 , i_res = 4 , gi_res = 2 ,
220+ interpolation_options = InterpolationOptions . from_args (range_ , co , 0 , i_res = 4 , gi_res = 2 ,
221221 number_dimensions = 3 , kernel_function = AvailableKernelFunctions .cubic )
222222 tensor_structure = TensorsStructure (number_of_points_per_surface = np .array ([7 , 2 , 2 ]))
223223 stack_structure = StacksStructure (number_of_points_per_stack = np .array ([11 ]),
@@ -267,7 +267,7 @@ def simple_model_3_layers_high_res(simple_grid_3d_more_points_grid) -> Tuple[Int
267267
268268 ori_i = Orientations (dip_positions , dip_gradients , nugget_effect_grad )
269269
270- interpolation_options = InterpolationOptions (range_ , co , 0 ,
270+ interpolation_options = InterpolationOptions . from_args (range_ , co , 0 ,
271271 number_dimensions = 3 , kernel_function = AvailableKernelFunctions .cubic )
272272
273273 ids = np .array ([1 , 2 , 3 , 4 ])
@@ -386,7 +386,7 @@ def unconformity_complex_factory():
386386 c_o = 35.71428571 * 100
387387 i_r = 4
388388 gi_r = 2
389- options = InterpolationOptions (
389+ options = InterpolationOptions . from_args (
390390 range_ , c_o , uni_degree = 0 , i_res = i_r , gi_res = gi_r ,
391391 number_dimensions = 3 ,
392392 kernel_function = AvailableKernelFunctions .cubic )
@@ -439,7 +439,7 @@ def unconformity_complex_implicit():
439439 i_r = 4
440440 gi_r = 2
441441
442- options = InterpolationOptions (range_ , c_o , uni_degree = 0 , i_res = i_r , gi_res = gi_r ,
442+ options = InterpolationOptions . from_args (range_ , c_o , uni_degree = 0 , i_res = i_r , gi_res = gi_r ,
443443 number_dimensions = 3 ,
444444 kernel_function = AvailableKernelFunctions .cubic )
445445
@@ -477,7 +477,7 @@ def unconformity_complex_one_layer():
477477 i_r = 4
478478 gi_r = 2
479479
480- options = InterpolationOptions (range_ , c_o , uni_degree = 0 , i_res = i_r , gi_res = gi_r ,
480+ options = InterpolationOptions . from_args (range_ , c_o , uni_degree = 0 , i_res = i_r , gi_res = gi_r ,
481481 number_dimensions = 3 ,
482482 kernel_function = AvailableKernelFunctions .cubic )
483483
0 commit comments