Changeset 35560 for trunk/psModules/src/objects/pmSourceIO.c
- Timestamp:
- May 9, 2013, 12:19:21 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO.c
r34720 r35560 980 980 return false; 981 981 } 982 982 983 // if this is not TRUE, the output files only contain the psf measurements. 983 984 bool XSRC_OUTPUT = psMetadataLookupBool(&status, recipe, "EXTENDED_SOURCE_ANALYSIS"); … … 1005 1006 hdu->header = psFitsReadHeader (NULL, file->fits); 1006 1007 } 1008 1009 // "WCS" is CMF without detected objects 1010 if (file->type == PM_FPA_FILE_WCS) { 1011 psTrace("psModules.objects", 6, "read CMF table from %s : %s : %s", file->filename, headname, dataname); 1012 psFree (headname); 1013 psFree (dataname); 1014 psFree (deteffname); 1015 break; 1016 } 1017 1018 // EXTDATA is the PSF data associated with this image header 1007 1019 1008 1020 // we need to find the corresponding table EXTNAME. … … 1126 1138 readout->data_exists = true; 1127 1139 1140 // if we have a prior set of detections on this readout, we will replace them here 1128 1141 pmDetections *detections = pmDetectionsAlloc(); 1129 1142 detections->allSources = sources; 1130 status = psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_DATA_ARRAY , "input sources", detections);1143 status = psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_DATA_ARRAY | PS_META_REPLACE, "input sources", detections); 1131 1144 psFree (detections); 1132 1145 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
