This creates a transformer function that adds a smoothing description to BIDS filenames. This is a lightweight example - real implementations would perform actual image processing.
Value
A transformer function for use with bids_transform
.
Examples
# \donttest{
# Create a smoothing transformer
smooth_6mm <- create_smooth_transformer(6)
# Use with bids_transform (example)
# ds_path <- get_example_bids_dataset("ds001")
# proj <- bids_project(ds_path)
# new_files <- bids_transform(proj, smooth_6mm, "smoothed",
# subid = "01", suffix = "bold.nii.gz")
# }