From e1ed97b86a89c917895b75c74d0488f764fc6692 Mon Sep 17 00:00:00 2001
From: Mike Birchall <mike.birchall@mq.edu.au>
Date: Sat, 24 Aug 2013 16:31:03 +1000
Subject: [PATCH] Adding wavelength calibration code notes [No ACMM ChangeLog
 Detail]

---
 drexecDocs/Makefile                |  9 +++-
 drexecDocs/WavelengthCalibCode.tex | 84 ++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+), 2 deletions(-)
 create mode 100644 drexecDocs/WavelengthCalibCode.tex

diff --git a/drexecDocs/Makefile b/drexecDocs/Makefile
index e9874ff..529895a 100644
--- a/drexecDocs/Makefile
+++ b/drexecDocs/Makefile
@@ -8,9 +8,9 @@
 
 latexcomp = latex
 dvi_comp  = dvipdf
-drexec_docs = TramlineCodeOverview.pdf
+drexec_docs = TramlineCodeOverview.pdf WavelengthCalibCode.pdf
 
-all : TramlineCodeOverview 
+all : TramlineCodeOverview WavelengthCalibCode
 
 
 TramlineCodeOverview :
@@ -18,6 +18,11 @@ TramlineCodeOverview :
 	dvipdf ${@}.dvi 
 
 
+WavelengthCalibCode :
+	latex  ${@}.tex 
+	dvipdf ${@}.dvi 
+
+
 install :
 	cp ${drexec_docs} ../../drexec        
 
diff --git a/drexecDocs/WavelengthCalibCode.tex b/drexecDocs/WavelengthCalibCode.tex
new file mode 100644
index 0000000..0b90749
--- /dev/null
+++ b/drexecDocs/WavelengthCalibCode.tex
@@ -0,0 +1,84 @@
+
+\nonstopmode
+\documentclass{article}
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{2.5mm}
+\setlength{\oddsidemargin} {0cm}
+\setlength{\textwidth}{15.5cm}
+\setlength{\textheight}{22.5cm}
+\setlength{\topmargin}{0cm}
+\usepackage{graphicx}
+
+
+
+\title{Overview of the Wavelength Calibration Code for 2dfdr}
+
+\author{m. birchall}
+
+\begin{document}
+
+\maketitle
+
+\section{Introduction}
+This document focuses on the code specified for the wavelength calibration
+and the reasoning behind them.
+
+The traditional approach to wavelength calibration has been:
+
+\begin{indent}
+	1) Take a central fibre signal 
+
+	2) ...
+        
+        3) ...
+
+\end{indent}
+
+This approach shows success in a majority of cases, but will ocassionaly fail.
+
+The steps for the new wavelength calibration code is as follows:
+
+\begin{indent}
+1) Select the signal of a central fibre as a refernce
+
+1) Find a list of lines in the signals of each fibre
+
+2) Via the Whale Shark algorithm, match the 10 strongest lines from each
+   signal to the reference list
+   
+3) Assuming enough matches were made for each signal, find a robust
+   quadratic map of the refernce signal to the other signals
+   
+4) Scrunch the signals via the quadratic mappings
+
+5) Match the line lists in each scrunched signal via the maulti target
+   tracking algorithm
+   
+6) Create a master line list that consists of all unique lines found
+
+7) Using given estimates the central fibre wavelength range in amstrongs
+   scrunch the master line list into as estimated amstrong atlas.
+   
+8) Match the estimated atlas to a given one via whale shark matching.
+
+9) Identify the precise wavlength value for each line in each fibre
+
+10) Define a mapping of the lines in pixels to precise wavelength values
+
+\end{indent}
+
+
+We review each in turn
+
+
+\section{Identify line lists in a single fibre}
+
+Note, still working on this
+
+
+\section{Issues to consider}
+
+ [Watch this space]
+
+
+\end{document}
-- 
GitLab