Git Product home page Git Product logo

pyretroicor's Introduction

The project is nolonger maintained!

Updates

Python implementation of RETROICOR (Glover et al., 2000) - physiology regressors for fMRI preprocessing.

Dependencies

The required dependencies to use the software are:

  • Python >= 3.5
  • NumPy >= 1.18
  • Nibabel >= 2.5

Install

First make sure you have installed all the dependencies listed above. Then you can install pyretroicor by running the following command in a command prompt:

pip install -U --user pyretroicor

Reference

Glover, G. H., Li, T. Q., & Ress, D. (2000). Image‐based method for retrospective correction of physiological motion effects in fMRI: RETROICOR. Magnetic Resonance in Medicine: An Official Journal of the International Society for Magnetic Resonance in Medicine, 44(1), 162-167.

MATLAB implementation from: https://github.com/mkassinopoulos/PRF_estimation

Support

Please use GitHub issues for questions, bug reports or feature requests.

License

This project is licensed under BSD-3-Clause.

pyretroicor's People

Contributors

htwangtw avatar

Watchers

 avatar  avatar

pyretroicor's Issues

Slice timing correction

This library is only for creating regressors rather than the full preprocessing.
It might be a good idea to add slice-timing correction for the regressor output.
I don't really know how to structure the output.
Another part I will need help with is multiband acquisitions.

Things to do

To-do list in the order of priority:

  • r peak detection for cardiac data
  • Construct TR timing (based on BIDS)
  • Set-up file
  • Example data (possibly from NKI/LEMON?)
  • Tutorial
  • Write test
  • CI

n_vol value from wrong axis

Hi, I know this is probably a work in progress right now, but it looks the value "n_vol" is taken from the wrong axis. The time axis in nibabel is usually the last dimension, which means "n_vol = func.shape[0]" should be "n_vol = func.shape[-1]". Thanks for the package!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.