forked from hroest/Labnotebook-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
158 lines (136 loc) · 4.97 KB
/
main.tex
File metadata and controls
158 lines (136 loc) · 4.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LaTeX Template: Project Titlepage Modified (v 0.1) by rcx
%
% Original Source: http://www.howtotex.com
% Date: May 17 2018
%
% This is a title page template which be used for articles & reports.
%
% This is the modified version of the original Latex template from
% aforementioned website.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt]{report}
%% Sets page size and margins
\usepackage[a4paper,top=3cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=2.0cm]{geometry}
\usepackage{fancyhdr}
\usepackage{framed}
\usepackage{lastpage}
\usepackage{graphicx}
\graphicspath{{images/}}
\usepackage{wrapfig, subcaption, setspace, booktabs}
\usepackage[T1]{fontenc}
\usepackage[font=small, labelfont=bf]{caption}
\usepackage{fourier}
\usepackage[protrusion=true, expansion=true]{microtype}
\usepackage[english]{babel}
\usepackage{sectsty}
\usepackage{listings}
\lstset{frame=tb,
breaklines=true,
showstringspaces=false,
columns=flexible,
numbers=none,
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
tabsize=1,
}
\usepackage{rotating}
\usepackage{url, lipsum}
\usepackage{verbatim}
\newcommand{\HRule}[1]{\rule{\linewidth}{#1}}
\onehalfspacing
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\usepackage{alltt}
\usepackage[title]{appendix}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{color, colortbl}
\definecolor{LightCyan}{rgb}{0.88,1,1}
\usepackage{minted}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=blue,
}
\usepackage{todonotes}
%-------------------------------------------------------------------------------
% HEADER & FOOTER
%-------------------------------------------------------------------------------
\pagestyle{fancy}
\fancyhf{}
\setlength\headheight{15pt}
\fancyhead[L]{Student Name}
\fancyhead[R]{University of Toronto}
\fancyhead[R]{Röst Lab Project}
\fancyfoot[R]{Page \thepage\ of \pageref{LastPage}}
%-------------------------------------------------------------------------------
% TITLE PAGE
%-------------------------------------------------------------------------------
\begin{document}
\title{ \textsc{Röst Lab}
\\ [2.0cm]
\HRule{0.5pt} \\
\LARGE \textbf{{Lab Journal}}
\HRule{2pt} \\ [0.5cm]
\normalsize May 17, 2018\vspace*{5\baselineskip}}
\date{}
\author{
Student Name \\
Donnelly Centre\\
University of Toronto \\
Hannes Röst Lab }
\maketitle
\tableofcontents
\newpage
%-------------------------------------------------------------------------------
% Section title formatting
\sectionfont{\scshape}
\renewcommand\thesection{\arabic{section}.}
\renewcommand\thesubsection{\thesection\arabic{subsection}}
\sectionfont{\fontsize{8}{10}}
%-------------------------------------------------------------------------------
%-------------------------------------------------------------------------------
% BODY
%-------------------------------------------------------------------------------
\section{Week 1: January}
\subsection{January 1}
\textbf{Experiment A}:
There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.
There is another theory which states that this has already happened. \todo{important note to remember this later (Friday).}
\textbf{Conclusions}: More data is required, no conclusion yet.
\subsection{January 2}
\textbf{Experiment B}:
The density profile follows an $r^{-3/2}$ power law. To avoid a singularity at the center, an interpolation is done over a radius. This inner radius is defined in the parameter file. It should follow the prescription of a singular isothermal sphere (see Binney \& Tremaine p.305), which is also the definition of the King radius:
\begin{equation}
r_0 \equiv \sqrt{\frac{9\sigma^2}{4\pi G\rho_0}}
\end{equation}
where $\sigma$ is the velocity dispersion and could be estimated as $\sigma = \mathcal{M} c_s$, where $c_s = \sqrt{\gamma P/\rho} = \sqrt{\gamma k_B T / \mu}$ is the sound speed.
The isothermal sound speed in our simulation was estimated
\begin{equation}
c_s = \sqrt{\frac{k_b T}{\mu m_p}}
\end{equation}
I'm unsure why a factor of $\gamma$ was not included. For 30 K, this gives a sound speed of about 34000 cm/s or 0.34 km/s. At a Mach number of 5, this gives a supersonic dispersion of $\sigma$ = 1.7 km/s
\textbf{Conclusions}: Experiment is consistent with our expectations, should present to PI
\subsection{January 3}
\textbf{Experiment C}:
A small bash script:
\begin{minted}[fontsize=\footnotesize]{bash}
#!/bin/sh
#PeptideProphet analysis
for f in *.mzXML;
do
echo $f
done
\end{minted}
A small Python script:
\begin{minted}[fontsize=\footnotesize]{python}
import pyopenms
exp = pyopenms.MSExperiment()
pyopenms.MzMLFile().store("testfile.mzML", exp)
\end{minted}
\textbf{Conclusions}: Needs additional work tomorrow, then check into git!
\end{document}