Changeset 30315 for trunk/magic/remove/src/streaksremove.c
- Timestamp:
- Jan 20, 2011, 10:25:37 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/streaksremove.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/streaksremove.c
r30263 r30315 93 93 // Raw files have a phu and multiple extensions, one per chip 94 94 // Since this is a raw file, copy it's PHU to output files 95 copyPHU(sfiles, true );95 copyPHU(sfiles, true, true); 96 96 97 97 // advance to the first image extension … … 617 617 addRecoveryKeyword(sf->recImage->header); 618 618 } 619 addDestreakKeyword(sf->outImage->header );619 addDestreakKeyword(sf->outImage->header, true); 620 620 621 621 if (!SFILE_IS_IMAGE(sf->inImage)) { … … 643 643 addRecoveryKeyword(sf->recMask->header); 644 644 } 645 addDestreakKeyword(sf->outMask->header );645 addDestreakKeyword(sf->outMask->header, true); 646 646 // Note: we don't excise the mask pixels even if exciseAll is true. 647 647 setupImageRefs(sf->outMask, sf->recMask, sf->inMask, sf->extnum, false); … … 675 675 addRecoveryKeyword(sf->recWeight->header); 676 676 } 677 addDestreakKeyword(sf->outWeight->header );677 addDestreakKeyword(sf->outWeight->header, true); 678 678 setupImageRefs(sf->outWeight, sf->recWeight, sf->inWeight, sf->extnum, exciseAll); 679 679 … … 916 916 streaksExit("", PS_EXIT_DATA_ERROR); 917 917 } 918 addDestreakKeyword(header );918 addDestreakKeyword(header, true); 919 919 920 920 if (!psFitsWriteBlank(out->fits, header, extname)) { … … 977 977 psArrayRealloc(outTable, j); 978 978 979 addDestreakKeyword(header );979 addDestreakKeyword(header, true); 980 980 if (psArrayLength(outTable) > 0) { 981 981 printf("Censored %d sources\n", numCensored);
Note:
See TracChangeset
for help on using the changeset viewer.
