Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display 3D trajectories, with a grid interface #193

Open
wants to merge 56 commits into
base: master
Choose a base branch
from

Conversation

chaithyagr
Copy link
Member

No description provided.

chaithyagr and others added 30 commits April 26, 2024 14:45
This add "get_interpolators_from_fieldmap", supporting both real (B0 map only) and complex (Zmap = R2* + 1j * B0map) fields
in arbitrary dimension (2D and 3D). The routine supports both numpy / cupy arrays and torch tensors on CPU and GPU,
the latter requiring cupy due to limitations in torch.histogram / torch.histogramdd (pytorch/pytorch#69519).

Calculation uses time segmentation with uniform time samples and LS coefficients (using histogram).

Based on MIRT (https://github.com/JeffFessler/mirt/blob/main/mri/mri_exp_approx.m)
and its Python porting from MIRTORCH (https://github.com/guanhuaw/MIRTorch/blob/master/mirtorch/linear/mri.py)
and SigPy (https://github.com/mikgroup/sigpy/blob/main/sigpy/mri/util.py).
Avoid torch cuda test case if cupy is not available.
remove deprecated get_grad

Co-authored-by: Chaithya G R <[email protected]>
@paquiteau
Copy link
Member

Please base yourself from master :)

@chaithyagr
Copy link
Member Author

Naa, ill wait for #180 to go in :P

@chaithyagr chaithyagr marked this pull request as ready for review September 17, 2024 13:30
@chaithyagr
Copy link
Member Author

I will get a CLI also :P

@paquiteau paquiteau linked an issue Sep 22, 2024 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add trajectory plotting functions from SPARKLING
3 participants