IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7558


Ignore:
Timestamp:
Jun 13, 2006, 5:47:19 PM (20 years ago)
Author:
Paul Price
Message:

Changes to sychronise with current implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r7557 r7558  
    1 %%% $Id: psLibSDRS.tex,v 1.404 2006-06-14 03:42:37 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.405 2006-06-14 03:47:19 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    44384438
    44394439\begin{prototype}
    4440 bool psFitsWriteTable(psFits* fits, const psMetadata *header, const psArray* table
     4440bool psFitsWriteTable(psFits* fits, const psMetadata *header, const psArray* table,
    44414441                      const char *extname);
    44424442\end{prototype}
     
    48894889Of course, we require the appropriate constructors and destructor:
    48904890\begin{prototype}
    4891 psSpline1D *psSpline1DAlloc(unsigned int n, unsigned int order, float min, float max);
    4892 psSpline1D *psSpline1DAllocGeneric(const psVector *bounds, unsigned int order);
    4893 \end{prototype}
    4894 
    4895 \code{psSpline1DAlloc} shall allocate and return a \code{psSpline1D},
    4896 setting the \code{knots} on the basis of the input number of spline
    4897 pieces, \code{n}, and the minimum (\code{min}) and maximum
    4898 (\code{max}) data values.  The spline pieces shall be of the specified
    4899 \code{order}.
     4891psSpline1D *psSpline1DAlloc(void);
     4892\end{prototype}
     4893
     4894\code{psSpline1DAlloc} shall allocate and return a \code{psSpline1D}.
     4895Since the number of spline pieces and locations of the knots depends
     4896on the input data, we do not set those here, but leave them to be set
     4897by the fitting function.
    49004898
    49014899\code{psSpline1DAllocGeneric} shall allocate and return a
     
    57905788on the coordinate x,y.
    57915789\begin{prototype}
    5792 psPolynomial2D *psImageBicubeFit (psImage *image, int x, int y);
     5790psPolynomial2D *psImageBicubeFit(const psImage *image, int x, int y);
    57935791\end{prototype}
    57945792
     
    57965794polynomial representing the fit to 9 pixels of an image.
    57975795\begin{prototype}
    5798 psPlane psImageBicubeMin (psPolynomial2D *poly);
     5796psPlane psImageBicubeMin(const psPolynomial2D *poly);
    57995797\end{prototype}
    58005798
     
    61536151only add elements above the diagonal.
    61546152\begin{prototype}
    6155 void psSparseMatrixElement(psSparse *sparse, int i, int j, float value);
     6153bool psSparseMatrixElement(psSparse *sparse, int i, int j, float value);
    61566154\end{prototype}
    61576155
     
    61726170function before attempting to solve, but after populating, the matrix and vector:
    61736171\begin{prototype}
    6174 void psSparseResort(psSparse *sparse);
     6172bool psSparseResort(psSparse *sparse);
    61756173\end{prototype}
    61766174
     
    61786176\bar{Bf}$.  For the value of $\bar{x}$, a good starting guess is the vector $\bar{Bf}$
    61796177\begin{prototype}
    6180 psVector *psSparseSolve(psVector *guess, psSparseConstraint constraint,
     6178psVector *psSparseSolve(psVector *output, psSparseConstraint constraint,
    61816179                        const psSparse *sparse, int Niter);
    61826180\end{prototype}
Note: See TracChangeset for help on using the changeset viewer.