Ctrl K

prfmodel

A modern Python implementation for population receptive field modelling.

2
contributors
Get started
65 commitsLast commit ≈ 5 days ago0 stars0 forks

Description

github license badge build docs Checked with mypy Linting: Ruff

How to use prfmodel

A modern Python implementation for population receptive field model fitting.

Installation

To install the development version of prfmodel from GitHub, run:

git clone git@github.com:popylar-org/prfmodel.git
cd prfmodel
python -m pip install .

The package relies on Keras for multi-backend model fitting. To install prfmodel with the Tensorflow backend, run:

python -m pip install .[tensorflow]

To install the PyTorch backend, run:

python -m pip install .[torch]

To install the JAX backend, run:

python -m pip install .[jax]

Documentation

The online documentation is available at: https://popylar-org.github.io/prfmodel/.

The local documentation can be build as HTML files with:

# In prfmodel directory
cd docs/
make html

The documentation can then be opened in the browser from _build/html/index.html.

Development

The project setup for developers is documented in project_setup.md. To make an editable install with development dependencies, run:

python -m pip install -e .[dev]

The test suite can be run with:

python -m pytest

Credits

This package was created with Copier and the NLeSC/python-template.

Copyright

2025, Netherlands eScience Center, Vrije Universiteit Amsterdam, Netherlands Institute for Neuroscience

Keywords
Programming language
  • Python 100%
License
</>Source code

Participating organisations

Netherlands eScience Center
Royal Netherlands Academy of Arts and Sciences
Vrije Universiteit Amsterdam

Contributors

Malte Lüken
Malte Lüken
Lead Engineer
Netherlands eScience Center
Flavio Hafner
Flavio Hafner
Research Software Engineer
Netherlands eScience Center

Related projects

Popylar

Popularizing Population Receptive Field Modeling in Neuroimaging

Updated 9 months ago
In progress