Skip to main content

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.txt file

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

  1. Open a terminal (e.g. Anaconda Prompt).

  2. Activate the environment with the dependencies installed.

  3. Navigate to the GEM-pRF folder.

  4. Run:

    python run_gem.py PATH_TO_YOUR_XML_CONFIG_FILE
    

🔹 Option B: Run from IDE (e.g. VS Code)

  1. Open the downloaded GEM-pRF folder in VS Code.
  2. Edit the run_gem.py script to specify the path to your XML config file.
  3. Run the script directly from the IDE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gemprf-0.1.3.tar.gz (49.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gemprf-0.1.3-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

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

Hashes for gemprf-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5448c8064536e9a1275cc5ef36c78cbffe81ba3677e13a7010483ed9ae93ac31
MD5 7d302f78089f078008af54c567876c74
BLAKE2b-256 2a693f7d6ef39ea0b26833a90d4071fea1c584761c24657c0005f65e3063e033

See more details on using hashes here.

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

Hashes for gemprf-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b93e0c6ef52ceb00fabcfecb3ce1a4a8fac7c621e98798a566b35705a0743fda
MD5 f4495f5eab7c07d70d390368ac95a991
BLAKE2b-256 138fdaaab54b6d8767c310c41f7991eafc5ee0192aef5dddc9b5139342903132

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page