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.2.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.2-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

Details for the file gemprf-0.1.2.tar.gz.

File metadata

  • Download URL: gemprf-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b7ce875f4f6452f8604ddb33e58303c9093215a2e08a1fe38db11aa01519a6e5
MD5 1403a801e5804f0058f7424b253d4782
BLAKE2b-256 94af5d2ef7dd2add68e3d1bb13b741ebe2976c3789713bc833fca90034b2cc25

See more details on using hashes here.

File details

Details for the file gemprf-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gemprf-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8e4502ab15b2ad526594c4c00e8a2eff2cd9df4aaf7dd06b68f9ebbce29f493
MD5 af938d5007c0435c94c22a6974de8092
BLAKE2b-256 b52b613137960ac9487176cd7d1c67617980a336c5672adb782e883b580fef15

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