Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest ]
python-version: ["3.10", "3.11", "3.12", "3.13"]

python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
exclude:
- platform: macos-latest
python-version: "3.14"
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev-gpu.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy>=2.0.0
scipy>=1.13.0
cupy-cuda12x
torch
torch<2.11.0
numba
sympy
astra-toolbox>=2.3.0
Expand Down
4 changes: 2 additions & 2 deletions tutorials/deblurring.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
nh = [15, 25]
hz = np.exp(-0.1 * np.linspace(-(nh[0] // 2), nh[0] // 2, nh[0]) ** 2)
hx = np.exp(-0.03 * np.linspace(-(nh[1] // 2), nh[1] // 2, nh[1]) ** 2)
hz /= np.trapz(hz) # normalize the integral to 1
hx /= np.trapz(hx) # normalize the integral to 1
hz /= np.trapezoid(hz) # normalize the integral to 1
hx /= np.trapezoid(hx) # normalize the integral to 1
h = hz[:, np.newaxis] * hx[np.newaxis, :]

fig, ax = plt.subplots(1, 1, figsize=(5, 3))
Expand Down
Loading