From 5b9335bc953b8ee0af1a103074e84ab8e5f69969 Mon Sep 17 00:00:00 2001
From: Nao Pross <np@0hm.ch>
Date: Mon, 20 Dec 2021 22:05:59 +0100
Subject: Typos and small corrections, add GUI screenshot

---
 .../tikz/phasecorr-blockprocessing-diagram.tex     | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 doc/thesis/figures/tikz/phasecorr-blockprocessing-diagram.tex

(limited to 'doc/thesis/figures/tikz/phasecorr-blockprocessing-diagram.tex')

diff --git a/doc/thesis/figures/tikz/phasecorr-blockprocessing-diagram.tex b/doc/thesis/figures/tikz/phasecorr-blockprocessing-diagram.tex
new file mode 100644
index 0000000..a6d12b3
--- /dev/null
+++ b/doc/thesis/figures/tikz/phasecorr-blockprocessing-diagram.tex
@@ -0,0 +1,34 @@
+% vim: set ts=2 sw=2 noet:
+\begin{tikzpicture}[
+		blk/.style = {
+			draw, rectangle, thick, black,
+			minimum width = 15mm,
+			minimum height = 3mm,
+			outer sep = 1mm,
+			pattern = vertical lines,
+			pattern color = lightgray,
+		},
+	]
+
+	\foreach \i in {0,1,...,4}{
+		\coordinate (blkC\i) at (15mm*\i,0);
+		\node[blk] (blk\i) at (blkC\i) {};
+		\node[below] (phi\i) at (blk\i.south west) {\(\varphi_{\i}\)};
+	}
+	% last phase 
+	\node[below] (phi5) at (blk4.south east) {\(\varphi_{5}\)};
+
+	% first block
+	\node[blk, minimum width = 10mm, xshift = 2.5mm, fill = red!30] (S) at (-15mm,0) {};
+	\node[anchor = east] at (S.west) {Input};
+
+	% last block
+	\node[blk, minimum width = 9mm, xshift = -3mm, fill = blue!30] (E) at ($(blk4)+(15mm,0)$) {};
+
+	% labels
+	\draw[thick, latex-] (blk3.north) to[out = 90, in = 180] ++(5mm,6mm)
+		node[right] {Chunk of \(N\) samples};
+
+	\draw[thick, latex-] (blk0.north east) ++(-1mm,0) to[out = 90, in = 0] ++(-5mm,6mm)
+		node[left] (tags) {Phase tags};
+\end{tikzpicture}
-- 
cgit v1.2.1

