BRAINANA
Configuration
General
BIDS filtering
Template
Anatomical
Functional
Registration
Generation
Generate config
Configuration Generator
general
verbose
0
1
2
(logging level: 0=ERROR, 1=INFO, 2=DEBUG)
anat_only
(process anatomical data only; skip functional)
gpu_device
(GPU device for skull stripping, segmentation, registration: "auto", -1 for CPU, or index 0..N)
bids_filtering
subjects
(comma-separated list; leave empty for all)
sessions
(comma-separated list; leave empty for all)
tasks
(comma-separated list; leave empty for all)
runs
(comma-separated list; leave empty for all)
template
output_space
NMT2Sym:res-05
NMT2Sym:res-025
NMT2Sym:res-1
NMT2Asym:res-05
MEBRAINS:res-05
MEBRAINS:res-04
D99:res-05
D99:res-025
T1w
(output space: T1w or TEMPLATE_NAME[:DESCRIPTION])
anat
synthesis_level
subject
session
(T1w/T2w synthesis when multiple images exist: "subject" = cross-session, "session" = within-session)
conform
(HIGHLY RECOMMENDED: conform input to template space via FLIRT rigid registration)
skullstripping_segmentation
(HIGHLY RECOMMENDED: brain extraction and segmentation)
advanced settings
method
fastSurferCNN
fastSurferCNN
batch_size
(inference batch size, ≥1)
plane_weight_coronal
(coronal plane weight, 0–1)
plane_weight_axial
(axial plane weight, 0–1)
plane_weight_sagittal
(sagittal plane weight, 0–1)
fix_V1_WM
(fix thin V1 white matter by registering template V1 WM to subject space)
bias_correction
(apply N4 bias field correction)
advanced settings
algorithm
N4BiasFieldCorrection
(algorithm; currently only N4BiasFieldCorrection)
shrink_factor
(shrink factor for speed, >0)
bspline_fitting
(N4 B-spline mesh resolution, integer)
rescale_mean_to_100
(rescale mean intensity to 100)
surface_reconstruction
(run surface reconstruction)
advanced settings
use_t1wt2wcombined
(use T1w and T2w combined (enhanced T1w) image if available)
func
coreg_runs_within_session
(coregister all runs within each session before other steps)
conform
(HIGHLY RECOMMENDED: conform functional image to target space via FLIRT rigid registration)
slice_timing_correction
(apply slice timing correction)
advanced settings
repetition_time
(repetition time in seconds; leave empty to use metadata)
slice_timing
(slice acquisition times in seconds; leave empty to use metadata)
tzero
(reference time in seconds; leave empty to compute from metadata)
slice_time_ref
(reference slice position, 0–1; 0.5 = middle slice)
slice_encoding_direction
auto-detect from metadata
x
-x
y
-y
z
-z
(slice encoding axis; leave empty to use metadata)
motion_correction
(apply motion correction / realignment)
advanced settings
dof
6
9
12
(degrees of freedom: 6, 9, or 12)
cost
mutualinfo
woods
corratio
normcorr
normmi
leastsq
(registration cost function)
smooth
(smoothing factor)
ref_vol
(reference volume: index, "Tmean", or "mid")
cost_tolerance
(cost convergence tolerance)
parameter_tolerance
(parameter convergence tolerance)
despike
(remove temporal outliers / despiking)
advanced settings
c1
(first cutoff, >0, must be < c2)
c2
(second cutoff, >0, must be > c1)
localedit
(use local editing)
ignore_first_volumes
(number of initial volumes to exclude, ≥0)
confounds
(fMRIPrep-style nuisance regressors; regressors only, the BOLD image is never modified. Motion-derived columns require motion_correction)
advanced settings
fd_outlier_threshold_mm
(framewise displacement above this flags a motion outlier; macaque-scaled)
std_dvars_outlier_threshold
(standardized DVARS above this flags a motion outlier)
bias_correction
(bias correction on mean functional image, for registration only)
advanced settings
algorithm
N4BiasFieldCorrection
(algorithm; currently only N4BiasFieldCorrection)
shrink_factor
(shrink factor for speed, >0)
bspline_fitting
(N4 B-spline mesh resolution, integer)
rescale_mean_to_100
(rescale mean intensity to 100)
skullstripping
(HIGHLY RECOMMENDED: brain extraction on functional data)
registration
anat2template_xfm_type
translation
rigid
affine
syn
(transform for anatomical to template)
func2anat_xfm_type
translation
rigid
affine
syn
(transform for functional to anatomical)
func2template_xfm_type
translation
rigid
affine
syn
(transform for functional to template)
interpolation
BSpline
CosineWindowedSinc
GenericLabel
Gaussian
HammingWindowedSinc
LanczosWindowedSinc
Linear
MultiLabel
NearestNeighbor
WelchWindowedSinc
(resampling interpolation method)
enable_fireants
(attempt FireANTs for syn registration; fallback to ANTs if unavailable)
keep_func_resolution
(preserve native functional resolution when resampling)
Generate Preprocessing Configuration File
Generated Configuration YAML
Copy to Clipboard
Download Config File