Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-5323 #35

Merged
merged 1 commit into from May 5, 2016
Merged

DM-5323 #35

merged 1 commit into from May 5, 2016

Conversation

r-owen
Copy link
Contributor

@r-owen r-owen commented May 4, 2016

No description provided.

@@ -280,7 +280,7 @@ def getNoiseGenerator(self, exposure, noiseImage, noiseMeanVar, exposureId=None)
if noiseSource == 'meta':
# check the exposure metadata
meta = exposure.getMetadata()
# this key name correspond to estimateBackground() in detection.py
# this key name correspond to SubtractBackgroundTask() in meas_algorithms
try:
bgMean = meta.getAsDouble('BGMEAN')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, someone is actually using the statistics values! I think they'd be better off doing the calculation themselves, but this needs changing if we axe the statistics calculation in SubtractBackgroundTask.

@r-owen r-owen merged commit 3ea3a93 into master May 5, 2016
@ktlim ktlim deleted the tickets/DM-5323 branch August 25, 2018 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants