Added some nice quotes. Added more TODO sections

This commit is contained in:
Jan Benda 2015-11-30 10:45:13 +01:00
parent df2821d97a
commit 2d777c5521
7 changed files with 56 additions and 9 deletions

View File

@ -16,4 +16,10 @@
\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}

View File

@ -218,6 +218,13 @@
\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}}}
%%%%% 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: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% usage:
%

View File

@ -16,4 +16,9 @@
\input{likelihood}
\section{TODO}
\begin{itemize}
\item GLM model fitting?
\end{itemize}
\end{document}

View File

@ -16,5 +16,11 @@
\input{pointprocesses}
\section{TODO}
\begin{itemize}
\item Add spikeraster function
\item Multitrial firing rates
\end{itemize}
\end{document}

View File

@ -1023,6 +1023,7 @@ darum, dass es schwerwiegende Nachteile gibt:
\item Fehleranf\"alligkeit: Beim ``Copy-and-paste'' kann leicht
vergessen werden in einzelnen Wiederholungen die entscheidende
\"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,
Berechnung der Fakult\"at von f\"unf, gemacht und kann nichts
anderes.
@ -1056,16 +1057,14 @@ Schl\"usselwort \code{end} beendet. Listing \ref{looplisting} zeigt
das Grundger\"ust einer for-Schleife.
\begin{lstlisting}[caption={Beispiel einer \varcode{for}-Schleife.}, label=looplisting]
>> for x = 1:5
>> for x = 1:3
x
end
% die Laufvariable x nimmt mit jeder Iteration der Schleife
% einen Wert des Vektors 1:5 an:
% einen Wert des Vektors 1:3 an:
1
2
3
4
5
\end{lstlisting}

View File

@ -1,5 +1,9 @@
\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
Verst\"andnisses von Programmcode und ein Baustein in dem Bestreben
wissenschaftlichen Erkenntnisgewinn reproduzierbar zu
@ -67,7 +71,7 @@ aktuellen Ordner nach passenden Dateien sucht (mehr Information zum
\matlab-Suchpfad in Box~\ref{matlabpathbox}).
\begin{figure}[tp]
\includegraphics[width=0.82\textwidth]{program_organization}
\includegraphics[width=0.75\textwidth]{program_organization}
\titlecaption{\label{fileorganizationfig} M\"ogliche Organisation von
Programmcode im Dateisystem.}{ F\"ur jedes Projekt werden
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 Kommentare m\"ussen gepflegt werden, sonst sind sie wertlos!
\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}
\pagebreak[4]
@ -418,7 +426,16 @@ werden. Wenn diese nicht von globalem Interesse sind, kann mit
\codeterm[Funktion!geschachtelte]{geschachtelten
Funktionen} die \"Ubersichtlichkeit erh\"oht werden.
\noindent Es lohnt sich auf den eigenen Programmierstil zu
achten!\footnote{Buchtip: Robert C. Martin:
\textit{Clean Code: A Handbook of Agile Software Craftmanship},
Prentice Hall}
Es lohnt sich auf den eigenen Programmierstil zu
achten!\footnote{Buchtip: Robert C. Martin: \textit{Clean Code: A
Handbook of Agile Software Craftmanship}, 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}

View File

@ -16,6 +16,13 @@
\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}