Index: /trunk/doc/pslib/ChangeLogSDRS.tex
===================================================================
--- /trunk/doc/pslib/ChangeLogSDRS.tex	(revision 5036)
+++ /trunk/doc/pslib/ChangeLogSDRS.tex	(revision 5037)
@@ -1,89 +1,89 @@
-%%% $Id: ChangeLogSDRS.tex,v 1.170 2005-09-09 18:30:23 eugene Exp $
+%%% $Id: ChangeLogSDRS.tex,v 1.171 2005-09-13 21:28:03 eugene Exp $
 
 \subsection{Changes from version 00 to version 01}
 
-\begin{verbatim}
-- cosmetic re-organizations
-- specified data types valid for psVector and psImage functions
-- discussion of external libraries
-- minor discussion of threads
-- memory callback routine names changed from ...CB to ...Callback
-- added discussion of freeing/dereferencing components of structures
-- renamed psPrintTraceLevels -> psTracePrintLevels, added prototype
-- added psTraceSetDestination
-- changed psVLogMsg to psLogMsgV
-- changed psSetLogDestination to psLogSetDestination
-- changed psLogSetDestination destination argument to type char *
+\begin{itemize}
+\item cosmetic re-organizations
+\item specified data types valid for psVector and psImage functions
+\item discussion of external libraries
+\item minor discussion of threads
+\item memory callback routine names changed from ...CB to ...Callback
+\item added discussion of freeing/dereferencing components of structures
+\item renamed psPrintTraceLevels -> psTracePrintLevels, added prototype
+\item added psTraceSetDestination
+\item changed psVLogMsg to psLogMsgV
+\item changed psSetLogDestination to psLogSetDestination
+\item changed psLogSetDestination destination argument to type char *
   extended output target concept
-- changed psSetLogFormat to psLogSetFormat
-- extended the concept of psError to define an error stack
-- added psErrorGet, psErrorLast, psErrorClear
-- defined psErr structure
-- added psErrorStackPrint & psErrorStackPrintV
-- added psErrorCodeString
-- added psErrorRegister
-- defined psErrorDescription
-- dropped psStringCopy & psStringNCopy
-- changed naming scheme for psElemType to PS_TYPE_F32 format
-- dropped psFLoatArray, psIntArray, psDoubleArray, psComplexArray, 
+\item changed psSetLogFormat to psLogSetFormat
+\item extended the concept of psError to define an error stack
+\item added psErrorGet, psErrorLast, psErrorClear
+\item defined psErr structure
+\item added psErrorStackPrint \& psErrorStackPrintV
+\item added psErrorCodeString
+\item added psErrorRegister
+\item defined psErrorDescription
+\item dropped psStringCopy \& psStringNCopy
+\item changed naming scheme for psElemType to PS\_TYPE\_F32 format
+\item dropped psFLoatArray, psIntArray, psDoubleArray, psComplexArray, 
   psVoidPtrArray, and associated functions
