![](https://private-user-images.githubusercontent.com/31846522/382791482-4153e441-03d2-4f6c-9f9f-f338dc07b62b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTAwMzgsIm5iZiI6MTczOTEwOTczOCwicGF0aCI6Ii8zMTg0NjUyMi8zODI3OTE0ODItNDE1M2U0NDEtMDNkMi00ZjZjLTlmOWYtZjMzOGRjMDdiNjJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE0MDIxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVjMjY1OTZhOGM3NTkyMDFiMzkwOWI4NDVmZjQxODNjZDFhNDVjMTQxYmEyMDA0YTJhMWYxYTUzZWM5MWJhYmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ob3SrBzyQnDxFZzt_S-rQOGxMiKAZ5M5v3GSsXJaBBY)
gGRAPPA is a Python package allowing GRAPPA reconstruction of k-space data, with batching capabilities allowing huge files to be reconstructed on GPU.
- GRAPPA Reconstruction: Efficiently reconstructs MRI images using the GRAPPA algorithm, which improves imaging speed while maintaining quality.
- GPU Acceleration: Utilizes CUDA for GPU acceleration to speed up computation, with various CUDA modes to balance performance and memory usage.
- Batch Processing: Processes reconstruction as batched windows to allow GPU acceleration for large data.
- Flexible Kernel Size: Supports customizable GRAPPA kernel sizes to suit various needs.
- Precomputed Kernels: Allows the use of precomputed GRAPPA kernels for faster reconstruction, or computes them on-the-fly if not provided.
- Generalized GRAPPA: CAIPIRINHA support (still WIP)
- Masking: Allow use of a binary mask to focus reconstruction on specific regions of interest.
To install this package, follow these steps:
-
Clone the Repository
First, clone the repository:
git clone [email protected]:mbertrait/ggrappa.git
-
Navigate to the Project Directory
cd ggrappa
-
Install the Package
Install the package and its dependencies using pip:
pip install .