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.plotting.plot_hists(data, outdir, title=None)[source]

Plot hisograms with optional vertical bars.

Parameters:

data : dict

containes the data to display in ‘data’ and optionnaly the coordianate of the vertical line in ‘bar_low’ and ‘bar_up’.

outdir : str

the destination folder.

title : str, default None

title of the histogram.

Returns:

snap : str

the generated snap.

Follow us

© 2025, brainprep developers