summaryrefslogtreecommitdiff
path: root/ma
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-04-02 15:38:08 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-04-02 15:38:08 +0200
commit9168801dad97805c4ff12816e847d102b0a9d5e0 (patch)
tree962a8a433c30be40cf75795bf72a438f06854288 /ma
parente104e5d2dc232731cc72404d4caa85a2ee11d412 (diff)
downloadmaster-thesis-9168801dad97805c4ff12816e847d102b0a9d5e0.tar.gz
master-thesis-9168801dad97805c4ff12816e847d102b0a9d5e0.tar.bz2
master-thesis-9168801dad97805c4ff12816e847d102b0a9d5e0.zip
thesis: Fix notebook include headers
Diffstat (limited to 'ma')
-rw-r--r--ma/Makefile1
-rw-r--r--ma/resources/nbexport.tplx2
-rw-r--r--ma/safety_reset.tex17
3 files changed, 14 insertions, 6 deletions
diff --git a/ma/Makefile b/ma/Makefile
index c3d61b7..99bf808 100644
--- a/ma/Makefile
+++ b/ma/Makefile
@@ -11,6 +11,7 @@ MAKEFLAGS += --no-builtin-rules
all: safety_reset.pdf
safety_reset.pdf: resources/grid_freq_estimation.pdf
+safety_reset.pdf: resources/gps_clock_jitter_analysis.pdf
%.pdf: %.tex %.bib
pdflatex -shell-escape $<
diff --git a/ma/resources/nbexport.tplx b/ma/resources/nbexport.tplx
index 6346c67..a279827 100644
--- a/ma/resources/nbexport.tplx
+++ b/ma/resources/nbexport.tplx
@@ -9,5 +9,5 @@
((*- endblock header -*))
-((* block maketitle *))((* endblock maketitle *))
+((* block maketitle *))\vspace*{3cm}((* endblock maketitle *))
diff --git a/ma/safety_reset.tex b/ma/safety_reset.tex
index 868c6e3..485d131 100644
--- a/ma/safety_reset.tex
+++ b/ma/safety_reset.tex
@@ -60,6 +60,15 @@
\usepackage{fancyhdr}
\fancyhf{}
\fancyfoot[C]{\thepage}
+\newcommand{\includenotebook}[2]{
+ \fancyhead[C]{Included Jupyter notebook: #1}
+ \includepdf[pages=1,
+ pagecommand={\thispagestyle{fancy}\section{#1}\label{#2_notebook}}
+ ]{resources/#2.pdf}
+ \includepdf[pages=2-,
+ pagecommand={\thispagestyle{fancy}}
+ ]{resources/#2.pdf}
+}
\begin{document}
@@ -995,7 +1004,7 @@ interface and its good tolerance of system resets due to unexpected power loss.
Captured raw waveform data is processed in the Jupyter Lab environment\cite{kluyver01} and grid frequency estimates are
extracted as described in sec. \ref{frequency_estimation} using the \textcite{gasior01} technique. Appendix
-\ref{grid_freq_est_notebook} contains the Jupyter notebook we used for frequency measurement.
+\ref{grid_freq_estimation_notebook} contains the Jupyter notebook we used for frequency measurement.
% FIXME comparison against reference measurements?
@@ -1096,10 +1105,8 @@ correctly configure than it is to simply use separate hardware and secure the in
\chapter{Transcripts of Jupyter notebooks used in this thesis}
-\section{Grid frequency estimation}
-\label{grid_freq_est_notebook}
-\fancyhead[C]{Included Jupyter notebook: Grid frequency estimation}
-\includepdf[pages=-, pagecommand=\thispagestyle{fancy}]{resources/grid_freq_estimation.pdf}
+\includenotebook{Grid frequency estimation}{grid_freq_estimation}
+\includenotebook{Frequency sensor clock stability analysis}{gps_clock_jitter_analysis}
\chapter{Demonstrator schematics and code}