Skip to main content

Automated linear models for functional neuroimaging data

Project description

GLM-Express

This is a package for modeling functional neuroimaging tasks. As the name implies, it's optimized to be simple and straightforward! The task_information.json file stores all of the regressors and modeling specifications for each task; modifying this file allows you to test a range of analytical outcomes.

Included

This package comes equipped with the following modeling objects:

  • Subject is a first-level modeler for subject-specific functional neuroimaging data
  • GroupLevel is a second-level modeler that is optimized to aggregate contrast maps derived by the Subject object
  • Aggregator applies first-level models to all subjects in your BIDS project (not efficient for larger datasets)

In Development

  • RestingState object is currently in development, for analyses of subject-level resting state functional connectivity

Assumptions

We assume the following about your data:

  • Your data is in valid BIDS format
  • Your data has been preprocessed via fmriprep
  • Your preprocessed data are stored in a derivatives folder nested in your BIDS project
  • You have adequate events TSV files for all of your functional tasks
  • Any parametric modulators are stored within each event file
    • Otherwise, you can build custom design matrices and feed them into the modeling function

About task_information.json

Glossary of keys in the task_information file; manipulating these allow you to quickly and effectively customize your modeling parameters without editing any source code

  • tr: Repetition time (defined here, but can be overriden for any one subject)
  • excludes: Subjects in your project you need to exclude for a given task
  • condition_identifier: Column in your events file that denotes trial type; NOTE this will be changed to trial_type in the script
  • confound_regressors: Regressors to include from fmriprep output
  • modulators: Parametric modulators to weight trial type (these should be in your events file)
  • block_identifier: Column in your events file that denotes block type; defaults to null
  • design_contrasts: Your defined contrasts! Include as few or as many as you see fit

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

glm_express-1.0.2.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glm_express-1.0.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file glm_express-1.0.2.tar.gz.

File metadata

  • Download URL: glm_express-1.0.2.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.0

File hashes

Hashes for glm_express-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8c2df903a25b806f735aae50e869e4d331b85aa54a3aa32ee3ae8aa776d29057
MD5 a7ba38edfdaf51f70c9c77362192ecbc
BLAKE2b-256 c7d3a1aaae355876c202f14a5ed8c0ffaed9fd75e671bbc49e8eda3fc2ef5928

See more details on using hashes here.

File details

Details for the file glm_express-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: glm_express-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.0

File hashes

Hashes for glm_express-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 200a519fd57ec3d25e71e49d2b759c9bbaadfca9edb04c4cd71bc0a41cd90487
MD5 a252563efe38e40490d10bb195622da4
BLAKE2b-256 143fa4a813c8c78b6a4af0a60e782ba494b7958ea95fef6235d751b48bd57bcf

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