Skip to content

Fix grid size #9

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

CyprienBouton
Copy link

@CyprienBouton CyprienBouton commented Jun 10, 2025

Change apply_grappa_kernel in src/ggrappa/application.py to return a kspace of the same size and fix issues related to kspace shape:

  • line 80-82 uncomment to have the same grid size
  • line 87 and 88 y_ival=range(shift_y, rec.shape[1], tbly*batch_size) when sbly=1 and z_ival = np.arange(0, rec.shape[2], sblz) when sblz=1
  • line 98 fix zival to have values within z_ival

@mbertrait
Copy link
Collaborator

LGTM 👍

@mbertrait mbertrait closed this Jun 25, 2025
@mbertrait mbertrait reopened this Jun 25, 2025
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.

2 participants