mriener / gausspyplus

Fully automated Gaussian decomposition package for emission line spectra
47 stars 14 forks source link

Potential problems with scipy v1.5.0 #2

Open mriener opened 4 years ago

mriener commented 4 years ago

It seems that upgrading to newer versions of scipy (>= v1.5.0) may cause an error as discussed here.

The workaround for now is to downgrade scipy to a previous version (v1.4.1 is tested and known to work).

lpagani91 commented 3 years ago

I ran the demo programs (Tutorial_example-GRS.ipynb and Tutorial_decompose_single_spectrum.ipynb) with scipy v1.6.0 under python v3.8.7 without any problem.

StellarXu commented 3 years ago

I met this problem just yesterday. When using Scipy v1.5.4/ Python 3.6, Optimize raises "ValueError: x0 violates bound constraints" in Tutorial_example step 1. After I changed to v1.4.1 , no Error appeared.

Emmm, if I read this issue earlier, I won't get trouble with this hhhh.

lpagani91 commented 3 years ago

Hi Chen,

It works with a more recent configuration for me : Python 3.8.7, scipy 1.6.0, numpy 1.19.5, and lmfit 1.0.1

Le 6 avr. 2021 à 04:31, Xu Chen @.***> a écrit :

I met this problem just yesterday. When using Scipy v1.5.4/ Python 3.6, Optimize raises "ValueError: x0 violates bound constraints" in Tutorial_example step 1. After I changed to v1.4.1 , no Error appeared.

Emmm, if I read this issue earlier, I won't get trouble with this hhhh.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mriener/gausspyplus/issues/2#issuecomment-813777697, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJVTNFUAV4EHCSMEY52RYTTHJW6PANCNFSM4RQCN6CA.

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)