Skip to content

Instantly share code, notes, and snippets.

@ev-br
ev-br / example-2.ipynb
Created February 23, 2024 15:57
spline-fit-example-2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / example-1.ipynb
Last active February 23, 2024 15:58
Spline-fit-example-1
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
$ python setup.py develop
Generating cache key from header files...
Cache key (1545 files matching /home/ev-br/repos/cupy/cupy/_core/include/**): c1dd808300cf25e56a32798995fa333ef27c5446
-------- Configuring Module: cuda --------
-------- Configuring Module: cusolver --------
-------- Configuring Module: cudnn --------
@ev-br
ev-br / gist:de296468e24ccd2671accf70e69f2521
Created November 7, 2023 14:37
rm_cdflib_failures.txt
FAILED scipy/stats/tests/test_axis_nan_policy.py::test_axis_nan_policy_fast[mixed-1-propagate-ttest_1samp-args18-kwds18-1-7-False-unpack_ttest_result] - AttributeError: module 'scipy.special' has no attribute 'stdtr'. Did you mean: 'btdtr'?
FAILED scipy/stats/tests/test_axis_nan_policy.py::test_axis_nan_policy_fast[mixed-1-propagate-ttest_rel-args19-kwds19-2-7-True-unpack_ttest_result] - AttributeError: module 'scipy.special' has no attribute 'stdtr'. Did you mean: 'btdtr'?
FAILED scipy/stats/tests/test_axis_nan_policy.py::test_axis_nan_policy_fast[mixed-1-propagate-ttest_ind-args20-kwds20-2-7-False-unpack_ttest_result] - AttributeError: module 'scipy.special' has no attribute 'stdtr'. Did you mean: 'btdtr'?
FAILED scipy/stats/tests/test_axis_nan_policy.py::test_axis_nan_policy_fast[mixed-1-propagate-ttest_ci-args21-kwds21-1-2-False-None] - AttributeError: module 'scipy.special' has no attribute 'stdtr'. Did you mean: 'btdtr'?
FAILED scipy/stats/tests/test_axis_nan_policy.py::test_axis_nan_policy_fast[mixed-1
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / recommendation_table.md
Last active November 8, 2022 15:48
Recommended routines for interpolation in `scipy.interpolate`
kind routne continuity comment alias
linear numpy.interp broken line comes from numpy
cubic spline CubicSpline 2nd derivative
1D monotone cubic spline PchipInterpolator 1st derivative non-overshooting
non-cubic spline make_interp_spline (k-1)th derivative
nearest interp1d none kind='nearest',
@ev-br
ev-br / interp2d_transition_guide.ipynb
Last active March 7, 2024 12:58
A transition guide for `interpolate.interp2d` bug-for-bug compatible replacements
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / 1D_binding_energy.ipynb
Created November 15, 2020 10:49
1D Hubbard chain binding energy vs U
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.