Skip to content

Commit

Permalink
Remove noisy log message.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Sep 15, 2022
1 parent d9f5940 commit f275121
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python/lsst/ip/isr/overscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
__all__ = ["OverscanCorrectionTaskConfig", "OverscanCorrectionTask"]

import numpy as np
import time
import lsst.afw.math as afwMath
import lsst.afw.image as afwImage
import lsst.geom as geom
Expand Down Expand Up @@ -670,8 +669,6 @@ def measureVectorOverscan(self, image, isTransposed=False):
calcImage = np.transpose(calcImage)
masked = self.maskOutliers(calcImage)

startTime = time.perf_counter()

if self.config.fitType == 'MEDIAN_PER_ROW':
mi = afwImage.MaskedImageI(image.getBBox())
masked = masked.astype(int)
Expand Down Expand Up @@ -714,8 +711,6 @@ def measureVectorOverscan(self, image, isTransposed=False):
overscanVector = evaler(indices, coeffs)
maskArray = self.maskExtrapolated(collapsed)

endTime = time.perf_counter()
self.log.info(f"Overscan measurement took {endTime - startTime}s for {self.config.fitType}")
return pipeBase.Struct(overscanValue=np.array(overscanVector),
maskArray=maskArray,
isTransposed=isTransposed)
Expand Down

0 comments on commit f275121

Please sign in to comment.