The Active Matter Evaluation Package (AMEP) - a Python library for the analysis of particle-based and continuum simulation data of soft and active matter systems
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.
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