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 dataGroupLevel
is a second-level modeler that is optimized to aggregate contrast maps derived by theSubject
objectAggregator
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 yourBIDS
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 taskcondition_identifier
: Column in your events file that denotes trial type; NOTE this will be changed totrial_type
in the scriptconfound_regressors
: Regressors to include fromfmriprep
outputmodulators
: 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 tonull
design_contrasts
: Your defined contrasts! Include as few or as many as you see fit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for glm_express-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 671dacce57fde9126792cb30dd1e3a3bef477b2c2ec6d27ec50b9f60567e3588 |
|
MD5 | 46e27999f482d91901f1872b77b0fb2f |
|
BLAKE2b-256 | abdef644d2d63e97c4d5ee8e3f41a0f9eacf61953709b84b061744035d9c26f7 |