-- defined psVector, psVectorAlloc, psVectorRealloc, psVectorFree
-- changed naming scheme for psImage union (rows.rows_f32 -> data.F32)
-- added psElemType entry to psImageAlloc and psVectorAlloc
-- added 'which' argument to psDlistSetIterator, psDlistGetNext, psDlistGetPrev
-- added psDlistSort function
-- changed 'bitmask' to 'bitset' 
-- added psBitsetNot function
-- changed output of psSort to psVector
-- changed psArrayStats to psVectorStats
-- dropped robustMeanNvalues, etc from psStats
-- added robustN50, robustNfit, binsize to psStats
-- reduced available options values (psStatsOptions)
-- simplified psHistogram, psHistogramAllocGeneric
-- changed psGetArrayHistogram to psHistogramVector
-- moved Matrix section after Images
-- moved FFT section after Images
-- replaced psMatrixOp with psMatrixMultiply
-- changed FFT function names to have the forms psVectorFFT and psImageFFT
-- replaced the forward and reverse version with an argument to ps...FFT
-- added ps...Real, ps...Imaginary, ps...Complex, ps...Conjugate
-- changed psEvalPolynomial1D to psPolynomial1DEval, (and equivalents)
-- added 'normal' argument to psGaussian
-- added psGaussianDev
-- modified argument lists of psMinimize and psMinimizeChi2
-- changed psGetVectorPolynomial to psVectorFitPolynomial1D
-- dropped psImageFreeChildren
-- modified union naming scheme in p_psScalar to data.S32 format
-- added Dates and Times functions:
-- modified union naming scheme in psMetadataType to data.S32 format
-- modified psMetadataType to use S32, etc types
-- changed arguments of psMetadataItemAlloc to use stdargs to get data value
-- added psMetadataItemAllocV
-- modified psMetadataAppend arglist to match psMetadataItemAlloc
-- changed psImageReadHeader to psMetadataReadHeader (& Fread)
-- moved psMetadataReadHeader to metadata section
-- split psCoord into psPlane and psSphere
-- renamed psCoordXform to psPlaneTransform
-- renamed psDistortion to psPlaneDistortion 
-- defined psSphereTransform, ..Alloc, ..Free
-- changed psCoordTransform to psSphereTransformApply
-- delete psCoordinatesItoE & equivalents
-- added psShereTransformItoE & equivalents
-- defined psProjection, psProjectionType
-- modifed args to psProject, psDeproject
-- changed psGetOffset, psApplyOffset to psSphereGetOffset, psSphereSetOffset
-- dropped overscan entry from psReadout
-- dropped grommit from psExposure
-- added psGrommitAlloc, psGrommitFree
-- changed args to psCoordsSkyToCell & psCoordsSkyToCellQD
-- modified argument lists for most psCoord conversion functions
-- renamed psGetSun, psGetMoon functions to psSunGet, psMoonGet
-- added ps...GetRise, ps...GetSet, psNightLength
-- added psTimeToLunation, psLunationToTime
-- moved some naming issues out of this document, to IPP SRS
-- cleaned metadata discussion
-- change psLog date format to use hyphens
-- change Configuration File Grammar to allow periods in names and strings that begin with non-word characters
-\end{verbatim}
+\item defined psVector, psVectorAlloc, psVectorRealloc, psVectorFree
+\item changed naming scheme for psImage union (rows.rows\_f32 -> data.F32)
+\item added psElemType entry to psImageAlloc and psVectorAlloc
+\item added 'which' argument to psDlistSetIterator, psDlistGetNext, psDlistGetPrev
+\item added psDlistSort function
+\item changed 'bitmask' to 'bitset' 
+\item added psBitsetNot function
+\item changed output of psSort to psVector
+\item changed psArrayStats to psVectorStats
+\item dropped robustMeanNvalues, etc from psStats
+\item added robustN50, robustNfit, binsize to psStats
+\item reduced available options values (psStatsOptions)
+\item simplified psHistogram, psHistogramAllocGeneric
+\item changed psGetArrayHistogram to psHistogramVector
+\item moved Matrix section after Images
+\item moved FFT section after Images
+\item replaced psMatrixOp with psMatrixMultiply
+\item changed FFT function names to have the forms psVectorFFT and psImageFFT
+\item replaced the forward and reverse version with an argument to ps...FFT
+\item added ps...Real, ps...Imaginary, ps...Complex, ps...Conjugate
+\item changed psEvalPolynomial1D to psPolynomial1DEval, (and equivalents)
+\item added 'normal' argument to psGaussian
+\item added psGaussianDev
+\item modified argument lists of psMinimize and psMinimizeChi2
+\item changed psGetVectorPolynomial to psVectorFitPolynomial1D
+\item dropped psImageFreeChildren
+\item modified union naming scheme in p\_psScalar to data.S32 format
+\item added Dates and Times functions:
+\item modified union naming scheme in psMetadataType to data.S32 format
+\item modified psMetadataType to use S32, etc types
+\item changed arguments of psMetadataItemAlloc to use stdargs to get data value
+\item added psMetadataItemAllocV
+\item modified psMetadataAppend arglist to match psMetadataItemAlloc
+\item changed psImageReadHeader to psMetadataReadHeader (\& Fread)
+\item moved psMetadataReadHeader to metadata section
+\item split psCoord into psPlane and psSphere
+\item renamed psCoordXform to psPlaneTransform
+\item renamed psDistortion to psPlaneDistortion 
+\item defined psSphereTransform, ..Alloc, ..Free
+\item changed psCoordTransform to psSphereTransformApply
+\item delete psCoordinatesItoE \& equivalents
+\item added psShereTransformItoE \& equivalents
+\item defined psProjection, psProjectionType
+\item modifed args to psProject, psDeproject
+\item changed psGetOffset, psApplyOffset to psSphereGetOffset, psSphereSetOffset
+\item dropped overscan entry from psReadout
+\item dropped grommit from psExposure
+\item added psGrommitAlloc, psGrommitFree
+\item changed args to psCoordsSkyToCell \& psCoordsSkyToCellQD
+\item modified argument lists for most psCoord conversion functions
+\item renamed psGetSun, psGetMoon functions to psSunGet, psMoonGet
+\item added ps...GetRise, ps...GetSet, psNightLength
+\item added psTimeToLunation, psLunationToTime
+\item moved some naming issues out of this document, to IPP SRS
+\item cleaned metadata discussion
+\item change psLog date format to use hyphens
+\item change Configuration File Grammar to allow periods in names and strings that begin with non-word characters
+\end{itemize}
 
 \subsection{Changes from Revision 01 (19 May 2004) to 02 (22 June 2004)}
