Added some nice quotes. Added more TODO sections
This commit is contained in:
parent
df2821d97a
commit
2d777c5521
@ -16,4 +16,10 @@
|
|||||||
|
|
||||||
\input{bootstrap}
|
\input{bootstrap}
|
||||||
|
|
||||||
|
\section{TODO}
|
||||||
|
\begin{itemize}
|
||||||
|
\item Proper introduction of confidence intervals
|
||||||
|
\item Proper introduction of statistical tests (significance, power, etc.)
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
@ -218,6 +218,13 @@
|
|||||||
\newcommand{\matlab}{\texorpdfstring{MATLAB$^{\copyright}$}{MATLAB}}
|
\newcommand{\matlab}{\texorpdfstring{MATLAB$^{\copyright}$}{MATLAB}}
|
||||||
\newcommand{\matlabfun}[2][]{(\tr{\matlab-function}{\matlab-Funktion} \setlength{\fboxsep}{0.5ex}\colorbox{codeback}{\texttt{#2}})\ifthenelse{\equal{#1}{}}{\protect\sindex[code]{#2}}{\protect\sindex[code]{#1}}}
|
\newcommand{\matlabfun}[2][]{(\tr{\matlab-function}{\matlab-Funktion} \setlength{\fboxsep}{0.5ex}\colorbox{codeback}{\texttt{#2}})\ifthenelse{\equal{#1}{}}{\protect\sindex[code]{#2}}{\protect\sindex[code]{#1}}}
|
||||||
|
|
||||||
|
%%%%% shortquote and widequote commands: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% \shortquote{Something to be quoted}{Source}
|
||||||
|
\newcommand{\shortquote}[2]{\begin{list}{}{\rightmargin\leftmargin}\item\relax\itshape #1 \hfill \upshape #2\end{list}}
|
||||||
|
|
||||||
|
% \widequote{Something to be quoted}{Source}
|
||||||
|
\newcommand{\widequote}[2]{{\itshape #1} \hfill #2}
|
||||||
|
|
||||||
%%%%% exercises environment: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%% exercises environment: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
% usage:
|
% usage:
|
||||||
%
|
%
|
||||||
|
@ -16,4 +16,9 @@
|
|||||||
|
|
||||||
\input{likelihood}
|
\input{likelihood}
|
||||||
|
|
||||||
|
\section{TODO}
|
||||||
|
\begin{itemize}
|
||||||
|
\item GLM model fitting?
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
@ -16,5 +16,11 @@
|
|||||||
|
|
||||||
\input{pointprocesses}
|
\input{pointprocesses}
|
||||||
|
|
||||||
|
\section{TODO}
|
||||||
|
\begin{itemize}
|
||||||
|
\item Add spikeraster function
|
||||||
|
\item Multitrial firing rates
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
|
@ -1023,6 +1023,7 @@ darum, dass es schwerwiegende Nachteile gibt:
|
|||||||
\item Fehleranf\"alligkeit: Beim ``Copy-and-paste'' kann leicht
|
\item Fehleranf\"alligkeit: Beim ``Copy-and-paste'' kann leicht
|
||||||
vergessen werden in einzelnen Wiederholungen die entscheidende
|
vergessen werden in einzelnen Wiederholungen die entscheidende
|
||||||
\"Anderung auch wirklich vorzunehmen.
|
\"Anderung auch wirklich vorzunehmen.
|
||||||
|
\shortquote{Copy and paste is a design error.}{David Parnas}
|
||||||
\item Flexibilit\"at: Das obige Programm ist f\"ur genau einen Zweck,
|
\item Flexibilit\"at: Das obige Programm ist f\"ur genau einen Zweck,
|
||||||
Berechnung der Fakult\"at von f\"unf, gemacht und kann nichts
|
Berechnung der Fakult\"at von f\"unf, gemacht und kann nichts
|
||||||
anderes.
|
anderes.
|
||||||
@ -1056,16 +1057,14 @@ Schl\"usselwort \code{end} beendet. Listing \ref{looplisting} zeigt
|
|||||||
das Grundger\"ust einer for-Schleife.
|
das Grundger\"ust einer for-Schleife.
|
||||||
|
|
||||||
\begin{lstlisting}[caption={Beispiel einer \varcode{for}-Schleife.}, label=looplisting]
|
\begin{lstlisting}[caption={Beispiel einer \varcode{for}-Schleife.}, label=looplisting]
|
||||||
>> for x = 1:5
|
>> for x = 1:3
|
||||||
x
|
x
|
||||||
end
|
end
|
||||||
% die Laufvariable x nimmt mit jeder Iteration der Schleife
|
% die Laufvariable x nimmt mit jeder Iteration der Schleife
|
||||||
% einen Wert des Vektors 1:5 an:
|
% einen Wert des Vektors 1:3 an:
|
||||||
1
|
1
|
||||||
2
|
2
|
||||||
3
|
3
|
||||||
4
|
|
||||||
5
|
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
\chapter{\tr{Programming style}{Programmierstil}}
|
\chapter{\tr{Programming style}{Programmierstil}}
|
||||||
|
|
||||||
|
\shortquote{Any code of your own that you haven't looked at for six or
|
||||||
|
more months might as well have been written by someone
|
||||||
|
else.}{Eagleson's law}
|
||||||
|
|
||||||
Guter Programmierstil ist keine Frage des guten Geschmacks sondern des
|
Guter Programmierstil ist keine Frage des guten Geschmacks sondern des
|
||||||
Verst\"andnisses von Programmcode und ein Baustein in dem Bestreben
|
Verst\"andnisses von Programmcode und ein Baustein in dem Bestreben
|
||||||
wissenschaftlichen Erkenntnisgewinn reproduzierbar zu
|
wissenschaftlichen Erkenntnisgewinn reproduzierbar zu
|
||||||
@ -67,7 +71,7 @@ aktuellen Ordner nach passenden Dateien sucht (mehr Information zum
|
|||||||
\matlab-Suchpfad in Box~\ref{matlabpathbox}).
|
\matlab-Suchpfad in Box~\ref{matlabpathbox}).
|
||||||
|
|
||||||
\begin{figure}[tp]
|
\begin{figure}[tp]
|
||||||
\includegraphics[width=0.82\textwidth]{program_organization}
|
\includegraphics[width=0.75\textwidth]{program_organization}
|
||||||
\titlecaption{\label{fileorganizationfig} M\"ogliche Organisation von
|
\titlecaption{\label{fileorganizationfig} M\"ogliche Organisation von
|
||||||
Programmcode im Dateisystem.}{ F\"ur jedes Projekt werden
|
Programmcode im Dateisystem.}{ F\"ur jedes Projekt werden
|
||||||
Unterordner f\"ur die einzelnen Analysen angelegt. Auf Ebene des
|
Unterordner f\"ur die einzelnen Analysen angelegt. Auf Ebene des
|
||||||
@ -271,6 +275,10 @@ ein v\"ollig unn\"otiger Kommentar.
|
|||||||
\item Ein falscher Kommentar ist schlimmer als gar kein Kommentar!
|
\item Ein falscher Kommentar ist schlimmer als gar kein Kommentar!
|
||||||
\item Kommentare m\"ussen gepflegt werden, sonst sind sie wertlos!
|
\item Kommentare m\"ussen gepflegt werden, sonst sind sie wertlos!
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
\widequote{Good code is its own best documentation. As you're about to add
|
||||||
|
a comment, ask yourself, ``How can I improve the code so that this
|
||||||
|
comment isn't needed?'' Improve the code and then document it to
|
||||||
|
make it even clearer.}{Steve McConnell}
|
||||||
\end{important}
|
\end{important}
|
||||||
|
|
||||||
\pagebreak[4]
|
\pagebreak[4]
|
||||||
@ -418,7 +426,16 @@ werden. Wenn diese nicht von globalem Interesse sind, kann mit
|
|||||||
\codeterm[Funktion!geschachtelte]{geschachtelten
|
\codeterm[Funktion!geschachtelte]{geschachtelten
|
||||||
Funktionen} die \"Ubersichtlichkeit erh\"oht werden.
|
Funktionen} die \"Ubersichtlichkeit erh\"oht werden.
|
||||||
|
|
||||||
\noindent Es lohnt sich auf den eigenen Programmierstil zu
|
Es lohnt sich auf den eigenen Programmierstil zu
|
||||||
achten!\footnote{Buchtip: Robert C. Martin:
|
achten!\footnote{Buchtip: Robert C. Martin: \textit{Clean Code: A
|
||||||
\textit{Clean Code: A Handbook of Agile Software Craftmanship},
|
Handbook of Agile Software Craftmanship}, Prentice Hall}
|
||||||
Prentice Hall}
|
|
||||||
|
\shortquote{Programs must be written for people to read, and only
|
||||||
|
incidentally for machines to execute.}{Abelson / Sussman}
|
||||||
|
|
||||||
|
\shortquote{Any fool can write code that a computer can
|
||||||
|
understand. Good programmers write code that humans can
|
||||||
|
understand.}{Martin Fowler}
|
||||||
|
|
||||||
|
\shortquote{First, solve the problem. Then, write the code.}{John
|
||||||
|
Johnson}
|
||||||
|
@ -16,6 +16,13 @@
|
|||||||
|
|
||||||
\input{statistics}
|
\input{statistics}
|
||||||
|
|
||||||
|
\section{TODO}
|
||||||
|
\begin{itemize}
|
||||||
|
\item Proper introduction to probabilities and densities first!
|
||||||
|
\item Cumulative propability
|
||||||
|
\item Kernel Histogramms (important for convolved PSTH)!
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user