Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:None
-
Team:External
Description
lsst.meas.base.tests.TestDataset contains two methods (makePerturbedWcs and realize) that take an optional seed for the random number generator. In both cases, the seed defaults to None, which means the RNG is seeded in some non-deterministic manner. However, this is intended for tests, which we require are deterministic. The current API therefore makes it too easy (simply neglecting to specify the optional randomSeed keyword argument) to do something bad. We should default to some deterministic value for the seed.
John Swinbank, would you take a look at this please?
Jenkins is just about all green.