splinepy.utils.data#

splinepy/utils/data.py.

Helps helpee to manage data. Some useful data structures.

Functions

cartesian_product(arrays[, reverse])

Fast Cartesian product.

enforce_contiguous(array[, dtype, asarray])

If input is an instance / subclass of np.ndarray, this will check if they are configuous.

enforce_contiguous_values(dict_)

Returns a new dict where values are contiguous.

make_matrix(values, supports, n_cols[, as_array])

Create a matrix from values and supports.

uniform_query(bounds, resolutions)

Creates uniform query within the given bounds and resolutions.

Classes

MultipatchData(helpee)

Data manager for multipatch

PhysicalSpaceArray

numpy array object that keeps mirroring inplace changes to the source.

SplineData(helpee)

Data manager for splines.

SplineDataAdaptor(data[, locations, ...])

Prepares data to be presentable on spline.