Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_drivers
-
Labels:None
-
Team:External
Description
Michitaro Koike points out that SkyMeasurementTask.measureScale uses zip to iterate over x and y limits, so it's only iterating over the diagonal of the image. He sent a patch which I'll clean up and shepherd through.
Nate Lust, would you mind looking this over, please?
price@MacBook:~/LSST/pipe_drivers (tickets/DM-17098=) $ git sub
commit 59900dd5a79a6124e5910c072533ea144fa3a511 (HEAD -> tickets/DM-17098, origin/tickets/DM-17098)
Author: michitaro <michitaro.nike@gmail.com>
Date: Thu Jan 10 18:21:34 2019 +0900
fix SkyMeasurementTask.measureScale
SkyMeasurementTask.measureScale uses zip to iterate over x and y
limits, so it's only iterating over the diagonal of the image.
Using itertools.product, we iterate over the entire image.
python/lsst/pipe/drivers/background.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)