IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 2, 2012, 1:10:10 PM (14 years ago)
Author:
eugene
Message:

add satstar profile operations (add & sub profile and/or noise at appropriate locations; skip stars with profiles for some analysis steps, etc; some mods to visualization for testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120805/psphot/src/psphotAddNoise.c

    r33980 r34378  
    7676    }
    7777
     78    psphotVisualShowImage (readout);
     79
    7880    // loop over all source
    7981    for (int i = 0; i < sources->n; i++) {
    8082        pmSource *source = sources->data[i];
     83
     84        // add or subtract noise for a saturated star.  satstars modeled as a radial profile
     85        // need special handling
     86        if (source->mode2 & PM_SOURCE_MODE2_SATSTAR_PROFILE) {
     87            psphotSatstarProfileOp (source, maskVal, FACTOR, PM_MODEL_OP_NOISE, add);
     88            continue;
     89        }
    8190
    8291        // skip sources which were not subtracted
     
    92101    }
    93102
     103    psphotVisualShowImage (readout);
     104
    94105    return true;
    95106}
Note: See TracChangeset for help on using the changeset viewer.