User Tools

Site Tools


ephys_pipeline:2_synchronization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ephys_pipeline:2_synchronization [2022/03/17 14:06] – created lukas.schneiderephys_pipeline:2_synchronization [2022/12/29 07:15] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * TDT data is stored as a continuous data (starting from start of recording)    * TDT data is stored as a continuous data (starting from start of recording) 
   * behavioral data is stored per trial (starting from first trial)   * behavioral data is stored per trial (starting from first trial)
-Synchronization is enabled by sending state and trial information from monkeypsych to TDT ([[ephys_pipeline:6_synchronization#Synchronization during recording|Online communication]]). +Synchronization is enabled by sending state and trial information from monkeypsych to TDT ([[ephys_pipeline:2_synchronization#Synchronization during recording|Online communication]]). 
-Both state and trial information is sent through the same 8 pins, a little trick allows using the same channel for both purposes ([[ephys_pipeline:6_synchronization#Resulting 8 pin state signal|State signal]] ).+Both state and trial information is sent through the same 8 pins, a little trick allows using the same channel for both purposes ([[ephys_pipeline:2_synchronization#Resulting 8 pin state signal|State signal]] ).
 For combining both, we first convert TDT data to trial format (function TDT_trial_struct.m) preferentially using epocs store (Tnum and SVal) information.  For combining both, we first convert TDT data to trial format (function TDT_trial_struct.m) preferentially using epocs store (Tnum and SVal) information. 
-There is a flag in TDT_trial_struct for using the continous state information stream (stream_state_info), but it is permanently turned off, as the epoc information is already extracted from the continuous state information within the TDT circuit (see [[ephys_pipeline:6_synchronization#Internal TDT RCO|RCO]] ) +There is a flag in TDT_trial_struct for using the continous state information stream (stream_state_info), but it is permanently turned off, as the epoc information is already extracted from the continuous state information within the TDT circuit (see [[ephys_pipeline:2_synchronization#Internal TDT RCO|RCO]] ) 
-Finally, when fitting TDT data into a trial structure, certain timing conventions have proved useful: [[ephys_pipeline:6_synchronization#Snippet and Stream synchronization in the combined trial structure+Finally, when fitting TDT data into a trial structure, certain timing conventions have proved useful: [[ephys_pipeline:2_synchronization#Snippet and Stream synchronization in the combined trial structure
 |Trial structure timing]] |Trial structure timing]]
 ====== Synchronization during recording ====== ====== Synchronization during recording ======
ephys_pipeline/2_synchronization.1647525990.txt.gz · Last modified: 2022/12/29 07:15 (external edit)