febid.diffusion.prepare_surface_index#

prepare_surface_index(surface)[source]#

Get a multiindex from the surface array

Parameters:

surface (ndarray) – boolean array defining surface cells position in space

Returns:

tuple of 1d ndarrays