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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mtrf-2.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 68266cf728f3e386d11259d386fed5d11d6d0886cd138aace4d4121385185d46
MD5 c72cea310bb0828d6912c5705023b344
BLAKE2b-256 21187d51016f0cff7ec655dd2427cfd2180398311dc0df4d8be610874b7954e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mtrf-2.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b0d82b2af98762fa4e4895c26edbe1466be90d81067865db6b431bdb1baef2c
MD5 53d68865dcaf4f590d3ffdd88560a621
BLAKE2b-256 7d20016ef4d40bbedd74c62b11217833d8fd896d3dae4adb01b0deac6cde6958

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