Changeset 40345 for trunk/pswarp/src/pswarpLoopBackground.c
- Timestamp:
- Feb 9, 2018, 4:18:29 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpLoopBackground.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpLoopBackground.c
r35683 r40345 62 62 pmFPAfileActivate(config->files, true, "PSWARP.BKGMODEL"); 63 63 64 psString refcat = NULL; 64 65 // loop over this section once per input group 65 66 for (int i = 0; i < nInputs; i++) { … … 134 135 } 135 136 137 if (astrom != input) { 138 pmReadout *astromRO = pmFPAviewThisReadout(view, astrom->fpa); // Readout for astrometry 139 if (!refcat) { 140 refcat = psMetadataLookupStr(NULL, astromRO->parent->parent->hdu->header, "PSREFCAT"); 141 142 psMetadataAddStr(output->fpa->analysis, PS_LIST_TAIL, "REFERENCE_CATALOG", PS_META_REPLACE, "Reference catalog used for calibration.", refcat); 143 } 144 } 145 136 146 // re-normalize the BKGMODEL pixels by modified astrometry 137 147 for (int x = 0; x < readout->image->numCols; x++) {
Note:
See TracChangeset
for help on using the changeset viewer.
