juliencarponcy / trialexp

MIT License
2 stars 4 forks source link

Task-specific and filter-based analysis #48

Closed teristam closed 1 year ago

teristam commented 1 year ago

This PR contains the following improvement and functionality

  1. Introduce a mechanism to enable task-specific analysis. The script for task-specific analysis should be placed under the scripts/task_specific folder, and named after the task name. They will be automatically executed for their respective tasks.
  2. Introduce more functions to filter a trial based on an event (e.g. extract only trials that have nothing else happening around a time window). It will be good for extracting isolated events (e.g. isolated spout touch).
  3. Change the photometry time bin to 10ms to prepare for future spike firing rate integration
  4. Enable copying of recording sessions that only have pycontrol data for more comprehensive analysis
  5. Introduce a new feature in the pycontrol.smk to only analyze certain tasks for faster processing.