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
Similar issue to #32.
If the class 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:
Similar issue to #32. If the class 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 to 50 (analogous to the similar fix in evaluate.LDDist)
How did you install AMEP?
None