Menu

Module providing common Brain MRI Augmentation Methods for PyTorch.

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.

brainrise.utils.interval(obj, lower=None)[source]ΒΆ

Listify an object.

Parameters

obj : 2-uplet or number

the object used to build the interval.

lower : number, default None

the lower bound of the interval. If not specified, a symetric interval is generated.

Returns

interval : 2-uplet

an interval.

Follow us

© 2023, brainrise developers