zaneveld / karenina

Simulation and modeling tools for studying Anna Karenina effects in animal microbiomes
2 stars 6 forks source link

Add an interpolation option to visualizer.py #56

Open zaneveld opened 6 years ago

zaneveld commented 6 years ago

To support PCoA files with few data points, we can add two things:

  1. A fixed duration for the movie as a user option. Then the dt between frames is just movie_length/n_timepoints.

  2. A second user option specify if you want linear interpolation done and the minimum space between timepoints (min_dt)