Changeset 14768 for trunk/pswarp/src/pswarpLoop.c
- Timestamp:
- Sep 6, 2007, 5:27:02 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpLoop.c
r14219 r14768 66 66 pmFPAfileActivate(config->files, false, "PSWARP.OUTPUT.MASK"); 67 67 pmFPAfileActivate(config->files, false, "PSWARP.OUTPUT.WEIGHT"); 68 pmFPAfileActivate(config->files, false, "PSWARP.OUTPUT.SOURCES"); 68 69 pmFPAfileIOChecks (config, view, PM_FPA_BEFORE); 69 70 pmChip *chip; … … 89 90 pmFPAfileActivate(config->files, true, "PSWARP.OUTPUT.MASK"); 90 91 pmFPAfileActivate(config->files, true, "PSWARP.OUTPUT.WEIGHT"); 92 pmFPAfileActivate(config->files, true, "PSWARP.OUTPUT.SOURCES"); 91 93 } 92 94 … … 156 158 if (!readout->data_exists) { 157 159 continue; 160 } 161 162 // Copy the sources from the astrometry carrier to the input, so they can be accessed by 163 // pswarpTransformReadout 164 pmReadout *astromRO = pmFPAviewThisReadout(view, astrom->fpa); // Readout for astrometry 165 psArray *sources = psMetadataLookupPtr(&mdok, astromRO->analysis, 166 "PSPHOT.SOURCES"); // Sources from astrometry 167 if (sources) { 168 psMetadataAddPtr(readout->analysis, PS_LIST_TAIL, "PSPHOT.SOURCES", PS_DATA_ARRAY, 169 "Sources from input astrometry", sources); 158 170 } 159 171
Note:
See TracChangeset
for help on using the changeset viewer.
