@@ -55,7 +55,6 @@ def morph(self, x_morph, y_morph, x_target, y_target):
55
55
"""Resample arrays onto specified grid."""
56
56
Morph .morph (self , x_morph , y_morph , x_target , y_target )
57
57
rmininc = max (self .x_target_in [0 ], self .x_morph_in [0 ])
58
- print (self .x_morph_out )
59
58
r_step_target = (self .x_target_in [- 1 ] - self .x_target_in [0 ]) / (
60
59
len (self .x_target_in ) - 1
61
60
)
@@ -67,7 +66,6 @@ def morph(self, x_morph, y_morph, x_target, y_target):
67
66
self .x_target_in [- 1 ] + r_step_target ,
68
67
self .x_morph_in [- 1 ] + r_step_morph ,
69
68
)
70
- print (rmininc , rmaxinc , rstepinc )
71
69
if self .rmin is None or self .rmin < rmininc :
72
70
self .rmin = rmininc
73
71
if self .rmax is None or self .rmax > rmaxinc :
@@ -80,7 +78,6 @@ def morph(self, x_morph, y_morph, x_target, y_target):
80
78
self .x_morph_out = numpy .arange (
81
79
self .rmin , self .rmax - epsilon , self .rstep
82
80
)
83
- print ((self .rmax - self .rmin ) / self .rstep , len (self .x_morph_out ))
84
81
self .y_morph_out = numpy .interp (
85
82
self .x_morph_out , self .x_morph_in , self .y_morph_in
86
83
)
0 commit comments