amepproject / amep

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
https://amepproject.de/
GNU General Public License v3.0
12 stars 2 forks source link

BUG: fixed fps in plot.animate_trajectory #26

Closed hechtprojects closed 6 months ago

hechtprojects commented 6 months ago

Description:

When using amep.plot.animate_trajectory, the output video has a relatively low fps. For the user, it is not possible to change the fps value.

Code for reproduction:

import amep

traj = amep.load.traj('.')

amep.plot.animate_traj(traj, './video.mp4')

Error message:

No response

Python and AMEP versions:

python 3.10 amep 1.0.1

Additional information:

A new keyword fps=10 should be added to amep.plot.animate_trajectory. It should also be forwarded in traj.animate.

How did you install AMEP?

from source

hechtprojects commented 6 months ago

This bug is fixed. The fix will be part of patch release v1.0.2.