IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2025, 3:30:24 PM (11 months ago)
Author:
tdeboer
Message:

updates to stats functions for 2D overscan correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psStats.h

    r31152 r42888  
     1
    12/* @file  psStats.h
    23 * @brief basic statistical operations
     
    4344    PS_STAT_FITTED_MEAN     = 0x001000, ///< Fitted Mean
    4445    PS_STAT_FITTED_STDEV    = 0x002000, ///< Fitted Standard Deviation
     46    PS_STAT_CLIPPED_MEDIAN  = 0x020000, ///< Clipped Median
    4547    PS_STAT_CLIPPED_MEAN    = 0x040000, ///< Clipped Mean
    4648    PS_STAT_CLIPPED_STDEV   = 0x080000, ///< Clipped Standard Deviation
     
    7072    long fittedNfit;                   ///< Number of points in Gaussian fit; XXX: This is currently unused
    7173    double clippedMean;                ///< Nsigma clipped mean
     74    double clippedMedian;              ///< Nsigma clipped median
    7275    double clippedStdev;               ///< standard deviation after clipping
    7376    long clippedNvalues;               ///< Number of data points used for clipped mean.
     
    9093 */
    9194bool psVectorStats(
    92     psStats* stats,            ///< stats structure defines stats to be calculated and how
     95    psStats *stats,            ///< stats structure defines stats to be calculated and how
    9396    const psVector* in,                 ///< Vector to be analysed.
    9497    const psVector* errors,             ///< Errors.
     
    103106 */
    104107#ifdef DOXYGEN
    105 psStats* psStatsAlloc(
     108psStats *psStatsAlloc(
    106109    psStatsOptions options              ///< Statistics to calculate
    107110);
    108111#else // ifdef DOXYGEN
    109 psStats* p_psStatsAlloc(
     112psStats *p_psStatsAlloc(
    110113    const char *file,                   ///< File of caller
    111114    unsigned int lineno,                ///< Line number of caller
Note: See TracChangeset for help on using the changeset viewer.