code: def loadExperimentData(folder, area):
    
    filename = os.path.join(folder, "Combo3_{}.mat".format(area))
    contents = sio.loadmat(filename, variable_names=['data'],
                           struct_as_record=False, squeeze_me=True)
    return contents['data']
docs: Loads the experiment's data from a MATLAB file into a python friendly structure.
  
    :param folder: Experiment data folder
    :param area: Experiament area to load. It should be 'V1' or 'AL'
    :return: The data as scipy matlab structure with the following fields:
  
        :Spiketrain.st: spike timing during stimulus (grating or naturalistic movie).
        :Spiketrain.st_gray: the spike timing during gray screen. The unit for
                             spike timing is sampling frame. And spike timing is
                             a 20X3 cell (corresponding to 20 repeats, and 3
                             stimulus (grating, and two naturalistic stimuli)).
                             The same for the spike timing of gray screen.
        :imgPara.stim_type: 3 type of stimulus, grating and two naturalistic stimuli.
        :imgPara.stim_time: the length of each stimulus is 32 sec.
        :imgPara.updatefr: the frame rate of stimulus on screen is 60 Hz.
        :imgPara.intertime: the time between two stimulus, or gray screen is 8 sec.
        :imgPara.dt: the sample rate, ~0.075
        :imgPara.F: number of sampling frames during stimulus is 32/0.075~=426
        :imgPara.F_gray: number of sampling frames during gray screen is 8/0.075~=106
        :ROI: the location of each neuron in the field.