Beauchamp:ECogAnalysisv2: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
# startTime: Start time of the recording. | # startTime: Start time of the recording. | ||
# sampleTime: Time between each sample point (1/Fs) in milliseconds. | # sampleTime: Time between each sample point (1/Fs) in milliseconds. | ||
# trialTimeCourse: | # trialTimeCourse: Time course of trial. e.g. -1:1/S.Fs:4 (A 5 second trial that consists of 8000 sample points) | ||
Information about data files (i.e which experiment session is recorded under which data file) and electrode montage can be found in the physiology file of each subject. | Information about data files (i.e which experiment session is recorded under which data file) and electrode montage can be found in the physiology file of each subject. | ||
e.g. /Volumes/data/UT/YAO/YAOPhysiology.docx | e.g. /Volumes/data/UT/YAO/YAOPhysiology.docx |
Revision as of 10:57, 14 May 2014
To search for things on the wiki, use Google's site search feature. For instance, to find an Experiment Sheet, type
site:openwetware.org/wiki/Beauchamp ExperimentSheet
The first step is to load the appropriate files into the "S" data structure. Here are the components of the S data structure:
fileName: {'YAODatafile017' 'YAODatafile018'} chanDesList: {1x68 cell} images: 8 imageNames: {6x1 cell} kStimOn: 80 kImageMin: 4096 kResponse_leftbutton: 128 kResponse_rightbutton: 129 Fs: 2000 startTime: 0 sampleTime: 0.5000 trialTimeCourse: [1x8000 double]
Here are what the elements of the data structure represent:
- filename: Name of the raw data file. Each session of an experiment is recorded in a separate datafile.
- chanDesList: List of electrodes written according to the montage.
- images: Number of different stimuli (conditions) presented in this experiment.
- kStimOn: Stimulus onset. The onset of each presented stimulus is registered as an event. Stimulus onset events are always denoted by 80.
- kImageMin: Denotes the first stimulus. Every stimulus has a code number but the code number for the first stimulus is always 4096. 4097 denotes the second stimulus, 4098 denotes the third stimulus etc.
- kResponse_leftbutton: Left mouse button presses are registered as 128.
- kResponse_rightbutton: Left mouse button presses are registered as 129.
- Fs: Sampling frequency. The data is recorded at 2000 Hz.
- startTime: Start time of the recording.
- sampleTime: Time between each sample point (1/Fs) in milliseconds.
- trialTimeCourse: Time course of trial. e.g. -1:1/S.Fs:4 (A 5 second trial that consists of 8000 sample points)
Information about data files (i.e which experiment session is recorded under which data file) and electrode montage can be found in the physiology file of each subject. e.g. /Volumes/data/UT/YAO/YAOPhysiology.docx