Giter Club home page Giter Club logo

forwardmodel's Introduction

forwardModel

Framework for non-linear fitting of parameterized models to fMRI time-series data.

The fMRI data are passed as a voxel x time matrix; the stimulus is specified in a matrix with the temporal domain as the last dimension. Data and stimuli from multiple acquisitions may be passed in as a cell array of matrices. The stimulus may have a different temporal resolution than the data, in which case the key-value stimTime defines the mapping between stimulus and data. All voxels in the data are processed unless a subset are specified in the key-value vxs.

The key-value modelClass determines the model to be fit to the data. Each model is implemented as an object oriented class within the models directory. The behavior of the model may be controlled by passing modelOpts, and by passing additional materials in the modelPayload.

Multiple, cascading stages of non-linear fitting are supported with the ability to define sets of parameters that are fixed or float in a given search, with the results of a search passing to initialize the next stage.

This framework uses several utility functions from Kendrick Kay's analyzePRF toolbox:

https://github.com/kendrickkay/analyzePRF

The pRF modelClass draws from Kendricks' code in the approach to creating seeds, and the inclusion of a compressive non-linearity in the modeled neural response, which is taken from:

Kay KN, Winawer J, Mezer A and Wandell BA (2013) Compressive spatial summation in human visual cortex. J. Neurophys. doi: 10.1152/jn.00105.2013

The pRF modelClass implemented here differs from Kendrick's original code in a few ways:

  • The HRF is with FLOBS parameters
  • For retinotopic mapping designs that play the same stimulus forward and reverse in time, the model will estimate a shift of the HRF time-to-peak to best fit the data.
  • Upper and lower bounds are enforced with an fmincon search.

forwardmodel's People

Contributors

gkaguirre avatar lingqiz avatar

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.