IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 15, 2009, 5:05:25 PM (17 years ago)
Author:
Paul Price
Message:

Fitting a trend of chi2 as a function of flux was often failing when fitting a PSF for the fake sources in pmPSFEnvelope (because all sources have similar flux). Made this part optional via an entry in pmPSFOptions (default true).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmPSFEnvelope.c

    r23975 r24206  
    3333
    3434
    35 //#define TESTING                         // Enable test output
     35#define TESTING                         // Enable test output
    3636#define PEAK_FLUX 1.0e4                 // Peak flux for each source
    3737#define SKY_VALUE 0.0e0                 // Sky value for fake image
     
    327327    options->psfFieldXo = 0;
    328328    options->psfFieldYo = 0;
     329    options->chiFluxTrend = false;      // All sources have similar flux, so fitting a trend often fails
    329330
    330331    pmSourceFitModelInit(SOURCE_FIT_ITERATIONS, 0.01, VARIANCE_VAL, true);
Note: See TracChangeset for help on using the changeset viewer.