- Timestamp:
- Jun 27, 2018, 3:31:55 PM (8 years ago)
- Location:
- branches/czw_branch/20170908
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pswarp/src/pswarpLoopBackground.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908
- Property svn:mergeinfo changed
-
branches/czw_branch/20170908/pswarp/src/pswarpLoopBackground.c
r35683 r40483 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)&&(astromRO)) { 140 if ((astromRO->parent->parent->hdu->header)&&(output->fpa->analysis)) { 141 psMetadataItem *refItem = psMetadataLookup(astromRO->parent->parent->hdu->header, "PSREFCAT"); 142 if (refItem) { 143 refcat = psMetadataLookupStr(NULL, astromRO->parent->parent->hdu->header, "PSREFCAT"); 144 psMetadataAddStr(output->fpa->analysis, PS_LIST_TAIL, "REFERENCE_CATALOG", PS_META_REPLACE, 145 "Reference catalog used for calibration.", refcat); 146 } 147 } 148 } 149 } 150 136 151 // re-normalize the BKGMODEL pixels by modified astrometry 137 152 for (int x = 0; x < readout->image->numCols; x++) {
Note:
See TracChangeset
for help on using the changeset viewer.
