Menu

Python Sparse data Analysis Package external MRI plugin.

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.

mri.operators.fourier.utils.convert_mask_to_locations(mask)[source]ΒΆ

Return the converted Cartesian mask as sampling locations.

Parameters

mask : np.ndarray, {0,1}

ND matrix, not necessarly a square matrix.

Returns

samples_locations : np.ndarray

samples location between [-0.5, 0.5[ of shape MxN where M is the number of 1 values in the mask.

Follow us

© 2019, Antoine Grigis Samuel Farrens Jean-Luc Starck Philippe Ciuciu