Skip to content

Commit

Permalink
Use the linearity linked via the exposure detector.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Oct 28, 2019
1 parent a600df4 commit ec7487a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ip/isr/isrTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ def runQuantum(self, butlerQC, inputRefs, outputRefs):

if self.config.doLinearize is True:
if 'linearizer' not in inputs.keys():
detector = inputs['camera'][inputs['detectorNum']]
detector = inputs['ccdExposure'].getDetector()
linearityName = detector.getAmplifiers()[0].getLinearityType()
inputs['linearizer'] = linearize.getLinearityTypeByName(linearityName)()

Expand Down

0 comments on commit ec7487a

Please sign in to comment.