Debian Codegraph @

texmf-dist/doc/latex/beamertheme-saintpetersburg/example.tex

raw
1 \documentclass[14pt,aspectratio=169]{beamer}
2 \usepackage{polyglossia}
3 \setdefaultlanguage{english}
4 \usetheme{SaintPetersburg}
5
6 \usepackage{amsthm}
7 \usepackage{amssymb}
8 \usepackage{amsmath}
9 \usepackage{mathtools}
10 \usepackage{listings}
11 \usepackage{booktabs}
12 \usepackage{graphicx}
13 \usepackage{tikz}
14
15 \graphicspath{{figures/}}
16
17 \newcommand{\Fourier}[1]{\mathcal{F}\left\{#1\right\}}
18 \newcommand{\InverseFourier}[1]{\mathcal{F}^{-1}\left\{#1\right\}}
19 \newcommand{\Var}[1]{\sigma_{#1}^2}
20
21 \AtBeginSection[]{
22 % \iffirstsection
23 % \begin{frame}{Plan}
24 % \tableofcontents
25 % \end{frame}
26 % \firstsectionfalse
27 % \fi
28 % \begin{frame}{Plan}
29 % \tableofcontents[currentsection]
30 % \end{frame}
31 \frame{\sectionpage}
32 }
33
34 \title{Generating standing and propagating ocean waves with three-dimensional ARMA model}
35 \subtitle{Technical report}
36 \author{Ivan Gankevich}
37 \date{Aug 26, 2016}
38
39 \begin{document}
40
41 \frame{\maketitle}
42
43 \section{Two methods of finding wave's ACF}
44
45 \begin{frame}
46 \frametitle{Analytic method}
47 \only<1>{%
48 Apply Wiener---Khinchin theorem to a wave profile $\zeta$ to get ACF $K$:
49 \begin{equation*}
50 K(t) = \Fourier{\left| \zeta(t) \right|^2}.
51 \label{eq:wiener-khinchin}
52 \end{equation*}%
53 }
54 \only<2>{%
55 \begin{example}
56 Standing wave profile:
57 \begin{equation*}
58 \zeta(t, x, y) = A \sin (k_x x + k_y y) \sin (\sigma t).
59 \label{eq:standing-wave}
60 \end{equation*}
61 Standing wave ACF:
62 \begin{equation*}
63 K(t,x,y) =
64 \gamma
65 \exp\left[-\alpha (|t|+|x|+|y|) \right]
66 \cos \beta t
67 \cos \left[ \beta x + \beta y \right].
68 \label{eq:standing-wave-acf}
69 \end{equation*}
70 \end{example}%
71 }
72 \only<3>{%
73 \begin{example}
74 Propagating wave profile:
75 \begin{equation*}
76 \zeta(t, x, y) = A \cos (\sigma t + k_x x + k_y y).
77 \label{eq:propagating-wave}
78 \end{equation*}
79 Propagating wave ACF:
80 \begin{equation*}
81 K(t,x,y) =
82 \gamma
83 \exp\left[-\alpha (|t|+|x|+|y|) \right]
84 \cos\left[\beta (t+x+y) \right].
85 \label{eq:propagating-wave-acf}
86 \end{equation*}
87 \end{example}%
88 }
89 \only<4>{%
90 Some observations:
91 \begin{itemize}
92 \item Taking Fourier transform of sine/cosine wave profile requires
93 multiplying it by an decaying exponent to produce useful ACF.
94 \item Fourier Transform of squared exponent (Gaussian) is another Gaussian.
95 \end{itemize}
96 \vfill\centering%
97 \alert{Why use Fourier transform at all?}%
98 }
99 \end{frame}
100
101 \begin{frame}
102 \frametitle{Empirical method}
103 The algorithm:
104 \begin{enumerate}
105 \item Multiply wave profile by an decaying exponent.
106 \item Adjust sine/cosine phase to move maximum value to the origin
107 (or substitute sine with cosine to get the same effect).
108 \end{enumerate}
109 \vfill%
110 In case of plain waves result is the same as for analitic method.
111 \end{frame}
112
113 \section{Governing equations for 3-dimensional ARMA process}
114
115 \begin{frame}
116 \frametitle{3-D ARMA process}
117 Three-dimensional autoregressive moving average process is defined by
118 \begin{equation*}
119 \zeta_{i,j,k} =
120 \sum\limits_{l=0}^{p_1}
121 \sum\limits_{m=0}^{p_2}
122 \sum\limits_{n=0}^{p_3}
123 \Phi_{l,m,n} \zeta_{i-l,j-m,k-n}
124 +
125 \sum\limits_{l=0}^{q_1}
126 \sum\limits_{m=0}^{q_2}
127 \sum\limits_{n=0}^{q_3}
128 \Theta_{l,m,n} \epsilon_{i-l,j-m,k-n}
129 ,
130 \label{eq:arma-process}
131 \end{equation*}
132 \small{%
133 where $\zeta$ --- wave elevation, $\Phi$ --- AR coefficients, $\Theta$ --- MA
134 coefficients, \newline$\epsilon$ --- white noise with Gaussian distribution,
135 $(p_1,p_2,p_3)$ --- AR process order, $(q_1,q_2,q_3)$ --- MA process order, and
136 $\Phi_{0,0,0} \equiv 0$, $\Theta_{0,0,0} \equiv 0$.%
137 }
138 \end{frame}
139
140 \begin{frame}
141 \frametitle{Determining coefficients}
142 \framesubtitle{AR process}
143 \small%
144 Solve linear system of equations (3-D Yule---Walker equations) for $\Phi$:
145 \begin{equation*}
146 \Gamma
147 \left[
148 \begin{array}{l}
149 \Phi_{0,0,0}\\
150 \Phi_{0,0,1}\\
151 \vdotswithin{\Phi_{0,0,0}}\\
152 \Phi_{p_1,p_2,p_3}
153 \end{array}
154 \right]
155 =
156 \left[
157 \begin{array}{l}
158 K_{0,0,0}-\Var{\epsilon}\\
159 K_{0,0,1}\\
160 \vdotswithin{K_{0,0,0}}\\
161 K_{p_1,p_2,p_3}
162 \end{array}
163 \right],
164 \qquad
165 \Gamma=
166 \left[
167 \begin{array}{llll}
168 \Gamma_0 & \Gamma_1 & \cdots & \Gamma_{p_1} \\
169 \Gamma_1 & \Gamma_0 & \ddots & \vdotswithin{\Gamma_0} \\
170 \vdotswithin{\Gamma_0} & \ddots & \ddots & \Gamma_1 \\
171 \Gamma_{p_1} & \cdots & \Gamma_1 & \Gamma_0
172 \end{array}
173 \right],
174 \end{equation*}
175 \begin{equation*}
176 \Gamma_i =
177 \left[
178 \begin{array}{llll}
179 \Gamma^0_i & \Gamma^1_i & \cdots & \Gamma^{p_2}_i \\
180 \Gamma^1_i & \Gamma^0_i & \ddots & \vdotswithin{\Gamma^0_i} \\
181 \vdotswithin{\Gamma^0_i} & \ddots & \ddots & \Gamma^1_i \\
182 \Gamma^{p_2}_i & \cdots & \Gamma^1_i & \Gamma^0_i
183 \end{array}
184 \right]
185 \qquad
186 \Gamma_i^j=
187 \left[
188 \begin{array}{llll}
189 K_{i,j,0} & K_{i,j,1} & \cdots & K_{i,j,p_3} \\
190 K_{i,j,1} & K_{i,j,0} & \ddots &x \vdotswithin{K_{i,j,0}} \\
191 \vdotswithin{K_{i,j,0}} & \ddots & \ddots & K_{i,j,1} \\
192 K_{i,j,p_3} & \cdots & K_{i,j,1} & K_{i,j,0}
193 \end{array}
194 \right].
195 \end{equation*}
196 \end{frame}
197
198 \begin{frame}
199 \frametitle{Determining coefficients}
200 \framesubtitle{MA process}
201 \small%
202 Solve non-linear system of equations for $\Theta$:
203 \begin{equation*}
204 K_{i,j,k} =
205 \left[
206 \displaystyle
207 \sum\limits_{l=i}^{q_1}
208 \sum\limits_{m=j}^{q_2}
209 \sum\limits_{n=k}^{q_3}
210 \Theta_{l,m,n}\Theta_{l-i,m-j,n-k}
211 \right]
212 \Var{\epsilon}
213 \end{equation*}
214 via fixed-point iteration method:
215 \begin{equation*}
216 \theta_{i,j,k} =
217 -\frac{K_{0,0,0}}{\Var{\epsilon}}
218 +
219 \sum\limits_{l=i}^{q_1}
220 \sum\limits_{m=j}^{q_2}
221 \sum\limits_{n=k}^{q_3}
222 \Theta_{l,m,n} \Theta_{l-i,m-j,n-k}.
223 \end{equation*}
224 \end{frame}
225
226 \begin{frame}
227 \frametitle{Determining coefficients}
228 \framesubtitle{ARMA process}
229 To mix processes one needs to divide ACF between processes, and
230 recompute one of the parts to match process properties (mean,
231 variance etc.).
232 \vfill%
233 \begin{center}
234 \alert{There is no recomputation formula for 3-D proccess.}
235 \end{center}
236 \end{frame}
237
238 \begin{frame}
239 \frametitle{Our approach}
240 Use AR process for standing waves and MA process for
241 propagating waves.
242 \vfill%
243 Supporting experimental results:
244 \begin{itemize}
245 \item It works that way in practice.
246 \item It does not work the other way round
247 (processes diverge).
248 \item Wavy surface integral characteristics
249 match the ones of real ocean waves.
250 \end{itemize}
251 \end{frame}
252
253 \section{Evaluation and verification}
254
255 \begin{frame}
256 \frametitle{Experiment setup}
257 \begin{itemize}
258 \item Generate standing/propagating waves with
259 AR/MA processes respectively.
260 \item Estimate distributions of integral
261 characteristics.
262 \item Compare estimated distributions to the
263 known ones via QQ plots.
264 \end{itemize}
265 \vfill%
266 \begin{center}
267 \small
268 \begin{tabular}{ll}
269 \toprule
270 Characteristic & Weibull shape ($k$) \\
271 \midrule
272 Wave height & 2 \\
273 Wave length & 2.3 \\
274 Crest length & 2.3 \\
275 Wave period & 3 \\
276 Wave slope & 2.5 \\
277 Three-dimensionality & 2.5 \\
278 \bottomrule
279 \end{tabular}%
280 \end{center}
281 \end{frame}
282
283 % \begin{frame}
284 % \frametitle{Input ACFs (time slices)}
285 % Standing wave ACF:
286 % \vfill%
287 % \begin{tabular}{llll}%
288 % \includegraphics[scale=0.45]{standing-acf-0} &
289 % \includegraphics[scale=0.45]{standing-acf-1} &
290 % \includegraphics[scale=0.45]{standing-acf-3} &
291 % \includegraphics[scale=0.45]{standing-acf-4} \\
292 % \end{tabular}
293 % \vfill%
294 % Propagating wave ACF:
295 % \vfill%
296 % \begin{tabular}{llll}%
297 % \includegraphics[scale=0.45]{propagating-acf-00} &
298 % \includegraphics[scale=0.45]{propagating-acf-01} &
299 % \includegraphics[scale=0.45]{propagating-acf-03} &
300 % \includegraphics[scale=0.45]{propagating-acf-04} \\
301 % \end{tabular}
302 % \end{frame}
303
304 \begin{frame}
305 \frametitle{Verification results (QQ plots)}
306 \small%
307 \centering
308 \begin{columns}
309 \begin{column}{0.5\textwidth}
310 \centering%
311 Standing waves
312 \begin{tabular}{ll}
313 \includegraphics[scale=0.5]{standing-elevation} &
314 \includegraphics[scale=0.5]{standing-wave-height-x} \\
315 \addlinespace
316 \includegraphics[scale=0.5]{standing-wave-length-x} &
317 \includegraphics[scale=0.5]{standing-wave-period} \\
318 \end{tabular}
319 \end{column}
320 \begin{column}{0.5\textwidth}
321 \centering%
322 Propagating waves
323 \begin{tabular}{ll}
324 \includegraphics[scale=0.5]{propagating-elevation} &
325 \includegraphics[scale=0.5]{propagating-wave-height-x} \\
326 \addlinespace
327 \includegraphics[scale=0.5]{propagating-wave-length-x} &
328 \includegraphics[scale=0.5]{propagating-wave-period} \\
329 \end{tabular}
330 \end{column}
331 \end{columns}
332 \end{frame}
333
334 \end{document}