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

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-1.2.2.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

mtrf-1.2.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mtrf-1.2.2.tar.gz
Algorithm Hash digest
SHA256 5d0a45f2971903629441e4ade30d7c4c5ea2f7b0fe2c363731935db6ac49ae7f
MD5 91b110217165da31c4458c1eec39c15f
BLAKE2b-256 37481d91cddea3d6a92a460da488537b2e2396ff6f9cb580a666b3619e6d1d1a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mtrf-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 87a7f926718809ded16b9602335078d6144ccb8d45f6ee74df22fef363956c04
MD5 bbebcb22bab70723cf4a569e08f6ab18
BLAKE2b-256 7aac4100af093da38a6a30def096178e865e2e08f589740af8e763a6b8c3f4b1

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