Changeset 12601
- Timestamp:
- Mar 27, 2007, 9:05:13 AM (19 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 3 edited
-
psphotMagnitudes.c (modified) (1 diff)
-
psphotOutput.c (modified) (1 diff)
-
psphotSourceFits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotMagnitudes.c
r12592 r12601 13 13 pmSourceMagnitudesInit (recipe); 14 14 15 // XXX require (assert)that we have a background model, or15 // XXX require that we have a background model, or 16 16 // allow it to be missing, setting local sky to 0.0? 17 18 // Get enough information to return sky level 19 assert(background != NULL); 17 PS_ASSERT (background, false); 20 18 21 19 // the binning details are saved on the analysis metadata 22 20 psImageBinning *binning = psMetadataLookupPtr(&status, recipe, "PSPHOT.BACKGROUND.BINNING"); 23 assert (status == true);21 PS_ASSERT (status, false); 24 22 25 23 bool IGNORE_GROWTH = psMetadataLookupBool (&status, recipe, "IGNORE_GROWTH"); -
trunk/psphot/src/psphotOutput.c
r12546 r12601 81 81 82 82 pmFPAfile *input = psMetadataLookupPtr (&status, config->files, "PSPHOT.INPUT"); 83 assert (status);83 PS_ASSERT (status, false); 84 84 85 85 // determine PHOTCODE from fpa & view, overwrite in recipe 86 // XXX test this:87 86 char *photcode = pmConceptsPhotcodeForView (config, input, view); 88 assert (photcode);87 PS_ASSERT (photcode, false); 89 88 90 89 psMetadataAddStr (recipe, PS_LIST_TAIL, "PHOTCODE", PS_META_REPLACE, "photcode from FPA concepts", photcode); -
trunk/psphot/src/psphotSourceFits.c
r11702 r12601 363 363 // use the source moments, etc to guess basic model parameters 364 364 pmModel *EXT = pmSourceModelGuess (source, modelTypeEXT); 365 assert (EXT !=NULL);365 PS_ASSERT (EXT, NULL); 366 366 367 367 // if (isnan(EXT->params->data.F32[1])) psAbort("nan in ext fit");
Note:
See TracChangeset
for help on using the changeset viewer.
