Make data use for plotting functions more flexible #344
Labels
feature request
Enhancement or feature request
figures
Related to plotting and figures
postprocessing
Related to postproessing
priority-low
Backlog. Work on this if you have time
Many of the plotting functions rely on reading in dataframes that are assumed to be saved previously in the pipeline:
For example (from PostSorting.make_opto_plots.make_optogenetics_plots)
It would be good if these were more flexible, for example first checking to see if the data exists, and if not, then remaking it or reloading it without saving it. This would be particularly useful in the case of session types like openfield_opto where opto dataframes can be too large to save depending on the RAM of the machine that is being use for analysis. I suggest introducing this feature to the main plotting scripts.
The text was updated successfully, but these errors were encountered: