pytheas.tools.utils

Shared utility functions used in pytheas.

pytheas.tools.utils.normalize(x)[source]

Normalize an array between 0 and 1

Parameters

x (array-like) – the quantity to be normalized

Returns

x_norm – normalized array

Return type

array-like