@@ -730,5 +730,5 @@
 \end{itemize}
 
-\subsection{Changes from Revision 15 (15 June 2005) to Revision 16 (present)}
+\subsection{Changes from Revision 15 (15 June 2005) to Revision 16 (13 Sept 2005)}
 
 \begin{itemize}
Index: /trunk/doc/pslib/Makefile
===================================================================
--- /trunk/doc/pslib/Makefile	(revision 5036)
+++ /trunk/doc/pslib/Makefile	(revision 5037)
@@ -1,3 +1,3 @@
-# $Id: Makefile,v 1.14 2005-04-05 00:48:40 jhoblitt Exp $
+# $Id: Makefile,v 1.15 2005-09-13 21:28:03 eugene Exp $
 
 PDFLATEX = env TEXINPUTS=.:LaTeX:$(TEXINPUTS): pdflatex
@@ -6,5 +6,5 @@
 help:
 	@echo "USAGE: make (target)"
-	@echo "  targets:  sdrs add all"
+	@echo "  targets:  sdrs add all sdrs-tag add-tag"
 
 sdrs: psLibSDRS.pdf 
@@ -12,6 +12,26 @@
 all : psLibSDRS.pdf psLibADD.pdf
 
-psLibSDRS.pdf: psLibSDRS_Astrom.tex ChangeLogSDRS.tex configFileTests.tex timeTests.tex
-psLibADD.pdf: psLibADD.tex ChangeLogADD.tex
+SDRS = psLibSDRS.tex \
+       ChangeLogSDRS.tex \
+       configFileTests.tex \
+       timeTests.tex \
+       Metadata.ps \
+       earthrot.ps
+
+ADD =  psLibADD.tex \
+       ChangeLogADD.tex \
+       raymodel.f \
+       rotations.ps \
+       earthrot.ps
+
+psLibSDRS.pdf: $(SDRS)
+
+psLibADD.pdf: $(ADD)
+
+sdrs-tag:
+	cvs tag `grep "version{" psLibSDRS.tex | tr "{}" " " | awk '{printf "SDRS-%02d\n", $$2}'` $(SDRS)
+
+add-tag:
+	cvs tag `grep "version{" psLibADD.tex | tr "{}" " " | awk '{printf "ADD-%02d\n", $$2}'` $(ADD)
 
 %.pdf: %.tex
Index: /trunk/doc/pslib/psLibSDRS.tex
===================================================================
--- /trunk/doc/pslib/psLibSDRS.tex	(revision 5036)
+++ /trunk/doc/pslib/psLibSDRS.tex	(revision 5037)
@@ -1,3 +1,3 @@
-%%% $Id: psLibSDRS.tex,v 1.335 2005-09-13 02:34:08 price Exp $
+%%% $Id: psLibSDRS.tex,v 1.336 2005-09-13 21:28:03 eugene Exp $
 \documentclass[panstarrs,spec]{panstarrs}
 
@@ -11,9 +11,9 @@
 \project{Pan-STARRS Image Processing Pipeline}
 \organization{Institute for Astronomy}
-\version{15}
+\version{16}
 \docnumber{PSDC-430-007}
 
 % \setcounter{tocdepth}{5} % lowest level to be included in toc
-\setlength{\topsep}{-2pt}
+% \setlength{\topsep}{-2pt}
   
 \begin{document}
@@ -47,4 +47,5 @@
 14 & 2005 Apr 27 & final for cycle 6 \\ \hline
 15 & 2005 Jun 15 & draft for cycle 7 \\ \hline
+16 & 2005 Sep 13 & final for cycle 8 \\ \hline
 \RevisionsEnd
 
@@ -3176,5 +3177,5 @@
 \code{PS_TYPE_F64}.
 
-\tbd{What's the \code{stats} for???}
+\tbd{What's the stats for???}
 
 If the \code{index} is beyond the range of the \code{table},
@@ -7020,7 +7021,4 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-%%% Astronomical Images and Astrometry
-% \include{psLibSDRS_Astrom}
-
 \subsection{Astronomical objects}
 
