IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19168


Ignore:
Timestamp:
Aug 22, 2008, 1:43:32 PM (18 years ago)
Author:
Paul Price
Message:

Need more iterations!

File:
1 edited

Legend:

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

    r19009 r19168  
    3131
    3232
    33 //#define TESTING                         // Enable test output
     33#define TESTING                         // Enable test output
    3434#define PEAK_FLUX 1.0e4                 // Peak flux for each source
    3535#define SKY_VALUE 0.0e0                 // Sky value for fake image
     
    3737#define WEIGHT_FACTOR 10.0              // Factor to multiply image by to get weighting
    3838#define PSF_STATS PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV // Statistics options for measuring PSF
    39 
     39#define SOURCE_FIT_ITERATIONS 100       // Number of iterations for source fitting
    4040
    4141
     
    277277    options->psfFieldYo = 0;
    278278
    279     pmSourceFitModelInit(50, 0.01, WEIGHT_VAL, true);
     279    pmSourceFitModelInit(SOURCE_FIT_ITERATIONS, 0.01, WEIGHT_VAL, true);
    280280
    281281    pmPSFtry *try = pmPSFtryModel(fakes, modelName, options, 0, 0xff);
Note: See TracChangeset for help on using the changeset viewer.