This PR provides the initial implementation of a snakemake workflow for analysis of pycontrol and pyphotometry data. It assumes a session-based folder structure. Detailed usage can be be seen in the workflow/README.md file. May contain some bugfix in compute_success function. It currently can
Read pycontrol file and extract trial information based on the trigger definition in tasks_params.csv
Export spike2 file with state and event information automatically
Align pyphotometry data with pycontrol and save the output as xarray
Plot the event-aligned photometry data
While the change shouldn't affect the current pipeline, better not to merge before making sure it doesn't affect the current Experiment-object based pipeline
This PR provides the initial implementation of a snakemake workflow for analysis of pycontrol and pyphotometry data. It assumes a session-based folder structure. Detailed usage can be be seen in the
workflow/README.md
file. May contain some bugfix incompute_success
function. It currently cantasks_params.csv
While the change shouldn't affect the current pipeline, better not to merge before making sure it doesn't affect the current Experiment-object based pipeline