Skip to content

Numpy: Problems to interpret since 1.26.x #26

@abuech2s

Description

@abuech2s

Using WSL and the automatically installed library Numpy 1.26.4 the following script https://github.com/balzer82/Kalman/blob/master/Kalman-Filter-CV.ipynb has several problems to run:

  • Method savestates will yield into the error: /tmp/ipykernel_9042/304566162.py:21: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) xt.append(float(x[0]))
  • Method plot_x() will yield into the error ValueError: x and y can be no greater than 2D, but have shapes (200,) and (200, 1, 1)

Is there a chance to adapt the current code to a runnable version?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions