Skip to main content

Physiological Log Extraction for Modelling in Neuroimaging

Project description

# niphlem

niphlem stands for Physiological Log Extraction for Modeling in Neuroimaging and is the cool (i.e. python) brother of PhLEM (https://sites.google.com/site/phlemtoolbox/) which was originary written in Matlab.

This toolbox extracts physiological recordings during MRI scanning and estimates the signal phases so that they can be used as a covariate in your general linear model (GLM) with fMRI data.

niphlem can generate multiple models of physiological noise to include as regressors in your GLM model from either ECG, pneumatic breathing belt or pulse-oximetry data. These are described in Verstynen and Deshpande (2011).

Briefly, niphlem implements three types of models:

  • RETROICOR: A phasic decomposition method that isolates the fourier series that best describes the spectral properties of the input signal. This was first described by Glover and colleagues.

  • Variation Models: For low frequency signals (like the pneumatic belt and low-pass filtered pulse-oximetry) this does the combined respiration variance and response function described by Birn and colleagues (2008). For high frequency signals (i.e., ECG or high-pass filtered pulse-oximetry), this generates the heart-rate variance and cardiac response function described by Chang and colleagues (2009).

  • Downsampled Model: Performs a simple filtering and downsampling of a raw signal as was done for the pulse-oximetry signal in Verstynen and Deshpande (2011).

## Dependencies

## Install

`pip install niphlem`

## References:

  • Verstynen TD. Physiological Log Extraction for Modeling (PhLEM) Toolbox. https://sites.google.com/site/phlemtoolbox/

  • Verstynen TD, Deshpande V. Using pulse oximetry to account for high and low frequency physiological artifacts in the BOLD signal. Neuroimage. 2011 Apr 15;55(4):1633-44.

  • Chang C, Cunningham JP, Glover GH. Influence of heart rate on the BOLD signal: the cardiac response function. Neuroimage. 2009 Feb 1;44(3):857-69.

  • Birn RM, Smith MA, Jones TB, Bandettini PA. The respiration response function: the temporal dynamics of fMRI signal fluctuations related to changes in respiration. Neuroimage. 2008;40(2):644-654.

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

niphlem-0.0.1b1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

niphlem-0.0.1b1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file niphlem-0.0.1b1.tar.gz.

File metadata

  • Download URL: niphlem-0.0.1b1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for niphlem-0.0.1b1.tar.gz
Algorithm Hash digest
SHA256 8ba09e582d380a52309af7f1d1563a7be6537d1b68dfe8d473fda39c67e24ae2
MD5 9f2b64cb24a1f907bb6146f66fe8df03
BLAKE2b-256 4628ec4891ecaa4e3e12b8e92de1848ee03a7fa4de368b83b19bbeb86e298a2d

See more details on using hashes here.

File details

Details for the file niphlem-0.0.1b1-py3-none-any.whl.

File metadata

  • Download URL: niphlem-0.0.1b1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for niphlem-0.0.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba154a2c3ff7ec69438ae108d7ca9c8fc8ce7bf3fb80c9d4ec600174880d3cf6
MD5 170f13c3c9c32143969290e44701606d
BLAKE2b-256 17236e691d121d8f933516d60462a113df1890a9ce69d99663d49fb49178ed8a

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