Changeset 21524 for trunk/ppSub/src/ppSubReadout.c
- Timestamp:
- Feb 17, 2009, 2:31:20 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubReadout.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubReadout.c
r21424 r21524 6 6 * 7 7 * @author IfA 8 * @version $Revision: 1.11 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2009-02- 09 21:26:05$8 * @version $Revision: 1.113 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-18 00:31:20 $ 10 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 11 */ 12 13 #ifdef HAVE_CONFIG_H 14 #include <config.h> 15 #endif 16 17 #include <stdio.h> 18 #include <pslib.h> 19 #include <psmodules.h> 12 20 13 21 #include "ppSub.h" … … 17 25 psTimerStart("PPSUB_MATCH"); 18 26 19 if (!ppSubSetMasks (config, view)) {20 psError(PS_ERR_UNKNOWN, false, "Unable to s ubtract background.");27 if (!ppSubSetMasks(config, view)) { 28 psError(PS_ERR_UNKNOWN, false, "Unable to set masks."); 21 29 return false; 22 30 } 23 31 24 if (!ppSubMatchPSFs (config, view)) {25 psError(PS_ERR_UNKNOWN, false, "Unable to subtract background.");32 if (!ppSubMatchPSFs(config, view)) { 33 psError(PS_ERR_UNKNOWN, false, "Unable to match PSFs."); 26 34 return false; 27 35 } 28 36 29 if (!ppSubDefineOutput (config, view)) { 30 psError(PS_ERR_UNKNOWN, false, "Unable to subtract background."); 31 return false; 32 } 33 34 if (!ppSubVarianceFactors (config, stats, view)) { 35 psError(PS_ERR_UNKNOWN, false, "Unable to subtract background."); 37 if (!ppSubDefineOutput(config, view)) { 38 psError(PS_ERR_UNKNOWN, false, "Unable to define output."); 36 39 return false; 37 40 } 38 41 39 42 if (!ppSubMakePSF(config, view)) { 40 psError(PS_ERR_UNKNOWN, false, "Unable to subtract background.");43 psError(PS_ERR_UNKNOWN, false, "Unable to generate PSF."); 41 44 return false; 42 45 } 43 46 44 if (!ppSubReadoutSubtract (config, view)) {45 psError(PS_ERR_UNKNOWN, false, "Unable to subtract background.");47 if (!ppSubReadoutSubtract(config, view)) { 48 psError(PS_ERR_UNKNOWN, false, "Unable to subtract images."); 46 49 return false; 47 50 } … … 53 56 } 54 57 55 if (!ppSubReadoutPhotometry (config, stats, view)) {56 psError(PS_ERR_UNKNOWN, false, "Unable to subtract background.");58 if (!ppSubReadoutPhotometry(config, stats, view)) { 59 psError(PS_ERR_UNKNOWN, false, "Unable to perform photometry."); 57 60 return false; 58 61 } 59 62 60 if (!ppSubReadoutUpdate (config, view)) {61 psError(PS_ERR_UNKNOWN, false, "Unable to subtract background.");63 if (!ppSubReadoutUpdate(config, stats, view)) { 64 psError(PS_ERR_UNKNOWN, false, "Unable to update."); 62 65 return false; 63 66 }
Note:
See TracChangeset
for help on using the changeset viewer.
