Dark-rearing, Normalization, and Surround Suppression
Analyzing data from a completed individual experiment
The directories are being accumulated in Data3/marjenap
All spikes should be sorted and imported into the experiment, and added to the database. Importantly, ALL cells should be added to the database from their sheets with all successfully completed measurement epochs (tXXXXX) "checked" on the sheet (epochs not checked will not be analyzed further).
Next, the following files need to be prepared that describe which data is in which directory. These files go in the experiment directory directly (that is, in the YYYY-MM-DD directory, not in any tXXXXX directory).
associate_variables.txt: Should contain the following lines:
type<tab>owner<tab>data<tab>desc<newline>
Rearing<tab>Marjena<tab>{Dark, Typical}<tab>Rearing procedures employed<newline>
Training type<tab>Marjena<tab>{Multidirectional, None}<tab>Training employed<newline>
After this, you can run the command: analyzenormsurrstims(THEDIR, 1, 1, 0, 1); (where THEDIR is your directory). This will run for awhile.
Analyzing data over several experiments
The routine mp_donormsurranalysis will extract a variety of relevant info from the databases of all of the experiments. The file can be edited to include more experiments. It returns cellinfo as follows:
cellinfo = mp_donormsurranalysis;
This data can then be plotted by the function
mp_plotcellinfo(cellinfo)
which divides the data into rearing types and training types and plots them accordingly.
cellinfo.ori_info
2016-03-18
I added fields 'surrori_info' and 'sf_info' and 'tf_info'
The surround tuning information could be plotted like the orientation info in mp_plotoridirtuning.m (a similar .m file could be constructed)