Frame limiter for time series visualization
Opened this issue · 2 comments
Description
When one visualizes time series reconstruction, the displaying speed depends only on the computational abilities of the computer and the number of triangles to be drawn. That's why it would be really nice to have a field in the Mesh visualization tool, where one can set the time length each frame is displayed, this number will be essentially fed to the pause function.
Steps to execute
- add a new string field in the Mesh visualization tool with an appropriate description
2.1. Modify visualization functions in such a way that it takes this new field in as a parameter and adds pauses with this parameter as the input
2.2. or just give the value as input to the pause function, e.g., pause(str2num(zef.MeshToolPauseLength))
Expected behavior
- With a remote-controlled VNC connection, one could set the displaying speed so slow that it does not "jump over frames" due to VNC's slow FPS.
- One is able to inspect the activity on the brainstem and thalamus because the frames aren't updated 500 miles per hour.
Having done very little work with time series data using Zeffiro, I wonder what the relevant functions are? I could probably figure it out by looking at the callbacks of the tool that is used to do the time series wrangling, but is there a Time series tool in Zeffiro, or should I be looking at other tools for the functionality?
Edit: or does this mainly concern the Figure tool?
Having done very little work with time series data using Zeffiro, I wonder what the relevant functions are? I could probably figure it out by looking at the callbacks of the tool that is used to do the time series wrangling, but is there a Time series tool in Zeffiro, or should I be looking at other tools for the functionality?
Edit: or does this mainly concern the Figure tool?
The functions are the same as in the case of point (epoch) reconstruction: zef_plot_volume (zef_visualize_volume) and zef_plot_mesh (zef_visualize_surfaces). I am not sure, if those functions use the length of the reconstruction cell or inv_time_(1,2,3) as indicators for time serial reconstruction. zef_plot_volume seems to use inv_times for the time string and length of the cell, zef.frame_star, zef_frame_stop, and zef_frame_step (adjusted via Mesh visualization tool) to define the visualized reconstruction "frames". The visualization is inside a for-loop and the "frame index" is always denoted as f_ind.