[pointprocesses/exercise] rearrange exercise

This commit is contained in:
Jan Grewe 2021-01-25 22:52:09 +01:00
parent 1fbb04860d
commit 03d6f986cb

View File

@ -14,13 +14,27 @@
\input{../../exercisestitle} \input{../../exercisestitle}
\begin{questions} \begin{questions}
\question The dataset \code{lifoustim.mat} contains the responses of a (model) neuron to a time-varying stimulus.
The dataset stores three variables: 1st the spike times in different trials,
2nd the stimulus, and 3rd the temporal resolution of the recording. The total
duration of each trial is 30 seconds.
\question{} Some trials are different than the others.
\begin{parts}
\part Use a rasterplot to identify them. In which sense
are they different?
\part Extend your program that it saves the figure with the width and height of 8.5\,cm using a fontsize of 10\,pt for labels.
See Chapter 3 in the script, or browse the Matlab help for more
information. Store the figure in pdf format.
\part Identify those trials in which the spike count
deviates more than $2\sigma$ (twice the standard deviation) from the average.
\end{parts}
\question Plot the time-dependent firing rate of a neuron. Calculate \question Plot the time-dependent firing rate of a neuron. Calculate
the firing rate from the \emph{instantaneous firing rate} (based on the the firing rate from the \emph{instantaneous firing rate} (based on the
interspike interval). Use the \code{lifoustim.mat}. The dataset interspike interval).
contains three variables. 1st the spike times in different trials,
2nd the stimulus, and 3rd the temporal resolution of the recording. The total
duration of each trial is 30 seconds.
\begin{parts} \begin{parts}
\part Write a function that takes three arguments: the spike \part Write a function that takes three arguments: the spike
@ -29,26 +43,18 @@
time-dependent firing rate. time-dependent firing rate.
\part Write a script that applies the above function to estimate \part Write a script that applies the above function to estimate
the time-dependent firing rate of each trial. Plot the firing rates of the individual responses the time-dependent firing rate of each trial. Plot the firing rates of the individual responses
and the average response as a function of time into the same graph. and the average response as a function of time into the same graph. Save the figure in pdf
\part Extend your program that it saves the figure with the width and height of 8.5\,cm using a fontsize of 10\,pt for labels. format. Use the same figure specifications as above and make sure it is properly labeled.
See Chapter 3 in the script, or browse the Matlab help for more
information. Store the figure in pdf format.
\end{parts} \end{parts}
\question{} As before but use the binning method. \question{} As before but estimate the "PSTH" using the binning method.
\question{} Extend your script that it also plots the interspike \question{} Extend your script that it also plots the interspike
interval histogram and the distribution of spike counts into interval histogram and the distribution of spike counts into
separate figures. Save the figures to file using the pdf format. You may also choose to use subplots instead of individual figures. separate figures. Save the figures to file using the pdf format. You may also choose to use subplots instead of individual figures.
\question{} Some trials are different than the others.
\begin{parts}
\part Use a rasterplot to identify them. In which sense
are they different? Save the rasterplot in pdf
format. Use the same figure specifications as above and make sure it is properly labeled.
\part Identify those trials in which the spike count
deviates more than $2\sigma$ (twice the standard deviation) from the average.
\end{parts}
\end{questions} \end{questions}
\end{document} \end{document}