# name of 4D file with images --imain=/cubric/collab/314_wand/bids/derivatives/eddy_qc/preprocessed/sub-00395/sub-00395_b0_merged.nii.gz # name of text file with PE directions/times --datain=/home/sapcm15/gitlab/WAND_microstructural/QualityControl/eddy_qc/acqpar.txt # base-name of output files (spline coefficients (Hz) and movement parameters) --out=/cubric/collab/314_wand/bids/derivatives/eddy_qc/preprocessed/sub-00395/sub-00395_topup # name of image file with field (Hz) --fout=/cubric/collab/314_wand/bids/derivatives/eddy_qc/preprocessed/sub-00395/sub-00395_fieldmap # (approximate) resolution (in mm) of warp basis for the different sub-sampling levels, default 10 --warpres=20,16,14,12,10,6,4,4,4 # sub-sampling scheme, default 1 --subsamp=1,1,1,1,1,1,1,1,1 # FWHM (in mm) of gaussian smoothing kernel, default 8 --fwhm=8,6,4,3,3,2,1,0,0 # Max # of non-linear iterations, default 5 --miter=5,5,5,5,5,10,10,20,20 # Weight of regularisation, default depending on --ssqlambda and --regmod switches. See user documetation. --lambda=0.005,0.001,0.0001,1.5e-05,5e-06,5e-07,5e-08,5e-10,1e-11 # If set (=1), lambda is weighted by current ssq, default 1 --ssqlambda=1 # Estimate movements if set, default 1 (true) --estmov=1,1,1,1,1,0,0,0,0 # Minimisation method 0=Levenberg-Marquardt, 1=Scaled Conjugate Gradient, default 0 (LM) --minmet=0,0,0,0,0,1,1,1,1 # Model for regularisation of warp-field [membrane_energy bending_energy], default bending_energy --regmod=bending_energy # Order of spline, 2->Qadratic spline, 3->Cubic spline. Default=3 --splineorder=3 # Precision for representing Hessian, double or float. Default double --numprec=double # Image interpolation model, linear or spline. Default spline --interp=spline # If set (=1), the images are individually scaled to a common mean, default 0 (false) --scale=1 # If set (=1), the calculations are done in a different grid, default 1 (true) --regrid=1