IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2005, 3:23:24 AM (21 years ago)
Author:
eugene
Message:

mask/noise are working

File:
1 edited

Legend:

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

    r4216 r4251  
    1010    psStats     *sky     = NULL;
    1111
    12     psLogArguments (&argc, argv);
    13     psTraceArguments (&argc, argv);
    1412    config = load_args (&argc, argv);
    1513
     
    3129
    3230    // use stellar objects SN > PSF_SN_LIM
    33     psf = choose_psf_model (imdata, config, sources);
     31    psf = choose_psf_model (config, sources);
    3432
    35     if (0) {
    36       psImage *zap = psImageAlloc (imdata->image->numCols, imdata->image->numRows, PS_TYPE_F32);
    37       psImageInit (zap, 0);
    38       find_defects (zap, sources, config, psf);
    39       DumpImage (zap, argv[2]);
    40       exit (0);
    41     }
     33    // identify defects based on 1-pixel wide x and y direction 2nd moments
     34    find_defects (zap, sources, config, psf);
    4235
    4336    // test PSF on all except SATURATE and DEFECT (artifacts)
Note: See TracChangeset for help on using the changeset viewer.