We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe62a48 commit c123d58Copy full SHA for c123d58
diffdrr/drr.py
@@ -169,7 +169,7 @@ def set_intrinsics(
169
y0 if y0 is not None else self.detector.y0,
170
n_subsample=self.detector.n_subsample,
171
reverse_x_axis=self.detector.reverse_x_axis,
172
- )
+ ).to(self.volume)
173
174
# %% ../notebooks/api/00_drr.ipynb 14
175
from .utils import convert
notebooks/api/00_drr.ipynb
@@ -303,7 +303,7 @@
303
" y0 if y0 is not None else self.detector.y0,\n",
304
" n_subsample=self.detector.n_subsample,\n",
305
" reverse_x_axis=self.detector.reverse_x_axis,\n",
306
- " )"
+ " ).to(self.volume)"
307
]
308
},
309
{
0 commit comments