BUG: evaluate.VelDist number of bins default causes error #32
Labels
bug
Something isn't working
module: evaluate
release: patch
Issues that need to be addressed in a patch release
status: done
Done and ready to merge
Milestone
Description:
If the
VelDist
class of the evaluate module gets a trajectory with fewer than 100 particles, the number of bins is set to 0 by default. This causes an unexpected behavior of the distribution function.Code for reproduction:
Error message:
No response
Python and AMEP versions:
any python version, AMEP 1.0.2
Additional information:
Can be easily fixed by setting the default number of bins
nbins
to50
(analogous to the similar fix inevaluate.LDDist
)nbins=50
How did you install AMEP?
None
The text was updated successfully, but these errors were encountered: