We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry for not being more verbose, I'm short on time.
AttributeError: module 'scipy.integrate' has no attribute 'trapz' ... File "/usr/local/lib/python3.11/site-packages/pyspectral/radiance_tb_conversion.py", line 224, in tb2radiance radiance = integrate.trapz(planck, self.wavelength_or_wavenumber) / self.rsr_integral ^^^^^^^^^^^^^^^
Deprecated method scipy.integrate.trapz removed in SciPy 1.14.0, see scipy/scipy#20486 leads to above exception.
scipy.integrate.trapz
scipy>=0.14, < 1.14
scipy.intergrate.trapezoid
scipy.integrate
trapz
trapezoid
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Code Sample, a minimal, complete, and verifiable piece of code
Sorry for not being more verbose, I'm short on time.
Problem description
Deprecated method
scipy.integrate.trapz
removed in SciPy 1.14.0, see scipy/scipy#20486 leads to above exception.Solution suggestions
scipy>=0.14, < 1.14
(or so)scipy.intergrate.trapezoid
scipy.integrate
attributes whethertrapz
ortrapezoid
is availableThe text was updated successfully, but these errors were encountered: