IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10587


Ignore:
Timestamp:
Dec 8, 2006, 2:31:16 PM (20 years ago)
Author:
eugene
Message:

updates to psStats

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r8793 r10587  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.212 2006-09-12 03:49:25 jhoblitt Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.213 2006-12-09 00:31:16 eugene Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    923923\item add \code{psMetadataConfigPrint()}
    924924\end{itemize}
     925
     926\subsection{Changes from Revision 21 (24 July 2006) to present}
     927
     928\begin{itemize}
     929\item dropped requirement for \code{psTimerStop} to return max elapsed time.
     930\item clarified return values for \code{psTimerMark} and \code{psTimerClear} in case of errors.
     931\item changed \code{psVectorStats} to return a bool
     932\item added \code{psStats->result}
     933\end{itemize}
  • trunk/doc/pslib/psLibSDRS.tex

    r9786 r10587  
    1 %%% $Id: psLibSDRS.tex,v 1.438 2006-10-30 21:54:44 eugene Exp $
     1%%% $Id: psLibSDRS.tex,v 1.439 2006-12-09 00:31:16 eugene Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    48474847
    48484848\begin{prototype}
    4849 psStats *psVectorStats(psStats *stats, const psVector *in, const psVector *errors,
    4850                        const psVector *mask, psMaskType maskVal);
     4849bool psVectorStats(psStats *stats, const psVector *in, const psVector *errors,
     4850                   const psVector *mask, psMaskType maskVal);
    48514851\end{prototype}
    48524852%
     
    49094909    double binsize;                     ///< binsize for robust fit (input/output)
    49104910    long   nSubsample;                  ///< maximum number of measuremenst (input)
    4911     psStatsOptions options;             ///< bitmask of calculated values
     4911    psStatsOptions options;             ///< bitmask of desired values
     4912    psStatsOptions results;             ///< bitmask of calculated values
    49124913} psStats;
    49134914\end{datatype}
     
    71117112psF64 psTimerMark(char *name);
    71127113psF64 psTimerClear(char *name);
    7113 psF64 psTimerStop(void);
     7114bool psTimerStop(void);
    71147115\end{prototype}
    71157116
     
    71177118timers, under the supplied \code{name}.  \code{psTimerMark} shall
    71187119return the elapsed time, in seconds, for the timer specified by
    7119 \code{name}.  \code{psTimerClear} resets the named timer.
    7120 \code{psTimerStop} shall free all memory associated with all timers,
    7121 so that no memory is leaked, and return the maximum time expended.
     7120\code{name}, or NAN if the timer does not exist.  \code{psTimerClear}
     7121resets the named timer, return the elapsed time on that timer so far,
     7122or NAN if not currently defined.  \code{psTimerStop} shall free all
     7123memory associated with all timers, so that no memory is leaked.
    71227124
    71237125%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Note: See TracChangeset for help on using the changeset viewer.