sakoho81 / miplib

A Python software library with a variety of functions for (optical) microscopy image restoration, reconstruction and analysis.
Other
66 stars 22 forks source link

trying to to solve the problem of error reporting after interpolation #9

Open Tony-lxl opened 3 years ago

Tony-lxl commented 3 years ago

Hi, I'm very interested in your open source code, and attempts to reconstruct, but when I changed the input of the example, I met some error below (multiple sets of data were tried, just part of them were wrong ), I tried to change the border of the minimum optimization problem, but useless. I'm confused, what is the problem of this error? data or the interpolation value?

//.. error: ~.conda\envs\miplib\lib\site-packages\scipy\interpolate\interpolate.py in _check_bounds(self, x_new) 689 "range.") 690 if self.bounds_error and above_bounds.any(): --> 691 raise ValueError("A value in x_new is above the interpolation " 692 "range.") 693

ValueError: A value in x_new is above the interpolation range.