A Python library for population receptive field (pRF) analysis
Project description
Welcome to GEM-pRF - a standalone, plug-and-play software for population receptive field (pRF) mapping, designed for large-scale data analysis with high accuracy.
To understand the theoretical foundations and details of how the software works, please refer to our paper: 👉Mittal et al (2025), GEM-pRF: GPU-Empowered Mapping of Population Receptive Fields for Large-Scale fMRI Analysis
Documentation
An official documentation is coming soon (GEM-pRF documentation link)! Meanwhile, to get the mathematical foundation of the software, you may refer to the GEM-pRF paper.
Installation
GEM-pRF requires the GPU access for the data processing. At the moment, GEM uses CUDA libraries to acess/process data on NVIDIA GPUs.
[!WARNING]
Please check your system has compatible NVIDIA GPU available.
Step-by-Step Guide
Step 1. Install dependencies
- Create or activate your preferred Python/Conda environment.
- Install all required dependencies listed in
requirements.txt:
pip install -r requirements.txt
Step 2. Download GEM-pRF code
- Clone the repository:
git clone https://github.com/siddmittal/GEMpRF.git
cd GEMpRF
Running GEM-pRF
[!CAUTION] Before proceeding, make sure to install the required python dependencies as specified in the
requirements.txtfile
GEM-pRF is written as a standalone software. It comes with an XML configuration file. Once you configure your XML file (see sample config), you can directly run the software.
🔹 Option A: Run from terminal
-
Open a terminal (e.g. Anaconda Prompt).
-
Activate the environment with the dependencies installed.
-
Navigate to the GEM-pRF folder.
-
Run:
python run_gem.py PATH_TO_YOUR_XML_CONFIG_FILE
🔹 Option B: Run from IDE (e.g. VS Code)
- Open the downloaded GEM-pRF folder in VS Code.
- Edit the
run_gem.pyscript to specify the path to your XML config file. - Run the script directly from the IDE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gemprf-0.1.3.tar.gz.
File metadata
- Download URL: gemprf-0.1.3.tar.gz
- Upload date:
- Size: 49.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5448c8064536e9a1275cc5ef36c78cbffe81ba3677e13a7010483ed9ae93ac31
|
|
| MD5 |
7d302f78089f078008af54c567876c74
|
|
| BLAKE2b-256 |
2a693f7d6ef39ea0b26833a90d4071fea1c584761c24657c0005f65e3063e033
|
File details
Details for the file gemprf-0.1.3-py3-none-any.whl.
File metadata
- Download URL: gemprf-0.1.3-py3-none-any.whl
- Upload date:
- Size: 56.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b93e0c6ef52ceb00fabcfecb3ce1a4a8fac7c621e98798a566b35705a0743fda
|
|
| MD5 |
f4495f5eab7c07d70d390368ac95a991
|
|
| BLAKE2b-256 |
138fdaaab54b6d8767c310c41f7991eafc5ee0192aef5dddc9b5139342903132
|