thouska / spotpy

A Statistical Parameter Optimization Tool
https://spotpy.readthedocs.io/en/latest/
MIT License
247 stars 149 forks source link

output of get_maxlikeindex and get_minlikeindex are different #317

Open lwq-star opened 4 months ago

lwq-star commented 4 months ago

I found that the output of the get_maxlikeindex and get_minlikeindex functions in .../spotpy/src/spotpy/analyser.py is different. One is an array, and the other is a 'numpy.float64' object. Can the two functions be printed as a 'numpy.float64' object in a future release?

lwq-star commented 4 months ago

Some drawing functions such as plot_bestmodelrun, plot_posterior ... only support maxlikeindex, can these problems be improved in future versions?