Commit 752069af authored by Emmanuel Bertin's avatar Emmanuel Bertin
Browse files

Fix issues with LaTeX version of the doc.

parent 0bfc62ab
...@@ -269,7 +269,7 @@ Model-based star-galaxy separation: :param:`SPREAD_MODEL` ...@@ -269,7 +269,7 @@ Model-based star-galaxy separation: :param:`SPREAD_MODEL`
--------------------------------------------------------- ---------------------------------------------------------
The :param:`SPREAD_MODEL` estimator has been developed as a star/galaxy classifier for the DESDM pipeline :cite:`2012SPIE_8451E_0DM`, and has also been used in other surveys :cite:`2012ApJ_757_83D,2013AA_554A_101B`. The :param:`SPREAD_MODEL` estimator has been developed as a star/galaxy classifier for the DESDM pipeline :cite:`2012SPIE_8451E_0DM`, and has also been used in other surveys :cite:`2012ApJ_757_83D,2013AA_554A_101B`.
:param:`SPREAD_MODEL` indicates which of the best fitting local PSF model resampled at the current position :math:`\tilde{\boldsymbol{\phi}}` (representing a point source) or a slightly ``fuzzier'' resampled model :math:`\tilde{\boldsymbol{G}}` (representing a galaxy) matches best the image data. :param:`SPREAD_MODEL` indicates which of the best fitting local PSF model resampled at the current position :math:`\tilde{\boldsymbol{\phi}}` (representing a point source) or a slightly "fuzzier" resampled model :math:`\tilde{\boldsymbol{G}}` (representing a galaxy) matches best the image data.
:math:`\tilde{\boldsymbol{G}}` is obtained by convolving the local PSF model with a circular exponential model with scalelength = 1/16 |FWHM|, and resampling the result at the current position on the pixel grid. :param:`SPREAD_MODEL` is normalized to allow comparing sources with different PSFs throughout the field: :math:`\tilde{\boldsymbol{G}}` is obtained by convolving the local PSF model with a circular exponential model with scalelength = 1/16 |FWHM|, and resampling the result at the current position on the pixel grid. :param:`SPREAD_MODEL` is normalized to allow comparing sources with different PSFs throughout the field:
.. math:: .. math::
...@@ -306,6 +306,7 @@ In order to maintain a certain level of purity or completeness across the whole ...@@ -306,6 +306,7 @@ In order to maintain a certain level of purity or completeness across the whole
.. math:: .. math::
:label: spreaderr_model :label: spreaderr_model
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt SPREADERR\_MODEL} & = & \frac{1}{(\tilde{\boldsymbol{\phi}}^\mathsf{T} {\bf W}\,\boldsymbol{p})^2} \left((\tilde{\boldsymbol{G}}^\mathsf{T} {\bf V}\,\tilde{\boldsymbol{G}})\,(\tilde{\boldsymbol{\phi}}^\mathsf{T} {\bf W}\,\boldsymbol{p})^2\right.\nonumber \\ {\tt SPREADERR\_MODEL} & = & \frac{1}{(\tilde{\boldsymbol{\phi}}^\mathsf{T} {\bf W}\,\boldsymbol{p})^2} \left((\tilde{\boldsymbol{G}}^\mathsf{T} {\bf V}\,\tilde{\boldsymbol{G}})\,(\tilde{\boldsymbol{\phi}}^\mathsf{T} {\bf W}\,\boldsymbol{p})^2\right.\nonumber \\
......
...@@ -27,6 +27,7 @@ These coordinates define two corners of a rectangle which encloses the detected ...@@ -27,6 +27,7 @@ These coordinates define two corners of a rectangle which encloses the detected
.. math:: .. math::
:label: xminymax :label: xminymax
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt XMIN} & = & \min_{i \in {\cal S}} x_i,\\ {\tt XMIN} & = & \min_{i \in {\cal S}} x_i,\\
...@@ -47,6 +48,7 @@ Barycenter coordinates generally define the position of the “center” of a so ...@@ -47,6 +48,7 @@ Barycenter coordinates generally define the position of the “center” of a so
.. math:: .. math::
:label: xy :label: xy
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt X} & = & \overline{x} = \frac{\displaystyle \sum_{i \in {\cal S}} {\tt X} & = & \overline{x} = \frac{\displaystyle \sum_{i \in {\cal S}}
...@@ -76,6 +78,7 @@ Second-order moments: :param:`X2`, :param:`Y2`, :param:`XY` ...@@ -76,6 +78,7 @@ Second-order moments: :param:`X2`, :param:`Y2`, :param:`XY`
.. math:: .. math::
:label: x2y2 :label: x2y2
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt X2} & = \overline{x^2} = & \frac{\displaystyle \sum_{i \in {\cal S}} p^{(f)}_i x_i^2}{\displaystyle \sum_{i \in {\cal S}} p^{(f)}_i} - \overline{x}^2,\\ {\tt X2} & = \overline{x^2} = & \frac{\displaystyle \sum_{i \in {\cal S}} p^{(f)}_i x_i^2}{\displaystyle \sum_{i \in {\cal S}} p^{(f)}_i} - \overline{x}^2,\\
...@@ -144,6 +147,7 @@ covariance :math:`\overline{xy}`. ...@@ -144,6 +147,7 @@ covariance :math:`\overline{xy}`.
.. math:: .. math::
:label: aimage :label: aimage
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt A}^2 & = & \overline{x^2}_{\tt THETA},\ \ \ {\rm and}\\ {\tt A}^2 & = & \overline{x^2}_{\tt THETA},\ \ \ {\rm and}\\
...@@ -154,6 +158,7 @@ covariance :math:`\overline{xy}`. ...@@ -154,6 +158,7 @@ covariance :math:`\overline{xy}`.
.. math:: .. math::
:label: aimage_2 :label: aimage_2
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt A}^2 & = & \frac{\overline{x^2}+\overline{y^2}}{2} {\tt A}^2 & = & \frac{\overline{x^2}+\overline{y^2}}{2}
...@@ -175,6 +180,7 @@ These parameters [#elongation]_ are directly derived from :param:`A` and :param: ...@@ -175,6 +180,7 @@ These parameters [#elongation]_ are directly derived from :param:`A` and :param:
.. math:: .. math::
:label: elongation :label: elongation
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt ELONGATION} & = & \frac{\tt A}{\tt B}\ \ \ \ \ \mbox{and}\\ {\tt ELONGATION} & = & \frac{\tt A}{\tt B}\ \ \ \ \ \mbox{and}\\
...@@ -206,6 +212,7 @@ parameters can be derived from the 2nd order moments: ...@@ -206,6 +212,7 @@ parameters can be derived from the 2nd order moments:
.. math:: .. math::
:label: ellipse_2 :label: ellipse_2
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt CXX} & = & \frac{\cos^2 {\tt THETA}}{{\tt A}^2} + \frac{\sin^2 {\tt CXX} & = & \frac{\cos^2 {\tt THETA}}{{\tt A}^2} + \frac{\sin^2
...@@ -240,6 +247,7 @@ Furthermore, |SExtractor| does not currently take into account possible correlat ...@@ -240,6 +247,7 @@ Furthermore, |SExtractor| does not currently take into account possible correlat
.. math:: .. math::
:label: errxy :label: errxy
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt ERRX2} & = {\rm var}(\overline{x}) = {\tt ERRX2} & = {\rm var}(\overline{x}) =
...@@ -261,6 +269,7 @@ where :math:`{\sigma_B}_i` is the local background noise and :math:`g_i` the loc ...@@ -261,6 +269,7 @@ where :math:`{\sigma_B}_i` is the local background noise and :math:`g_i` the loc
.. math:: .. math::
:label: errabtheta :label: errabtheta
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt ERRA}^2 & = & \frac{{\rm var}(\overline{x})+{\rm var}(\overline{y})}{2} {\tt ERRA}^2 & = & \frac{{\rm var}(\overline{x})+{\rm var}(\overline{y})}{2}
...@@ -277,6 +286,7 @@ And the error ellipse parameters are: ...@@ -277,6 +286,7 @@ And the error ellipse parameters are:
.. math:: .. math::
:label: errellipse :label: errellipse
:nowrap:
\begin{eqnarray} \begin{eqnarray}
{\tt ERRCXX} & = & \frac{\cos^2 {\tt ERRTHETA}}{{\tt ERRA}^2} + {\tt ERRCXX} & = & \frac{\cos^2 {\tt ERRTHETA}}{{\tt ERRA}^2} +
......
...@@ -132,11 +132,8 @@ latex_elements = { ...@@ -132,11 +132,8 @@ latex_elements = {
'preamble': r''' 'preamble': r'''
\usepackage{amssymb} \usepackage{amssymb}
\newcommand{\DUrolecredits}{\footnotesize\color{lightgray}\newline} \newcommand{\DUrolecredits}{\footnotesize\color{lightgray}\newline}
''', \usepackage{etoolbox}
\AtBeginEnvironment{figure}{\pretocmd{\hyperlink}{\protect}{}{}}'''
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
} }
# Grouping the document tree into LaTeX files. List of tuples # Grouping the document tree into LaTeX files. List of tuples
......
...@@ -132,11 +132,8 @@ latex_elements = { ...@@ -132,11 +132,8 @@ latex_elements = {
'preamble': r''' 'preamble': r'''
\usepackage{amssymb} \usepackage{amssymb}
\newcommand{\DUrolecredits}{\footnotesize\color{lightgray}\newline} \newcommand{\DUrolecredits}{\footnotesize\color{lightgray}\newline}
''', \usepackage{etoolbox}
\AtBeginEnvironment{figure}{\pretocmd{\hyperlink}{\protect}{}{}}'''
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
} }
# Grouping the document tree into LaTeX files. List of tuples # Grouping the document tree into LaTeX files. List of tuples
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment