No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michał Szczepanik c2f36f111e Make fieldmap correction happen, skip volumes in STC, adjust header
This makes the fieldmap-related part of the resample workflow actually happen,
by providing the fieldmap_id parameter when creating the workflow (in addition
to the fmap_id input which had already been populated). Fieldmap ref and coeff
inputs are given as one-element lists, because that's what the KeySelect node
used within the workflow needs...

The slice timing correction workflow gets a new input, skip_vols. Currently
it is set to 1, the number of detected non-steady state volumes, based on
looking at fmriprep output files. It will need to be read (most likely) from
the confounds tsv file produced by fmriprep (that's what fmripost-aroma does).

Finally, the header is adjusted -- no idea where these values came from.
Strangely, this was needed for ds001734, but not ds005479 (this commit still
contains hardcoded paths for ds001734, but I have tested uncommitted version
also on ds005479).

Crucially, this is able to reproduce exactly the output of fmriprep.
2024-10-24 18:55:05 +02:00
resample.py Make fieldmap correction happen, skip volumes in STC, adjust header 2024-10-24 18:55:05 +02:00