Index: trunk/doc/release.2015/ps1.analysis/analysis.tex
===================================================================
--- trunk/doc/release.2015/ps1.analysis/analysis.tex	(revision 40711)
+++ trunk/doc/release.2015/ps1.analysis/analysis.tex	(revision 40719)
@@ -29,5 +29,6 @@
 
 %\def\picdir{/home/eugene/chipresid.20140404}
-\def\picdir{pics}
+%\def\picdir{pics}
+\def\picdir{.}
 
 % Pick a terse version of the title here;
@@ -873,7 +874,8 @@
 are calculated as discussed below.
 
+% uses plots.sh in this directory
 \begin{figure}[htbp]
   \begin{center}
- \includegraphics[width=\hsize,clip]{pics/peaks}
+ \includegraphics[width=\hsize,clip]{\picdir/peaks.pdf}
   \caption{\label{fig:peaks} Illustration of peak finding and culling peaks within a
     footprint.  Insignificant peaks within the footprint of a brighter
@@ -932,8 +934,8 @@
 \label{sec:moments}
 
+% /data/kukui.3/eugene/psphot.20161214/mana.sh
 \begin{figure}[htbp]
   \begin{center}
-% \includegraphics[width=0.6\hsize]{{pics/FWHM.smooth.trend.ps1}.\plotext}
-  \includegraphics[width=0.95\hsize]{{pics/FWHM.smooth.trend.ps1}.png}
+  \includegraphics[width=0.95\hsize]{{\picdir/FWHM.smooth.trend.ps1}.\plotext}
   \caption{\label{fig:moments.window} Example of the biases
     encountered when measuring the second moments.  A simulated image
@@ -1215,7 +1217,8 @@
 % buonanno : 1983A&AS...51...83B
 
+% /data/kukui.3/eugene/psphot.20161214/mana.sh
 \begin{figure}[htbp]
   \begin{center}
-  \includegraphics[width=\hsize]{{pics/radial.profiles}.\plotext}
+  \includegraphics[width=\hsize]{{\picdir/radial.profiles}.\plotext}
   \caption{\label{fig:radial.profiles} Radial profiles of stellar images from PS1.  These two
     profiles illustrate the radial trend of the PS1 PSFs for a star
@@ -1313,7 +1316,8 @@
 \code{PM_SOURCE_MODE_SATURATED}.
 
+% /data/kukui.3/eugene/psphot.20161214/mana.sh
 \begin{figure}[htbp]
   \begin{center}
-  \includegraphics[width=\hsize]{{pics/moment.class}.\plotext}
+  \includegraphics[width=\hsize]{{\picdir/moment.class}.\plotext}
   \caption{\label{fig:moment.class} Illustration of PSF star selection
     using the second moments in $X_{\rm ccd}$ and $Y_{\rm ccd}$
@@ -1332,5 +1336,4 @@
 % Madsen:
 %% http://www2.imm.dtu.dk/pubdb/views/edoc_download.php/3215/pdf/imm3215.pdf
-% Press
 
 All candidate PSF sources are then fitted with the selected source
@@ -1990,7 +1993,8 @@
 saturation.  
 
+% /data/kukui.1/eugene/psphot.examples.20190423/compare.sh
 \begin{figure*}[htbp]
   \begin{center}
- \includegraphics[width=\hsize,clip]{pics/{mag.resid.psf}.png}
+ \includegraphics[width=\hsize,clip]{\picdir/{mag.resid.psf}.\plotext}
   \caption{\label{fig:mag.resid.psf} PSF Photometry demonstration.
     The bottom panel shows the difference of the measured PSF
@@ -2011,7 +2015,8 @@
 \end{figure*}
 
+% /data/kukui.1/eugene/psphot.examples.20190423/compare.sh
 \begin{figure*}[htbp]
   \begin{center}
- \includegraphics[width=\hsize,clip]{pics/{mag.resid.aper}.png}
+ \includegraphics[width=\hsize,clip]{\picdir/{mag.resid.aper}.\plotext}
   \caption{\label{fig:mag.resid.aper} Aperture Photometry
     demonstration.  The plots show identical measurements to those in
@@ -2116,5 +2121,5 @@
 set of 18 images obtained by PS1 19 February 2010.  These images were
 obtained for the stellar transit survey ``Pan-Planets''
-\citep{2016A&A...587A..49O} and thus target a relatively dense
+\citep{2016AA...587A..49O} and thus target a relatively dense
 Galactic plane field.  The observations were obtained with
 approximately consistent pointing, reducing our sensitivity to
@@ -2675,8 +2680,9 @@
 magnitude than DeVaucouleur profile galaxies.  
 
+% /data/kukui.1/eugene/galaxies.20190425/tap_psphot_galaxies.pro : go.bigtest.ckgalaxy
 \begin{figure}[htbp]
   \begin{center}
- \includegraphics[width=\hsize,clip]{pics/{galaxy.exp.complete}.png}
- \includegraphics[width=\hsize,clip]{pics/{galaxy.dev.complete}.png}
+ \includegraphics[width=\hsize,clip]{\picdir/{galaxy.exp.complete}.\plotext}
+ \includegraphics[width=\hsize,clip]{\picdir/{galaxy.dev.complete}.\plotext}
   \caption{\label{fig:galaxy.complete} Top: Completeness curves for
     simulated galaxies with Exponential profiles.  Bottom:
@@ -2715,7 +2721,8 @@
 accurate for the larger galaxies.
 
+% /data/kukui.1/eugene/galaxies.20190425/tap_psphot_galaxies.pro : go.bigtest.ckgalaxy
 \begin{figure*}[htbp]
   \begin{center}
- \includegraphics[width=\hsize,clip]{pics/{galaxy.exp.params}.png}
+ \includegraphics[width=\hsize,clip]{\picdir/{galaxy.exp.params}.\plotext}
   \caption{\label{fig:exp.params} Parameter recovery for simulated
     galaxies with Exponential profiles.  }
@@ -2723,7 +2730,8 @@
 \end{figure*}
 
+% /data/kukui.1/eugene/galaxies.20190425/tap_psphot_galaxies.pro : go.bigtest.ckgalaxy
 \begin{figure*}[htbp]
   \begin{center}
- \includegraphics[width=\hsize,clip]{pics/{galaxy.dev.params}.png}
+ \includegraphics[width=\hsize,clip]{\picdir/{galaxy.dev.params}.\plotext}
   \caption{\label{fig:dev.params} Parameter recovery for simulated
     galaxies with DeVaucouleur profiles.  } 
@@ -3215,6 +3223,6 @@
 
 \bibliographystyle{apj}
-\bibliography{lib}{}
-%\input{analysis.bbl}
+%\bibliography{lib}{}
+\input{analysis.bbl}
 
 \end{document}
