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.4.tar.gz (99.3 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.4-py3-none-any.whl (118.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gemprf-0.1.4.tar.gz
  • Upload date:
  • Size: 99.3 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.4.tar.gz
Algorithm Hash digest
SHA256 f205c6d57f8e2b66194a8bbe75821d43d4705ed20b4993db0a7b4ee53f3153e4
MD5 920035e844bf0d7db7a010e10e83d9a8
BLAKE2b-256 b93be3ad92394c196c58794dc95fe033e7ed04e9212b2a400d16ec35adba9d52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gemprf-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 118.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8e329899ebdedf1f876bb090078a0c87266c467d832c8cd58c3075f4a9f3dac7
MD5 3cffbf5f4654232eee89d4405e0596bc
BLAKE2b-256 9517f53f544dd579401448816b0cf3e4ef5738e9e06d97f4bc40cb9eafbcc9b6

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