IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 26, 2013, 5:51:56 AM (13 years ago)
Author:
eugene
Message:

fixing the non-poisson chisq for pcm fits; normalize sky if we as for a normalized model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psModules/src/objects/pmPCMdata.c

    r36307 r36314  
    597597
    598598    // modelFlux always has unity normalization (I0 = 1.0)
    599     pmModelAdd (source->modelFlux, source->maskObj, model, PM_MODEL_OP_FULL | PM_MODEL_OP_NORM, maskVal);
     599    // pmModelAdd (source->modelFlux, source->maskObj, model, PM_MODEL_OP_FULL | PM_MODEL_OP_NORM, maskVal);
     600    pmModelAdd (source->modelFlux, NULL, model, PM_MODEL_OP_FULL | PM_MODEL_OP_SKY | PM_MODEL_OP_NORM, maskVal);
    600601
    601602    // convolve the model image with the PSF
Note: See TracChangeset for help on using the changeset viewer.