@@ -55,7 +55,6 @@ def morph(self, x_morph, y_morph, x_target, y_target):
5555 """Resample arrays onto specified grid."""
5656 Morph .morph (self , x_morph , y_morph , x_target , y_target )
5757 rmininc = max (self .x_target_in [0 ], self .x_morph_in [0 ])
58- print (self .x_morph_out )
5958 r_step_target = (self .x_target_in [- 1 ] - self .x_target_in [0 ]) / (
6059 len (self .x_target_in ) - 1
6160 )
@@ -67,7 +66,6 @@ def morph(self, x_morph, y_morph, x_target, y_target):
6766 self .x_target_in [- 1 ] + r_step_target ,
6867 self .x_morph_in [- 1 ] + r_step_morph ,
6968 )
70- print (rmininc , rmaxinc , rstepinc )
7169 if self .rmin is None or self .rmin < rmininc :
7270 self .rmin = rmininc
7371 if self .rmax is None or self .rmax > rmaxinc :
@@ -80,7 +78,6 @@ def morph(self, x_morph, y_morph, x_target, y_target):
8078 self .x_morph_out = numpy .arange (
8179 self .rmin , self .rmax - epsilon , self .rstep
8280 )
83- print ((self .rmax - self .rmin ) / self .rstep , len (self .x_morph_out ))
8481 self .y_morph_out = numpy .interp (
8582 self .x_morph_out , self .x_morph_in , self .y_morph_in
8683 )
0 commit comments