Skip to content

Commit

Permalink
Finalize long-range subtraction changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
plazas committed Dec 8, 2023
1 parent 32018ae commit f27df81
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 90 deletions.
4 changes: 2 additions & 2 deletions python/lsst/cp/pipe/ptc/cpExtractPtcTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def run(self, inputExp, inputDims, taskMetadata, inputPhotodiodeData=None):
# used to ensure that the number of output and input
# dimensions match.
dummyPtcDataset = PhotonTransferCurveDataset(ampNames, 'DUMMY',
self.config.maximumRangeCovariancesAstier)
self.config.maximumRangeCovariancesAstier, 1)
for ampName in ampNames:
dummyPtcDataset.setAmpValuesPartialDataset(ampName)

Expand Down Expand Up @@ -518,7 +518,7 @@ def run(self, inputExp, inputDims, taskMetadata, inputPhotodiodeData=None):

nAmpsNan = 0
partialPtcDataset = PhotonTransferCurveDataset(ampNames, 'PARTIAL',
self.config.maximumRangeCovariancesAstier)
self.config.maximumRangeCovariancesAstieri, 1)
for ampNumber, amp in enumerate(detector):
ampName = amp.getName()
if self.config.detectorMeasurementRegion == 'AMP':
Expand Down
Loading

0 comments on commit f27df81

Please sign in to comment.