Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make data use for plotting functions more flexible #344

Open
BriVandrey opened this issue Nov 3, 2022 · 0 comments
Open

Make data use for plotting functions more flexible #344

BriVandrey opened this issue Nov 3, 2022 · 0 comments
Assignees
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

Comments

@BriVandrey
Copy link
Collaborator

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)

peristimulus_spikes_path = output_path + '/DataFrames/peristimulus_spikes.pkl'

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.

@BriVandrey BriVandrey added 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 labels Nov 3, 2022
@BriVandrey BriVandrey self-assigned this Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant