Changeset 23719 for branches/pap/ppSub/src/ppSubReadoutStats.c
- Timestamp:
- Apr 6, 2009, 6:52:51 PM (17 years ago)
- Location:
- branches/pap/ppSub/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSubReadoutStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppSub/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppSubKernel 12 ppSubErrorCodes.h 13 ppSubErrorCodes.c
-
- Property svn:ignore
-
branches/pap/ppSub/src/ppSubReadoutStats.c
r23711 r23719 1 #ifdef HAVE_CONFIG_H 2 #include <config.h> 3 #endif 1 4 2 bool ppSubReadoutStats(pmConfig *config, ppSubData *data, const pmFPAview *view) 5 #include <pslib.h> 6 #include <psmodules.h> 7 #include <ppStats.h> 8 9 #include "ppSub.h" 10 11 12 bool ppSubReadoutStats(pmConfig *config, ppSubData *data) 3 13 { 4 14 psAssert(config, "Require configuration"); 5 15 psAssert(data, "Require data"); 6 psAssert(view, "Require view");7 16 8 17 if (!data->statsFile) { … … 14 23 if (!output) { 15 24 psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find file PPSUB.OUTPUT.\n"); 16 goto ERROR;25 return false; 17 26 } 18 27 psImageMaskType maskValue = pmConfigMaskGet("MASK.VALUE", config); 28 pmFPAview *view = ppSubViewReadout(); // View to readout 19 29 ppStatsFPA(data->stats, output->fpa, view, maskValue, config); 30 31 pmReadout *outRO = pmFPAviewThisReadout(view, output->fpa); // Readout of interest 32 psFree(view); 20 33 21 34 // Statistics on the matching
Note:
See TracChangeset
for help on using the changeset viewer.
