Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

brainprep.interfaces.utils.copyfiles

brainprep.interfaces.utils.copyfiles(source_image_files, destination_image_files, output_dir, dryrun=False)[source]

Copy input image files.

Parameters:
source_image_fileslist[File]

Path to the image to be copied.

destination_image_fileslist[File]

Path to the locations where images will be copied.

output_dirDirectory

Directory where the images are copied.

dryrunbool

If True, skip actual computation and file writing. Default False.