File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -361,15 +361,15 @@ def set_calculation_points(self, x):
361361 x = x [x <= self .xobs [- 1 ] + epsilon ]
362362 self .x = x
363363 if self .yobs is not None :
364- self .y = rebin_array (self .yobs , self .xobs , self .x )
364+ self .y = _rebin_array (self .yobs , self .xobs , self .x )
365365 if self .dyobs is not None :
366366 # work around for interpolation issue making some of these non-1
367367 if (self .dyobs == 1 ).all ():
368368 self .dy = numpy .ones_like (self .x )
369369 else :
370370 # FIXME - This does not follow error propagation rules and it
371371 # introduces (more) correlation between the data points.
372- self .dy = rebin_array (self .dyobs , self .xobs , self .x )
372+ self .dy = _rebin_array (self .dyobs , self .xobs , self .x )
373373
374374 return
375375
@@ -500,7 +500,7 @@ def _validate(self):
500500# End class Profile
501501
502502
503- def rebin_array (A , xold , xnew ):
503+ def _rebin_array (A , xold , xnew ):
504504 """Rebin the an array by interpolating over the new x range.
505505
506506 Parameters
You can’t perform that action at this time.
0 commit comments