Skip to content

Commit

Permalink
Update readnoise to actually match LSE-30.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhiannonlynne committed Aug 2, 2017
1 parent 5f8d25d commit ae79f97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/lsst/sims/photUtils/PhotometricParameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def makeDict(value,
gain = makeDict(gainADU)

# electrons per pixel per exposure
readnoiseE = 8.5
readnoiseE = 8.8
readnoise = makeDict(readnoiseE)

# electrons per pixel per second
Expand Down
4 changes: 2 additions & 2 deletions tests/testPhotometricParameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def testDefaults(self):
self.assertAlmostEqual(photParams.effarea/(np.pi*(6.423*100/2.0)**2), 1.0, 7)
self.assertAlmostEqual(photParams.gain, 2.3, 7)
self.assertAlmostEqual(photParams.darkcurrent, 0.2, 7)
self.assertAlmostEqual(photParams.readnoise, 8.5, 7)
self.assertAlmostEqual(photParams.readnoise, 8.8, 7)
self.assertAlmostEqual(photParams.othernoise, 0, 7)
self.assertAlmostEqual(photParams.platescale, 0.2, 7)
if bp not in ['u', 'z', 'y']:
Expand All @@ -110,7 +110,7 @@ def testNoBandpass(self):
self.assertAlmostEqual(photParams.effarea/(np.pi*(6.423*100/2.0)**2), 1.0, 7)
self.assertAlmostEqual(photParams.gain, 2.3, 7)
self.assertAlmostEqual(photParams.darkcurrent, 0.2, 7)
self.assertAlmostEqual(photParams.readnoise, 8.5, 7)
self.assertAlmostEqual(photParams.readnoise, 8.8, 7)
self.assertAlmostEqual(photParams.othernoise, 0, 7)
self.assertAlmostEqual(photParams.platescale, 0.2, 7)
self.assertAlmostEqual(photParams.sigmaSys, 0.005, 7)
Expand Down

0 comments on commit ae79f97

Please sign in to comment.