Skip to content
Browse files

added correct galsim.noise.addGaussian call

(#27)
  • Loading branch information...
1 parent 04b31a2 commit 5fc2d1ae2363ab8da8f8075ebb8488f1f4b28daf @barnabytprowe barnabytprowe committed Apr 6, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 examples/Demo.py
View
6 examples/Demo.py
@@ -58,7 +58,11 @@ def Script1():
# File "./Demo.py", line 60, in Script1
# addGaussian(image, rng, sigma=0.1)
# NameError: global name 'addGaussian' is not defined
- #addGaussian(image, rng, sigma=0.1)
+
+ # Barney's note: the way it is currently set up is this:
+ galsim.noise.addGaussian(image, rng, sigma=0.1)
+ # ... I actually like going to the .noise. submodule namespace here as it differentiates the
+ # Gaussian in question from a Gaussian profile...
# Write the image to a file
fileName = os.path.join('output','demo1.fits')

0 comments on commit 5fc2d1a

Please sign in to comment.
Something went wrong with that request. Please try again.