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.1.tar.gz (98.5 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.1-py3-none-any.whl (117.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gemprf-0.1.1.tar.gz
  • Upload date:
  • Size: 98.5 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.1.tar.gz
Algorithm Hash digest
SHA256 1f4b47339f54dcbe677581b1e5ea7d99e1b421f90067cc521d11f27c9a6f5caa
MD5 46edd7be6a137adc61f5a325eab4bce3
BLAKE2b-256 3e938005188a8ee04863a14830a152c01427549b4729576c21a38854fe7ae7db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gemprf-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 117.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 216d54c2bdcb55824f5d6ace055ab28902889e805277f8589b75df12b9fc90c4
MD5 693ce3f58295f0d9f90eb3bfe73a33db
BLAKE2b-256 4fe194ec37f85e8c30971f4b698d014a3d527a2ce5f387c014faa40f3a1e3e7d

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