finished solutions for spike counts

This commit is contained in:
2017-12-05 15:28:06 +01:00
parent b8b6e38792
commit 78b5c082d6
9 changed files with 63 additions and 33 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -195,7 +195,7 @@ jan.benda@uni-tuebingen.de}
\end{parts}
\continue
\continuepage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\question \qt{Statistics of spike counts}
Now let's have a look at the statistics of the spike counts.
@@ -208,18 +208,25 @@ jan.benda@uni-tuebingen.de}
width.
\begin{solution}
\lstinputlisting{../code/spikecounts.m}
% XXX
\newsolutionpage
\lstinputlisting{../code/spikecountshists.m}
\colorbox{white}{\includegraphics[width=1\textwidth]{spikecountshists}}
\end{solution}
\part Write a function that computes for a range from window
\newsolutionpage
\part Write a function that computes for a range of window
widths the mean, the variance and the Fano factor of the
corresponding spike counts. The function should the generate two
corresponding spike counts. The function should generate two
plots. One showing the spike count variance in dependence on the
mean spike count. The other plot showing the Fano factor as a
function of window width.
\begin{solution}
\lstinputlisting{../code/fanoplot.m}
% XXX
\newsolutionpage
\lstinputlisting{../code/fanoplots.m}
\colorbox{white}{\includegraphics[width=1\textwidth]{fanoplotspoisson}}
\colorbox{white}{\includegraphics[width=1\textwidth]{fanoplotspifou}}
\colorbox{white}{\includegraphics[width=1\textwidth]{fanoplotslifadapt}}
\end{solution}
\end{parts}

Binary file not shown.