IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7990


Ignore:
Timestamp:
Jul 26, 2006, 12:10:38 PM (20 years ago)
Author:
Paul Price
Message:

Adding psStatsFromString and psStatsToString, which are already coded.

File:
1 edited

Legend:

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

    r7955 r7990  
    1 %%% $Id: psLibSDRS.tex,v 1.422 2006-07-25 00:26:51 eugene Exp $
     1%%% $Id: psLibSDRS.tex,v 1.423 2006-07-26 22:10:38 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    47884788\end{prototype}
    47894789
     4790It is convenient for the (end-)user to refer to the statistics by strings,
     4791so we specify functions to convert between strings and \code{psStats}:
     4792\begin{prototype}
     4793psStats *psStatsFromString(const char *string);
     4794psString psStatsToString(const psStats *stats);
     4795\end{prototype}
     4796\code{psStatsFromString} shall parse the input \code{string} for
     4797statistics options.  Multiple options may be included in the same
     4798string, separated by spaces, commas or semi-colons.  The options shall
     4799be specified by their \code{psStatsOptions} enum, without the leading
     4800\code{PS_STAT_}.  In addition, \code{SAMPLE_} may be excluded for the
     4801user's convenience, and \code{ROBUST} shall refer to a
     4802\code{ROBUST_MEDIAN}, \code{FITTED} to a \code{FITTED_MEAN}, and
     4803\code{CLIPPED} to a \code{CLIPPED_MEAN}.  \code{psStatsToString} shall
     4804translate in the reverse direction.
     4805
    47904806\begin{prototype}
    47914807long psVectorCountPixelMask (psVector *mask, psMaskType value);
Note: See TracChangeset for help on using the changeset viewer.