aleksandrbazhin / ellipsoid_fit_python

Find ellipsoid fit for arbitrary data with python/numpy, plot it or write to file.
MIT License
75 stars 20 forks source link

Value Error: #8

Closed robineappen closed 4 years ago

robineappen commented 4 years ago

Hi,

I found this code recently and wanted to fit an ellipsoid to a set of data point which I have. I got the following error while running the plot_ellipsoid.py code; python plot_ellipsoid.py Traceback (most recent call last): File "plot_ellipsoid.py", line 12, in center, radii, evecs, v = ellipsoid_fit(data2) ValueError: too many values to unpac

Also, this error occurred when I tried to run the code with the default values using the same textfile (mag_out.txt)

aleksandrbazhin commented 4 years ago

I confirm, will fix.

aleksandrbazhin commented 4 years ago

Fixed - I accepted pull request recently without proper testing. Also found that it breaks on matplotlib 3x - will fix also.

aleksandrbazhin commented 4 years ago

Described and fixed at #9

robineappen commented 4 years ago

Thank you. :)

On Sun, 19 Jul 2020 at 11:14, Aleksandr Bazhin notifications@github.com wrote:

Described and fixed at #9 https://github.com/aleksandrbazhin/ellipsoid_fit_python/issues/9

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aleksandrbazhin/ellipsoid_fit_python/issues/8#issuecomment-660614165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZF6R47DICQLKPUJFRWYUDR4K2N5ANCNFSM4PAD5OLA .

-- Regards Robin Eappen


PhD Student Astronomical Institute of Charles University V Holesovickach 2 180 00 Prague https://sirrah.troja.mff.cuni.cz/~eappen/