nipreps / fmriprep

fMRIPrep is a robust and easy-to-use pipeline for preprocessing of diverse fMRI data. The transparent workflow dispenses of manual intervention, thereby ensuring the reproducibility of the results.
https://fmriprep.org
Apache License 2.0
628 stars 290 forks source link

Add option to control t2smap fittype #3029

Closed tsalo closed 1 year ago

tsalo commented 1 year ago

What would you like to see added in fMRIPrep?

Users have reported memory issues with the nonlinear T2*/S0 fitting setting (e.g., #2935 and #2827), so it might be worthwhile to give them control over the setting. I don't think it merits a command-line parameter, but is it perhaps something that could be controlled via the config file?

Do you have any interest in helping implement the feature?

Yes

Additional information / screenshots

Alternatively, I could change the fittype from nonlinear to the less memory-intensive, but potentially less accurate, loglin option.

effigies commented 1 year ago

I think it would be okay to add a parameter. --me-t2s-fit-method or something. I'd rather it be accessible by CLI than make people start caring about config files.

tsalo commented 1 year ago

Sounds good. I can open a PR for that.