Changeset 6427 for trunk/psphot/src/psphotSourceFits.c
- Timestamp:
- Feb 14, 2006, 6:33:17 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceFits.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceFits.c
r6379 r6427 45 45 static pmModelType modelTypeEXT; 46 46 47 bool psphotInitLimitsEXT (psMetadata *config , psStats *sky) {47 bool psphotInitLimitsEXT (psMetadata *config) { 48 48 49 49 bool status; … … 56 56 char *modelNameEXT = psMetadataLookupStr (&status, config, "EXT_MODEL"); 57 57 modelTypeEXT = pmModelSetType (modelNameEXT); 58 psphotInitRadiusEXT (config, sky,modelTypeEXT);58 psphotInitRadiusEXT (config, modelTypeEXT); 59 59 60 60 return true; … … 250 250 } 251 251 252 model->params->data.F32[1] = blend->peak->counts; 252 // XXX assume local sky is 0.0? 253 model->params->data.F32[1] = blend->moments->Peak - blend->moments->Sky; 253 254 model->params->data.F32[2] = blend->peak->x; 254 255 model->params->data.F32[3] = blend->peak->y;
Note:
See TracChangeset
for help on using the changeset viewer.
