Changeset 7991 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Jul 26, 2006, 5:52:15 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r7990 r7991 1 %%% $Id: psLibSDRS.tex,v 1.42 3 2006-07-26 22:10:38price Exp $1 %%% $Id: psLibSDRS.tex,v 1.424 2006-07-27 03:52:15 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 4791 4791 so we specify functions to convert between strings and \code{psStats}: 4792 4792 \begin{prototype} 4793 psStatsOptions psStatsOptionFromString(const char *string); 4794 psString psStatsOptionToString(psStatsOptions option); 4793 4795 psStats *psStatsFromString(const char *string); 4794 4796 psString psStatsToString(const psStats *stats); 4795 4797 \end{prototype} 4798 \code{psStatsOptionFromString} shall parse the \code{string} for a 4799 single statistics option. The options shall be specified by their 4800 \code{psStatsOptions} enum name, without the leading \code{PS_STAT_}. 4801 In addition, \code{SAMPLE_} may be excluded for the user's 4802 convenience, and \code{ROBUST} shall refer to a \code{ROBUST_MEDIAN}, 4803 \code{FITTED} to a \code{FITTED_MEAN}, and \code{CLIPPED} to a 4804 \code{CLIPPED_MEAN}. \code{psStatsOptionToString} shall translate in 4805 the reverse direction, returning the appropriate string given the 4806 \code{option} (which may be a blend of options). 4796 4807 \code{psStatsFromString} shall parse the input \code{string} for 4797 statistics options. Multiple options may be included in the same 4798 string, separated by spaces, commas or semi-colons. The options shall 4799 be specified by their \code{psStatsOptions} enum, without the leading 4800 \code{PS_STAT_}. In addition, \code{SAMPLE_} may be excluded for the 4801 user'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 4804 translate in the reverse direction. 4808 statistics options, where multiple options may be included in the same 4809 string, separated by spaces, commas or semi-colons. 4810 \code{psStatsToString} shall translate in the reverse direction. 4805 4811 4806 4812 \begin{prototype}
Note:
See TracChangeset
for help on using the changeset viewer.
