Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Jun 8, 2023
0 parents commit 040a6e0
Show file tree
Hide file tree
Showing 54 changed files with 9,616 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
*.aux
*.log
*.out
/slides.pdf
/handout.pdf
*.nav
*.snm
*.toc
*.synctex.gz
*.key
/*.mp4
/poster.pptx
/.venv/
/png/
/images/adiabatic_dynamics_50πps.pdf
/images/adiabatic_dynamics_50πps_1.pdf
/images/adiabatic_dynamics_50πps_2.pdf
/images/animate_rottai.mp4
/images/animate_rottai/
/images/animate_rottai_1.mp4
/images/animate_rottai_2.mp4
/images/animate_rottai_3.mp4
/images/cn_sim_results.pdf
/images/cn_sim_results_1.pdf
/images/cn_sim_results_2.pdf
/images/fidelity_map.pdf
/images/fidelity_map_1.pdf
/images/fidelity_map_2.pdf
/images/guess_dynamics.pdf
/images/guess_dynamics_1.pdf
/images/guess_dynamics_2.pdf
/images/guess_dynamics_3.pdf
/images/guess_dynamics_4.pdf
/images/guess_dynamics_5.pdf
/images/guess_dynamics_6.pdf
/images/guess_sagnac.pdf
/images/guess_sagnac_1.pdf
/images/guess_sagnac_2.pdf
/images/opt_dynamics.pdf
/images/opt_dynamics_1.pdf
/images/opt_dynamics_2.pdf
/images/opt_dynamics_3.pdf
/images/opt_dynamics_4.pdf
/images/opt_dynamics_5.pdf
/images/opt_dynamics_6.pdf
/images/opt_sagnac.pdf
/images/opt_sagnac_1.pdf
/images/opt_sagnac_2.pdf
/images/rottai.pdf
74 changes: 74 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
PDFLATEXOPTS = -file-line-error -interaction=nonstopmode -halt-on-error -synctex=1

all: slides.pdf

.venv/bin/python:
python3 -m venv .venv
./.venv/bin/python -m pip install -r requirements.txt

slides.pdf: slides.tex .venv/bin/python $(wildcard images/*.py images/*.tex images/*.pdf images/*.tikz images/*.png) arlwide_theme/theme.tex
$(MAKE) -C images all
pdflatex $(PDFLATEXOPTS) slides
pdflatex $(PDFLATEXOPTS) slides


define HANDOUT_PYSCRIPT
import sys
from PyPDF2 import PdfReader, PdfWriter
pdf_reader = PdfReader(sys.argv[-2])
pdf_writer = PdfWriter()
pages = [1, 4, 6, 10, 15, 20, 22, 24, 34, 35, 36, 37, 38, 39, 41, 47, 49, 51]
for idx in pages:
pdf_writer.add_page(pdf_reader.pages[idx-1])
pdf_writer.write(sys.argv[-1])
pdf_writer.close()
endef
export HANDOUT_PYSCRIPT


handout.pdf: slides.pdf
.venv/bin/python -c "$$HANDOUT_PYSCRIPT" $< $@


png: png/slides_01.png

png/slides_01.png: slides.pdf
@mkdir -p png
convert -density 600 $< png/slides_%02d.png

pdflatex:
@echo "Compiling Main File ..."
pdflatex $(PDFLATEXOPTS) slides
@echo "Done"

update:
pdflatex $(PDFLATEXOPTS) slides

clean:
@echo "Cleaning up files from LaTeX compilation ..."
$(MAKE) -C images clean
rm -f *.aux
rm -f *.log
rm -f *.toc
rm -f *.bbl
rm -f *.blg
rm -rf *.out
rm -f *.bak
rm -f *.ilg
rm -f *.snm
rm -f *.nav
rm -f *.fls
rm -f *.table
rm -f *.gnuplot
rm -f *.fdb_latexmk
rm -f *.synctex.gz
@echo "Done"

distclean: clean
$(MAKE) -C images distclean
rm -rf .venv
rm -rf png
rm -f slides.pdf
rm -f handout.pdf

.PHONY: all pdflatex pdf png clean distclean
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Optimal Control of a Sagnac Tractor Atom Interferometer

This repository contains the source for the slides for the talk [Optimal Control of a Sagnac Tractor Atom Interferometer](https://michaelgoerz.net/#GoerzDAMOP2023Talk), presented at the DAMOP Meeting, 2023.


On YouTube:

[![YouTube Talk](http://img.youtube.com/vi/c8q5rfXhBNQ/0.jpg)](https://youtu.be/c8q5rfXhBNQ "Optimal Control of a Sagnac Tractor Atom Interferometer (Slides)")


## Compilation

Run `make` in a checkout of this repository

## Prerequities

* Latex
* Python 3
* ffmpeg
Binary file added arlwide_theme/arl_devcom_title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
195 changes: 195 additions & 0 deletions arlwide_theme/theme.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This theme is for ARL slides in widescreen (16:9) format
%
% Usage: use beamer class
%
% \documentclass[12pt, compress, aspectratio=169]{beamer}
%
% and e.g.
%
% \input{arlwide_theme/theme.tex}
% \title[Optimal pulse schemes for atom interferometry]{%
% Optimal pulse schemes \\for high-precision atom interferometry}
% \author[Michael Goerz ([email protected])]{%
% {\bf M. Goerz}$^1$, P. Kunz$^1$, M. Kasevich$^2$, V. Malinovsky$^1$
% }
% \institute[\protect{\includegraphics[height=5pt]{images/arl}}]{%
% $^1$U.S. Army Research Lab, $^2$Stanford University
% }
% \date{August 23, 2018}
%
% in the header of the tex file. Make sure to disable any footer on the
% titlepage:
%
% {% Title page
% \setbeamertemplate{footline}{}
% \frame{\titlepage}
% }
% \addtocounter{framenumber}{-1}
%
% NOTE: for documentation of how to modify templates, in addition to the Beamer
% user guide, use
% http://www.cpt.univ-mrs.fr/~masson/latex/Beamer-appearance-cheat-sheet.pdf
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{positioning}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Grid %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set up grid for absolute text positioning (page size = 16 x 9 cm)
\usepackage[absolute, overlay]{textpos} % (add `showboxes` for debugging)
%\usepackage[absolute, overlay, showboxes]{textpos} % (add `showboxes` for debugging)
\textblockorigin{0cm}{0cm} % The grid guides start from top left
\setlength{\TPHorizModule}{1cm} % Units are 1 cm ...
\setlength{\TPVertModule}{1cm} % ... and y coordinates point down
% Now you can use e.g.:
% \begin{textblock}{3}(4,2)
% \dots
% \end{textblock}
% to place a block 3cm wide, 4cm right and 2cm up from the bottom left corner
%%%%%%%%%%%%%%%%%%%%%%%%%%% Theme Settings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\definecolor{DarkBlue}{rgb}{0.1,0.1,0.5}
\definecolor{DarkRed}{rgb}{0.75,0.,0.}
\definecolor{Magenta}{rgb}{1.0,0.0,1.0}
\definecolor{Red}{rgb}{0.894,0.102,0.110}
\definecolor{Green}{rgb}{0.302,0.686,0.290}
\definecolor{Blue}{rgb}{0.216,0.494,0.722}
\definecolor{Orange}{rgb}{1.000,0.498,0.000}
\definecolor{Yellow}{rgb}{0.824,0.824,0.082}
\definecolor{Brown}{rgb}{0.651,0.337,0.157}
\definecolor{LightBlue}{rgb}{0.651,0.808,0.890}
\definecolor{Purple}{rgb}{0.596,0.306,0.639}
\definecolor{LightPurple}{rgb}{0.792,0.698,0.839}
\definecolor{Grey}{rgb}{0.600,0.600,0.600}
\definecolor{LightGreen}{rgb}{0.698,0.875,0.541}
\definecolor{LightOrange}{rgb}{0.992,0.749,0.435}
\definecolor{Pink}{rgb}{0.969,0.506,0.749}
\definecolor{Black}{rgb}{0.000,0.000,0.000}
\definecolor{LightRed}{rgb}{0.984,0.604,0.600}
\definecolor{White}{rgb}{1.000,1.000,1.000}

\definecolor{ARLGray25}{rgb}{0.698,0.698,0.698}


%%%%%%%%%%%%%%%%%%%%%%%%%%% Theme Settings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usetheme{Berlin}
\useoutertheme{shadow}
\useinnertheme{default}
\setbeamercolor{palette primary}{use=structure,fg=black,bg=black!20!white}
\setbeamercolor{palette secondary}{use=structure,fg=black,bg=black!25!white}
\setbeamercolor{palette tertiary}{use=structure,fg=black,bg=black!30!white}
\setbeamercolor{palette quaternary}{use=structure,fg=black,bg=black!35!white}
\setbeamercolor{sidebar}{use=structure,bg=structure.fg!20!white}
\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg}
\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg}
\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg}
\setbeamercolor*{titlelike}{parent=palette primary}
\setbeamercolor*{separation line}{}
\setbeamercolor*{fine separation line}{}
\setbeamertemplate{blocks}[rounded][shadow=false]
\setbeamerfont{title}{family*=phv, size*={20}{24}}
\setbeamerfont{author}{family*=phv, size*={12}{14}}
\setbeamerfont{institute}{family*=phv, size*={8.0}{12}}
\setbeamerfont{date}{family*=phv, size*={8.0}{12}}
\setbeamerfont{classification}{family*=phv, size*={3.78}{4.5}}
\setbeamerfont{frametitle}{series=\bfseries, family*=phv, size*={11.34}{14}}
\defbeamertemplate*{title page}{customized}[1][]{%
\tikz[overlay,remember picture] (current page.south west) rectangle (current page.north east);
\begin{textblock}{14}(0.0,0.0)
\includegraphics[width=\textwidth]{arlwide_theme/arl_devcom_title}
\end{textblock}
\begin{textblock}{14}(1,2.8)
\begin{center}
{\color{black} \usebeamerfont{title} \inserttitle}
\end{center}
\end{textblock}
\begin{textblock}{14}(1,5.0)
\begin{center}
{\color{black} \usebeamerfont{author} \insertauthor}
\end{center}
\end{textblock}
\begin{textblock}{14}(1,6.25)
\begin{center}
{\color{black} \usebeamerfont{institute} \insertinstitute}
\end{center}
\end{textblock}
\begin{textblock}{14}(1,7.5)
\begin{center}
{\color{black} \usebeamerfont{date} \insertdate}
\end{center}
\end{textblock}
}
\setbeamertemplate{background canvas}{%
% textblock does not work in background canvas, for some reason
%\tikz[overlay,remember picture] \node[at=(current page.center)]{%
%\includegraphics[height=\paperheight,width=\paperwidth]
%{arlwide_theme/titleexample.pdf}};
\begin{tikzpicture}[remember picture, overlay]
%%% grid for positioning (debugging)
%\draw[step=1cm, color=blue, opacity=0.2]
%(current page.south west) grid (current page.north east);
%\foreach \x in {0,...,15}{%
% \node[inner sep = 0, below right = 3mm and \x of current page.north west]
% {\tiny\x};}
%\foreach \y in {1,...,8}{%
% \node[inner sep = 0, below right = \y and 0mm of current page.north west]
% {\tiny\y};}
%%%%
\node[above=-1.5pt] at (current page.south)
{\color{ARLGray25} \usebeamerfont{classification} UNCLASSIFIED};
%\node[below=-1.5pt] at (current page.north)
% {\color{ARLGray25} \usebeamerfont{classification} UNCLASSIFIED};
\end{tikzpicture}
}

\setbeamertemplate{headline}{}
\setbeamertemplate{footline}{%
\hbox{%
\begin{beamercolorbox}[
wd=1.0\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,
rightskip=.3cm]{}%
\usebeamerfont{title in head/foot}%
{\color{gray} \insertshortauthor \hfill%
\insertframenumber\,/\,\inserttotalframenumber}%
\end{beamercolorbox}%
}%
\begin{tikzpicture}[remember picture, overlay]
\node[anchor=north east, xshift=-5pt] at (current page.north east) {%
{\color{gray} \insertshorttitle}};
\end{tikzpicture}
}

\setbeamertemplate{frametitle}{%
\begin{center}{\insertframetitle}\end{center}
}


\usefonttheme[onlysmall]{structurebold}
\setbeamertemplate{bibliography item}{%
\lower2pt\hbox{\pgfuseimage{beamericonarticle}}\insertbiblabel}
\mode<presentation>{\beamertemplatenavigationsymbolsempty}
%\setbeamercolor{block title}{use=structure,fg=white,bg=red!75!black}
%\setbeamercolor{block body}{use=structure,fg=black,bg=red!20!white}

\newcommand{\subhead}[1]{{\bf \color{DarkBlue} #1}}

\newcommand{\mycircledTerm}[1]{\raisebox{-0.6ex}{\textcircled{\scriptsize #1}}}
\newcommand{\mycircled}[1]{\textcircled{\scriptsize #1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fix appendix numbering, See
% http://tex.stackexchange.com/questions/2541/beamer-frame-numbering-in-appendix
\newcommand{\backupbegin}{%
\newcounter{framenumberappendix}
\setcounter{framenumberappendix}{\value{framenumber}}
}
\newcommand{\backupend}{%
\addtocounter{framenumberappendix}{-\value{framenumber}}
\addtocounter{framenumber}{\value{framenumberappendix}}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Loading

0 comments on commit 040a6e0

Please sign in to comment.