pysindy.utils.validate_no_reshape

pysindy.utils.validate_no_reshape(x, t: float | ~numpy.ndarray | object = <object object>)[source]

Check types and numerical sensibility of arguments.

Parameters:
  • x – array of input data (measured coordinates across time)

  • t – time values for measurements.

Returns:

x as 2D array, with time dimension on first axis and coordinate index on second axis.