Menu

Package that provides tools for brain Lithium MRI 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.

limri.workflows.maskeyes.get_last_mode(data, bins=300, snapdir=None)[source]ΒΆ

Grabs the last peak or shoulder.

Parameters

data : array

the values of the histogram. See density and weights for a

bins : int, default 300

the number of bins in the histogram.

snapdir : str, default None

a folder where QC images will be generated.

Returns

last_mode : int

the last mode in the histogram.

Follow us

© 2024, Limri developers