Skip to content

BF: Fix bug in `zstattofuncratio` feature calculation

Paul McCarthy requested to merge bf/feature into main

The zstattofuncratio feature could occasionally be negative, due to negative values in func_mean (which could occur, for example, as a result of resampling or smoothing). Changing the fslmaths operation order eliminates the possibility of negative values in the output. Reported and fixed by Takuya Hayashi.

Merge request reports

Loading