You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I found an issue when running the code from the examples e.g., python example.py -n 32 34 32 -l 0.565 0.6 0.565, this would call the cbc-spectrum as a default.
This crashes with a ValueError: A value in x_new is below the interpolation range. given by the "scipy" function "interpolate".
This can be solved by adding the flag fill_value = "extrapolate" in the interp1d function: self.especf = interpolate.interp1d(kcbc, ecbc,'cubic', fill_value="extrapolate")
Note:
I am unaware of the physical implication this might have.
The text was updated successfully, but these errors were encountered:
Hi, I found an issue when running the code from the examples e.g.,
python example.py -n 32 34 32 -l 0.565 0.6 0.565
, this would call the cbc-spectrum as a default.This crashes with a
ValueError: A value in x_new is below the interpolation range.
given by the "scipy" function "interpolate".This can be solved by adding the flag
fill_value = "extrapolate"
in the interp1d function:self.especf = interpolate.interp1d(kcbc, ecbc,'cubic', fill_value="extrapolate")
Note:
I am unaware of the physical implication this might have.
The text was updated successfully, but these errors were encountered: