Changeset 28131 for trunk/ppSub/src/ppSubMaskStats.c
- Timestamp:
- May 26, 2010, 5:34:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubMaskStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubMaskStats.c
r28123 r28131 9 9 10 10 11 bool ppSubMaskStats(pmConfig *config, pmFPAview *view, psMetadata *stats) { 11 bool ppSubMaskStats(pmConfig *config, pmFPAview *view, psMetadata *stats) 12 { 12 13 PS_ASSERT_PTR_NON_NULL(view, false); 13 14 PS_ASSERT_PTR_NON_NULL(config, false); 15 16 pmReadout *readout = pmFPAfileThisReadout(config->files, view, "PPSUB.OUTPUT"); 17 if (!stats || !readout || !readout->data_exists) { 18 // Nothing to process 19 return(true); 20 } 14 21 15 22 bool status; … … 27 34 psS32 Npix_advisory = 0; 28 35 29 pmReadout *readout = pmFPAfileThisReadout(config->files, view, "PPSUB.OUTPUT");30 if (!readout || !readout->data_exists) {31 // Nothing to process32 return(true);33 }34 36 psImage *mask = readout->mask; // Mask of interest; 35 37 if (!pmSingleImageMaskStats(mask,&Npix_valid,&Npix_static,&Npix_magic,
Note:
See TracChangeset
for help on using the changeset viewer.
