Menu

Package that provides tools for brain MRI Deep Learning pre-processing.

Note

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

brainprep.utils.ungzip_file(zfile, prefix='u', outdir=None)[source]

Copy and ungzip the input file.

Parameters:

zfile : str

input file to ungzip.

prefix : str, default ‘u’

the prefix of the result file.

outdir : str, default None)

the output directory where ungzip file is saved. If not set use the input image directory.

Returns:

unzfile : str

the ungzip file.

Follow us

© 2025, brainprep developers