ephys_pipeline:2_synchronization
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ephys_pipeline:2_synchronization [2022/03/17 14:06] – created lukas.schneider | ephys_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: | + | Synchronization is enabled by sending state and trial information from monkeypsych to TDT ([[ephys_pipeline: |
- | 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: | + | 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: |
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), | + | There is a flag in TDT_trial_struct for using the continous state information stream (stream_state_info), |
- | Finally, when fitting TDT data into a trial structure, certain timing conventions have proved useful: [[ephys_pipeline: | + | Finally, when fitting TDT data into a trial structure, certain timing conventions have proved useful: [[ephys_pipeline: |
|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)