# hpStat

Compute descriptive statistics of a pixel value list

## Contents

- Syntax
- Input Arguments
- Output Arguments
- Example

## Syntax

    stats = hpStat(v)

## Input Arguments

    v         array of HEALPix pixel values

## Output Arguments

    stats     struct
              field     contents
              ntot      total number of data points
              nvalid    number n of valid data points
              mind      minimum of valid data
              maxd      maximum of valid data
              average   average of valid points
              absdev    absolute deviation
              var       variance
              stddev    standard deviation
              skew      skewness factor
              kurt      kurtosis factor

## Example

display stats of Y_3^1

    v = ylm(32,3,1,'real',true);
    stats = hpStat(abs(v))

    stats =

          ntot: 12288
        nValid: 12288
          mind: 1.0813e-18
          maxd: 0.6289
          mean: 0.2272
        absdev: 0.1421
           var: 0.0280
        stddev: 0.1673
          skew: 0.5111
          kurt: 2.2410

Copyright 2010-2011 Lee Samuel Finn. Terms of Use.