splinepy.utils.data.enforce_contiguous_values#

splinepy.utils.data.enforce_contiguous_values(dict_)[source]#

Returns a new dict where values are contiguous. If the value is an array, enforces contiguous elements for one recursive level. This also removes None values.

Parameters:

dict (dict)

Returns:

dict_with_contiguous

Return type:

dict