RichardFav / spikeGUI

Electrophysiology Analysis GUI Repository
MIT License
0 stars 1 forks source link

how are the eye tracking mdata files created? #9

Closed Sepidak closed 4 years ago

Sepidak commented 4 years ago

Basically how can i get from the cdata and eye tracking files to the analysis?

RichardFav commented 4 years ago

This can be achieved with the following steps:

1) load the .cdata files that correspond to the eye-tracking data files (i.e., as you have eye-tracking data for "_CA514_Cday2" you will need to load "_CA514_Cday2.cdata") 2) once you load all .cdata files that match eye-tracking data files, select the menu item "File => Load General File/Directory => Load Directories". From here, select the parent directory that contains the eye-tracking data files (in your case, "\home\skeshav\code\Analysis\data_files\2_Input_Files\Z6 - Tracked Eye Data Files"). IMPORTANT - You will need to make sure that the eye-tracking data files have the format "[Expt Name][Trial Type].csv_" (i.e., "_CA514_C_day2black.csv") as the program looks specifically for this information. Note that you can have variants of trial type names (i.e., "black2") due to a split in the order in which the trials were run, but the base name must be consistent (i.e, "black", "black2", "black3" etc). 3) Once the eye-tracking data files have been loaded, you can save a multi-experiment data file (.mdata) using the menu item "File => Output Datasets => Multi-Experiment Data File". To keep things clean, you may want to save this file to the "Z3 - Multi Experiment Files" directory (this is located as a sub-folder within the default data file directory).

Note - You will need to alert me when you have an eye-tracking data file that has a variant name (i.e., "black2") as the code has not been set up yet to handle these types of files (I didn't have access to such a file when developing the analysis code).