I am trying to replicate the output of this fsl command line code:
bet2 <example_func.nii.gz> -f 0.3 -n -m
But nipype fsl-interface can only call bet:
from nipype.interfaces import fsl
bet = fsl.BET(mask=True, no_output=True, frac=0.3,)
bet.inputs.in_file = <example_func.nii.gz>
which generate command line: bet <mean_image.nii> -f 0.3 -n -m
According to this FSLArchive post, bet is essentially the same as bet2. However, they are not. The mask output by these 2 are a little bit different.