IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25604


Ignore:
Timestamp:
Sep 27, 2009, 10:46:45 AM (17 years ago)
Author:
eugene
Message:

noise was being adjusted by the SQ of the central intensity; reduce to be linear in Io

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src/psphotAddNoise.c

    r25409 r25604  
    5050
    5151        // skip sources which were not subtracted
     52        // NOTE: this bit is not modified when pmSourceOp applies to noise
    5253        if (!(source->tmpFlags & PM_SOURCE_TMPF_SUBTRACTED)) continue;
    5354
     
    7980        axes.minor *= SIZE;
    8081        newshape = psEllipseAxesToShape (axes);
    81         PAR[PM_PAR_I0]  = FACTOR*PS_SQR(oldI0);
     82        PAR[PM_PAR_I0]  = FACTOR*oldI0;
    8283        PAR[PM_PAR_SXX] = newshape.sx;
    8384        PAR[PM_PAR_SYY] = newshape.sy;
Note: See TracChangeset for help on using the changeset viewer.