Changeset 29936 for trunk/psphot/src/psphotModelBackground.c
- Timestamp:
- Dec 5, 2010, 9:42:25 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotModelBackground.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20101103/psphot (added) merged: 29660,29824-29825,29904,29914,29918,29920
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotModelBackground.c
r28013 r29936 383 383 } 384 384 385 // XXX supply filename or keep PSPHOT.INPUT fixed?386 385 bool psphotModelBackground (pmConfig *config, const pmFPAview *view, const char *filerule) 387 386 { 388 bool status = false; 389 390 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 391 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 387 int num = psphotFileruleCount(config, filerule); 392 388 393 389 // loop over the available readouts 394 390 for (int i = 0; i < num; i++) { 395 391 if (!psphotModelBackgroundReadoutFileIndex(config, view, filerule, i)) { 396 psError (PSPHOT_ERR_CONFIG, false, "failed to model background for PSPHOT.INPUT entry %d", i);392 psError (PSPHOT_ERR_CONFIG, false, "failed to model background for %s entry %d", filerule, i); 397 393 return false; 398 394 }
Note:
See TracChangeset
for help on using the changeset viewer.
