Skip to content

Commit

Permalink
Add option to re-interpolate NaNs after flat-fielding
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Dec 18, 2017
1 parent 22bd136 commit 1283469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/obs/subaru/isr.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def runDataRef(self, sensorRef):
if self.config.doSetBadRegions:
self.setBadRegions(ccdExposure)

if not interpolationDone:
if not interpolationDone or self.config.doNanInterpAfterFlat:
self.maskAndInterpNan(ccdExposure)

if self.config.qa.doWriteFlattened:
Expand Down

0 comments on commit 1283469

Please sign in to comment.