Output Files: Save what happened - bgur123/PyStim GitHub Wiki

After each experiment 3 output files will be generated automatically. One is for further analysis in python (.pickle), another on is for MATLAB (.mat) and the last one is just a .txt file to use flexibly in downstream analyses.

Output files provide information about your stimulus and also have the imaging (T-series) frame information from the imaging computer so that you can align your stimulus and imaging. This information is sampled throughout the experiment in different rows with a sampling rate of ideally matching the monitor refresh rate. Column names provide information about the parameter sampled. An example is:

<style> </style>
sample_num sample_time sampling_interval imaging_frame frame_time stimulus_epoch stim_frame epoch_time stim_info1 stim_info2 stim_info3
1 0.056 0.056 1 0.056 1.0 1 0.012 0 0 0
2 0.072 0.016 1 0.072 1.0 2 0.027 0 0 0
3 0.088 0.016 1 0.088 1.0 3 0.044 0 0 0
4 0.105 0.017 1 0.105 1.0 4 0.061 0 0 0
5 0.122 0.017 1 0.122 1.0 5 0.077 0 0 0
6 0.139 0.017 1 0.139 1.0 6 0.094 0 0 0
7 0.155 0.017 2 0.155 1.0 7 0.111 0 0 0
8 0.172 0.017 2 0.172 1.0 8 0.127 0 0 0
9 0.189 0.017 2 0.189 1.0 9 0.144 0 0 0
10 0.205 0.017 2 0.205 1.0 10 0.161 0 0 0
11 0.222 0.017 2 0.222 1.0 11 0.177 0 0 0
12 0.239 0.017 2 0.239 1.0 12 0.194 0 0 0
13 0.291 0.052 3 0.291 1.0 13 0.246 0 0 0
14 0.305 0.014 3 0.305 1.0 14 0.26 0 0 0
15 0.322 0.017 3 0.322 1.0 15 0.278 0 0 0

The last three columns are for flexibility and optional meaning that only some stimuli will be having values there and they'll be depicting different parameters. While coding the stimuli you can define if you want an output in these three columns.

⚠️ **GitHub.com Fallback** ⚠️