IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15119


Ignore:
Timestamp:
Sep 29, 2007, 12:19:44 PM (19 years ago)
Author:
eugene
Message:

plots in range based on measured mean, sigma

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotDiagnosticPlots.c

    r14939 r15119  
    3939    }
    4040
    41     psStats *stats = psStatsAlloc (PS_STAT_MAX | PS_STAT_MIN | PS_STAT_ROBUST_MEDIAN);
     41    psStats *stats = psStatsAlloc (PS_STAT_MAX | PS_STAT_MIN);
    4242    psVectorStats (stats, values, NULL, NULL, 0);
    43     float robustMedian = stats->robustMedian;
    44     float robustStdev  = stats->robustStdev;
    4543
    4644    psHistogram *histogram = psHistogramAlloc (stats->min, stats->max, 1000);
     
    9492
    9593    // +/- 10 sigma
    96     graphdata.xmin = robustMedian - 10.0*robustStdev;
    97     graphdata.xmax = robustMedian + 10.0*robustStdev;
     94    graphdata.xmin = mean - 10.0*sigma;
     95    graphdata.xmax = mean + 10.0*sigma;
    9896
    9997    histogram = psHistogramAlloc (graphdata.xmin, graphdata.xmax, 100);
Note: See TracChangeset for help on using the changeset viewer.