Answered step by step
Verified Expert Solution
Question
1 Approved Answer
question 9 and 10 go together In order to explore our waveforms, we'll define an epoch with the following parameters: - Epoch start: 500ms before
question 9 and 10 go together
In order to explore our waveforms, we'll define an epoch with the following parameters: - Epoch start: 500ms before event (stimulus) onset. - Epoch end: 1000ms after stimulus onset. Once these parameters have been decided, we can epoch the data using the event codes using the function pop_epoch () Question 9: Epoch the remaining events into their own variables (e.g. epoch0 and epoch1) after filling out the epoching parameters (take special note of the units). After you epoch, you must save the following data into these variables: - epocho_data : should contain the . data from epocho - epoch1_data : should contain the . data from epoch1 - epoch_times : should contain the .times from EITHER epocho or epoch1 (the data are the same) After which, plot the first occurence of each epoched type in a plot and submit this. Plot only the first channel. Save the plot and submit it as the answer to this question in Gradescope. note 1: the dimensionality of epoch. data is as follows: Number of channels Number of time points Number of note 2: you can plot two traces on the same figure by using the command hold on \% Answer 09 Here We're almost done! For the final piece of this assignment, we'll import the data into Python for plotting. Note: Subsequent assignments will utilize Python more. Question 10: Transfer the necessary data over (i.e. your all of your epoch0_data, epoch1_data , epoch_times ) to Python using the rget magic and plot the data. Save the plot and submit it as the answer to this question in Gradescope. \# Answer Q10 here! \# Remember, we're in Python now. Index with [] and plot with plt.plot() \# epocho_data = np.array ( epocho_data )Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started