\documentclass{article}

\input{imports.tex}
\input{functions.tex}

\title{\customtitle{\centering \vspace{2cm} NIRPS babysitter manual \vspace{2cm}}}
\author{Neil Cook}
\date{\today}

% Disable automatic indentation
\setlength{\parindent}{0pt}

\begin{document}

\thispagestyle{empty}
\maketitle

\newpage

% ----------------------------------------------------------
% Introduction
% ----------------------------------------------------------
\section*{Introduction}

The document is meant as a guide for `NIRPS babysitters' (but may be useful for others as well).

\vspace{4mm}

We rely on `babysitters` to make sure the incoming data for NIRPS is `good' before we run the APERO reduction for a night. 

\vspace{4mm}

As a bonus our checks for reduction also act as a `backup' for monitoring what should be happening at the telescope and/or by others who receive automated emails (hopefully).

\vspace{4mm}

This work is incredibly important to allow us to reduce data in such a way that it can be used, in good faith, by NIRPS scientists (such as yourself).

\vspace{4mm}

Also if you see anything wrong or missing please leave a comment or ask us to update it, this document should never be `complete` and any improvements benefit everyone.

\vspace{4mm}

\textbf{Thank you for taking the time to do this.}

\vspace{4mm}

Please know \important{you are not alone}. Please \hyperref[sec:important_info:need_help]{get in touch with us} or \href{https://docs.google.com/spreadsheets/d/1s116aabnMH0zJ5YbXrGBWIVP17lmYXl6tYzLteoSEAc/edit?gid=1764593584#gid=1764593584}{previous babysitters} to ask for help and anything you are uncertain with.



% ----------------------------------------------------------
% Table of contents
% ----------------------------------------------------------
\newpage
% set depth of table of contents
\setcounter{tocdepth}{2}
% build table of contents
\tableofcontents

% ----------------------------------------------------------
% Section 1
% ----------------------------------------------------------
\input{sections/s1_important_info.tex}

% ----------------------------------------------------------
% Section 2
% ----------------------------------------------------------
\input{sections/s2_raw_checks.tex}

% ----------------------------------------------------------
% Section 3
% ----------------------------------------------------------
\input{sections/s3_red_checks.tex}

% ----------------------------------------------------------
% Section 4
% ----------------------------------------------------------
\input{sections/s4_manual_trigger.tex}

% ----------------------------------------------------------
% Section 5
% ----------------------------------------------------------
\input{sections/s5_how_to.tex}

% ----------------------------------------------------------
% Section 6
% ----------------------------------------------------------
\input{sections/s6_apero_errors.tex}

% ----------------------------------------------------------
% Section 7
% ----------------------------------------------------------
\input{sections/s7_nightly_debugging.tex}

% ----------------------------------------------------------
% Appendix 1
% ----------------------------------------------------------
\input{sections/sa1_troubleshooting.tex}

\end{document}
