Skip to content

WIP Add resting-state HRF mediated Bold response using input from text file

Marmaduke Woodman requested to merge github/fork/AmoghJohri/add-rsHRF-input into master

Created by: AmoghJohri

This supplements the existing workflow for BOLD simulation. Instead of computing an identical HRF for all the regions, we use region-wise HRF (obtained by deconvolving the emperical region-wise BOLD Time-Series) for simulations (https://www.nitrc.org/projects/rshrf, https://github.com/BIDS-Apps/rsHRF). The rsHRF is provided as input from a file.

Additions:

  1. rsHRF_file attribute which takes the path of the input file.
  2. _from_file variable (binary: {0, 1}) which signifies whether HRF is computed or taken as input.
  3. get_hrf function hich obtains the input from the text-file.
  4. changes in compute_hrf to upsample the input HRF for convolution.
  5. changes in sample to perform region-wise convolution.

This does not make any alterations to the existing workflow for BOLD simulation. In case of no input-file being provided, the default workflow is adopted.

Merge request reports