\begin{comment}
    python -m ibeis.scripts.gen_cand_expts --exec-parse_latex_comments_for_commmands --fname figdefdbinfo.tex
\end{comment}


\begin{comment}
ALL DATABASE INFO
python -m ibeis Chap3.measure dbstats --dbs=PZ_Master1,GZ_Master1,GIRM_Master1,humpbacks_fb
python -m ibeis Chap3.agg_dbstats
\end{comment}

\newcommand{\DatabaseInfo}{
\begin{table}[ht!]
\centering
\caption[Database statistics]{Database statistics.}
\label{tbl:DatabaseStatistics}
\input{figuresY/agg-enc.tex}
\end{table}
%--
\begin{table}[h!]
\centering
\caption[Annotations per quality]{Annotations per quality.}
\label{tbl:AnnotationsPerQuality}
\input{figuresY/agg-qual.tex}
\end{table}
%--
\begin{table}[h!]
\centering
\caption[Annotations per viewpoint]{Annotations per viewpoint.}
\label{tbl:AnnotationsPerViewpoint}
\input{figuresY/agg-view.tex}
\end{table}
}

%-------------
% TimeDeltas
\begin{comment}
python -m ibeis Chap3.measure time_distri --dbs=GIRM_Master1,GZ_Master1,PZ_Master1,humpbacks_fb --diskshow
python -m ibeis Chap3.draw time_distri --dbs=GIRM_Master1,GZ_Master1,PZ_Master1,humpbacks_fb --diskshow
\end{comment}
\newcommand{\timedist}{
\begin{figure}[ht!] \centering
\begin{subfigure}[h]{\textwidth}\centering\includegraphics[width=.9\textwidth]{figuresY/PZ_Master1/timedist.png}\caption{plains zebras}\end{subfigure}
\begin{subfigure}[h]{\textwidth}\centering\includegraphics[width=.9\textwidth]{figuresY/GZ_Master1/timedist.png}\caption{Grévy's zebras}\end{subfigure}
\begin{subfigure}[h]{\textwidth}\centering\includegraphics[width=.9\textwidth]{figuresY/GIRM_Master1/timedist.png}\caption{Masai giraffes}\end{subfigure}
\begin{subfigure}[h]{\textwidth}\centering\includegraphics[width=.9\textwidth]{figuresY/humpbacks_fb/timedist.png}\caption{Humpbacks}\end{subfigure}
\caption[\caplbl{timedist}Distribution of image timestamps]{\caplbl{timedist}
% ---
Distribution of image timestamps.
The y-axis is plotted on a square-root scale to emphasize times when only a few images were taken.
For plains zebras and Grévy's zebras images were collected over many years.
For Masai giraffes all data was collected immediately before and during the \GZC{}.
% ---
}
\label{fig:timedist}
\end{figure}
}
