Skip to content

Commit

Permalink
Fix capitalized function name.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Aug 27, 2021
1 parent baf8866 commit 03ccfe7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions python/lsst/cp/pipe/cpCombine.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from astro_metadata_translator.serialize import dates_to_fits


__all__ = ['CalibStatsConfig', 'CalibStatsTask', 'VignetteExposure',
__all__ = ['CalibStatsConfig', 'CalibStatsTask', 'vignetteExposure',
'CalibCombineConfig', 'CalibCombineConnections', 'CalibCombineTask',
'CalibCombineByFilterConfig', 'CalibCombineByFilterConnections', 'CalibCombineByFilterTask']

Expand Down Expand Up @@ -341,7 +341,7 @@ def run(self, inputExps, inputScales=None, inputDims=None):

if self.config.doVignette:
polygon = inputExps[0].getInfo().getValidPolygon()
VignetteExposure(combined, polygon=polygon, doUpdateMask=True,
vignetteExposure(combined, polygon=polygon, doUpdateMask=True,
doSetValue=True, vignetteValue=0.0)

# Combine headers
Expand Down Expand Up @@ -575,7 +575,7 @@ class CalibCombineByFilterTask(CalibCombineTask):
pass


def VignetteExposure(exposure, polygon=None,
def vignetteExposure(exposure, polygon=None,
doUpdateMask=True, maskPlane="NO_DATA",
doSetValue=False, vignetteValue=0.0,
log=None):
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/cp/pipe/cpFlatNormTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import lsst.pex.config as pexConfig
import lsst.pipe.base as pipeBase
import lsst.pipe.base.connectionTypes as cT
from lsst.cp.pipe.cpCombine import VignetteExposure
from lsst.cp.pipe.cpCombine import vignetteExposure
from lsst.cp.pipe.utils import ddict2dict

from ._lookupStaticCalibration import lookupStaticCalibration
Expand Down Expand Up @@ -100,7 +100,7 @@ def run(self, inputExp):
List containing the statistics (`lsst.daf.base.PropertyList`).
"""
if self.config.doVignette:
VignetteExposure(inputExp, doUpdateMask=True, doSetValue=False, log=self.log)
vignetteExposure(inputExp, doUpdateMask=True, doSetValue=False, log=self.log)
mask = inputExp.getMask()
maskVal = mask.getPlaneBitMask(self.config.maskNameList)
statsControl = afwMath.StatisticsControl(self.config.numSigmaClip,
Expand Down

0 comments on commit 03ccfe7

Please sign in to comment.