Spaces:
Sleeping
Sleeping
Print to debug
Browse files
app.py
CHANGED
|
@@ -19,6 +19,8 @@ def compute_radon_fn(image,
|
|
| 19 |
L = int(np.ceil(np.sqrt(M**2 + N**2)))
|
| 20 |
pxaxis = np.linspace(-L/2, L/2, L)
|
| 21 |
|
|
|
|
|
|
|
| 22 |
# Create the Radon2D operator with engine 'numba' and centeredh=True.
|
| 23 |
R = Radon2D(taxis, haxis, pxaxis,
|
| 24 |
kind=kind, centeredh=True, interp=True,
|
|
|
|
| 19 |
L = int(np.ceil(np.sqrt(M**2 + N**2)))
|
| 20 |
pxaxis = np.linspace(-L/2, L/2, L)
|
| 21 |
|
| 22 |
+
print(f"Shapes:\n taxis:{taxis.shape}, haxis:{haxis.shape}, pxaxis:{pxaxis.shape}")
|
| 23 |
+
|
| 24 |
# Create the Radon2D operator with engine 'numba' and centeredh=True.
|
| 25 |
R = Radon2D(taxis, haxis, pxaxis,
|
| 26 |
kind=kind, centeredh=True, interp=True,
|