IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39509


Ignore:
Timestamp:
Mar 31, 2016, 9:50:01 AM (10 years ago)
Author:
eugene
Message:

use SAMPLE_MEDIAN and SAMPLE_QUARTILE for default output scaling instead of ROBUST (too frequently go insane)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsScale.c

    r37050 r39509  
    2828
    2929
    30 #define MEAN_STAT PS_STAT_ROBUST_MEDIAN // Statistic to use for mean
    31 #define STDEV_STAT PS_STAT_ROBUST_STDEV // Statistic to use for stdev
     30// EAM 20160328 : I think ROBUST_MEDIAN & ROBUST_STDEV are too frequently wrong to use. 
     31// SAMPLE_MEDIAN and SAMPLE_QUARTILE are probably safer in general.  possible downsize:
     32// sample_median may be slow (does a sort)
     33
     34//#define MEAN_STAT PS_STAT_ROBUST_MEDIAN // Statistic to use for mean
     35//#define STDEV_STAT PS_STAT_ROBUST_STDEV // Statistic to use for stdev
     36
     37#define MEAN_STAT PS_STAT_SAMPLE_MEDIAN // Statistic to use for mean
     38#define STDEV_STAT PS_STAT_SAMPLE_QUARTILE // Statistic to use for stdev
    3239
    3340#define DESPERATE_MEAN_STAT PS_STAT_SAMPLE_MEDIAN // Statistic to use for mean when deperate
Note: See TracChangeset for help on using the changeset viewer.