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 7230871 commit 8f66003Copy full SHA for 8f66003
src/snake/toolkit/reconstructors/pysap.py
@@ -188,7 +188,7 @@ class SequentialReconstructor(BaseReconstructor):
188
wavelet: str = "db4"
189
threshold: float | str = "sure"
190
nufft_backend: str = "gpunufft"
191
- density_compensation: str | bool = "pipe"
+ density_compensation: None | str | bool = "pipe"
192
restart_strategy: RestartStrategy = RestartStrategy.WARM
193
compute_backend: str = "cupy"
194
@@ -274,6 +274,7 @@ def reconstruct(self, data_loader: MRDLoader) -> np.ndarray:
274
smaps=smaps,
275
# smaps=xp.array(smaps) if smaps is not None else None,
276
density=density_compensation,
277
+ squeeze_dims=True,
278
**kwargs,
279
)
280
0 commit comments