Skip to main content

Tools for modeling brain responses using (multivariate)temporal response functions.

Project description

Package Maintenance Documentation Status PyPI pyversions PyPI license PyPI version DOI

mTRFpy - multivariate linear modeling

This is an adaptation of the matlab mTRF-toolbox using only basic Python and Numpy. It aims to implement the same methods as the original toolbox and advance them. This documentation provides tutorial-like demonstrations of the core functionalities like model fitting, visualization and optimization as well as a comprehensive reference documentation.

Installation

You can get the stable release from PyPI:

    pip install mtrf 

Or get the latest version from this repo:

    pip install git+https://github.com/powerfulbean/mTRFpy.git

While mTRFpy only depends on numpy, matplotlib is an optional dependency used to visualize models. It can also be installed via pip:

    pip install matplotlib

We also provide an optional interface to MNE-Python so it might be useful to install mne as well.

Getting started

For a little tutorial on the core features of mTRFpy, have a look at our online documentation

Found a bug?

  1. Please use the issue search to check if the issue has already been reportet.
  2. Try to reproduce problem using the latest master branch.
  3. Create an issue with a minimal example that reproduces the problem.

Missing a feature?

Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible.

Want to contribute to the project?

Great! Please take a moment to read the contribution guidelines before you do.

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

mtrf-2.0.2.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

mtrf-2.0.2-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file mtrf-2.0.2.tar.gz.

File metadata

  • Download URL: mtrf-2.0.2.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for mtrf-2.0.2.tar.gz
Algorithm Hash digest
SHA256 589e4a15e0af56a801220d322d149e99f393369f2c073e87c7cace86b674d0b3
MD5 848aea60dbbb3505de58d8e14818aa17
BLAKE2b-256 18a0ec75a1d37f5e5c77f9e9a4e84912602ff4e61b5555ceb32cc342a16b7ad6

See more details on using hashes here.

File details

Details for the file mtrf-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: mtrf-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for mtrf-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89a1f2c34dc8e2a7646cf87dd4f176c3aac903361773dfe819a91a9f6e5e7e55
MD5 86dcbbf0aa7cba8c0c9ae999c4928ea5
BLAKE2b-256 525542d665038e547f27b04bc79cab97afa0ad1fa4f49678a11899ce7c50ae9b

See more details on using hashes here.

Supported by

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