hippomaps.utils.density_interpο
- hippomaps.utils.density_interp(indensity, outdensity, cdata, label, method='linear', unfoldiso_is_v2=False, return_faces=False)ο
Interpolates data from one surface density onto another via unfolded space, handling the v1 vs v2 space-unfold XY convention change.
- Parameters:
indensity (str) β One of {β0p5mmβ,β1mmβ,β2mmβ,β18kβ,β8kβ,β2kβ,βunfoldisoβ}.
outdensity (str) β One of {β0p5mmβ,β1mmβ,β2mmβ,β18kβ,β8kβ,β2kβ,βunfoldisoβ}.
cdata (array-like, shape (N,)) β Data on the indensity surface (N vertices).
label ({'hipp','dentate'}) β
method ({'nearest','linear','cubic'}) β
unfoldiso_is_v2 (bool) β If True, treat βunfoldisoβ as having the new v2 unfold XY convention. (Default False: treat unfoldiso like v1.)