Skip to content

Commit

Permalink
Fix checking/logging when all points are bad in initial linearity check.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Oct 22, 2024
1 parent 7a35cb3 commit 74ac812
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/cp/pipe/cpLinearitySolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ def _computeTurnoffAndMax(self, abscissa, ordinate, initialMask, ampName="UNKNOW
ampName,
)
turnoffIndex = np.nonzero(fitMask)[0][-1]
residuals = np.zeros(len(ordinate))

turnoff = ordinate[turnoffIndex]

Expand Down

0 comments on commit 74ac812

Please sign in to comment.