Show
added a comment - - edited Summary of adopted changes:
charImage:
Name
HSC value
LSST value
Selection
Width of initial PSF
1"
3.5 pixels
Kept LSST
Size of Kernel for initial PSF
15
11
Kept LSST
Astrometry SIP Fitting order
3
4
Set to HSC via config override (as in HSC)
Astrometry maximum pixel offset
300
750
Kept LSST
Noise seed multiplier
0
1
Kept LSST & updated docstring
Aperture Flux Slot
radius=12 pixels
radius=3 pixels
Set to HSC
Shape Slot
SDSS
SDSS
HSC has processCcd. calibrate. initialMeasurement. slots.shape= 'shape.sdss'
Added override for slot shape in ext_ shapeHSM_ HsmSourceMoments 's config/enable.py
Added override for charImage in obs_subaru 's config/hsm.py
HSM Algorithms
Run
Not Run
Set to HSC
Psfex flux scale
Aperture 7 pixel radius
Aperture Slot= 3 pixel radius
Set to 9 pixel radius (7 not in default list)
Variance Mask
'DETECTED', 'DETECTED_NEGATIVE'
'DETECTED', 'DETECTED_NEGATIVE', 'BAD', 'SAT'
Kept LSST
background estimation
useApprox=True
useApprox=False
Set to HSC
background binSize
128
256
Set to HSC
calibrate:
Name
HSC value
LSST value
Proposal
Aperture Flux Slot
12 pixel radius
3 pixel radius
Set to HSC
background estimation
useApprox=True
useApprox=False
Set to HSC
background binSize
128
256
Set to HSC
stacking:
Name
HSC Value
LSST Value
Proposal
LocalBackground
True
False
Set LSST default to True after RFC-212 see ** below
background estimation
useApprox=True
useApprox=False
Set to HSC
assembleCoadd.doApplyUberCal
True
False
Kept LSST
makeCoaddTempExp.doApplyUberCal
True
False
Kept LSST
assembleCoadd.minClipFootOverlap
0.6
0.65
Set to HSC
assembleCoadd.clipDetection. nSigmaToGrow
2
4
Set to HSC
assembleCoadd.clipDetection. background.binSize
128
256
Set to HSC
assembleCoadd.matchBackgrounds. background.binSize
128
256
Kept LSST
assembleCoadd.subregionSize
10000,200
2000,2000
No-op: this is being overridden in obs_subaru configs in both stacks
assembleCoadd.doWrite
False
True
Kept LSST but set to False when running coaddDriver
makeCoaddTempExp.warpAndPsfMatch. psfMatch.kernel.values.AL.kernelSizeMin
21
11
Kept LSST
makeCoaddTempExp.warpAndPsfMatch. psfMatch.kernel.values.AL. afwBackgroundConfig.binSize
128
256
Kept LSST
makeCoaddTempExp.warpAndPsfMatch. psfMatch.kernel.values.AL. afwBackgroundConfig.useApprox
True
False
Kept LSST
makeCoaddTempExp.warpAndPsfMatch. psfMatch.kernel.values.AL. detectionConfig.badMaskPlanes
'NO_DATA', 'SAT'
'NO_DATA', 'EDGE', 'SAT '
Kept LSST
makeCoaddTempExp.warpAndPsfMatch. psfMatch.kernel.values.AL.warpingConfig. warpingKernelName
lanczos4
lanczos3
Kept LSST and removed override in obs_subaru
makeCoaddTempExp. warpAndPsfMatch.warp.cacheSize
0
1000000
Kept LSST and removed override in obs_subaru
assembleCoadd.modelPsf.fwhm == assembleCoadd.modelPsf.defaultFwhm (LSST)
1.0"
3.0 pixels
Kept LSST
assembleCoadd.interpFwhm == assembleCoadd.interpImage.modelPsf. defaultFwhm (LSST)
1.5"
3.0 pixels
Kept LSST
** NOTE : this slightly changed the behavior of image characterization and detection causing testProcessCcd.py in pipe_tasks to fail with:
File "tests/testProcessCcd.py", line 139, in testProcessCcd
self.assertAlmostEqual(bgMean, 191.51202961532354, places=7)
AssertionError: 191.51595080958367 != 191.51202961532354 within 7 places
and then
File "tests/testProcessCcd.py", line 140, in testProcessCcd
self.assertAlmostEqual(bgStdDev, 0.28333327656694213, places=7)
AssertionError: 0.22492169148323429 != 0.2833332765669421 within 7 places
File "tests/testProcessCcd.py", line 142, in testProcessCcd
self.assertEqual(len(src), 185)
AssertionError: 178 != 185
File "tests/testProcessCcd.py", line 143, in testProcessCcd
self.assertEqual(numGoodPix, 1965540)
AssertionError: 1966762 != 1965540
File "tests/testProcessCcd.py", line 145, in testProcessCcd
self.assertAlmostEqual(imMean, 0.99578990765845121, places=7)
AssertionError: 0.99296421356520304 != 0.9957899076584512 within 7 places
File "tests/testProcessCcd.py", line 146, in testProcessCcd
self.assertAlmostEqual(imStdDev, 95.645409033639211, places=7)
AssertionError: 95.646024055615044 != 95.64540903363921 within 7 places
File "tests/testProcessCcd.py", line 149, in testProcessCcd
self.assertAlmostEqual(psfIxx, 2.8540775242108163, places=7)
AssertionError: 2.8540469922966296 != 2.8540775242108163 within 7 places
File "tests/testProcessCcd.py", line 150, in testProcessCcd
self.assertAlmostEqual(psfIyy, 2.17386182921239, places=7)
AssertionError: 2.173868758768284 != 2.17386182921239 within 7 places
File "tests/testProcessCcd.py", line 151, in testProcessCcd
self.assertAlmostEqual(psfIxy, 0.14400008637208778, places=7)
AssertionError: 0.14397371221988944 != 0.14400008637208778 within 7 places
The test values were updated accordingly.
Finally, this also changed the result in the lsst_dm_stack_demo , so
the corresponding expected files need to be updated. The main difference
is the number of output sources due to the activation of junk suppression
(which decreases from 5962 to 4624 in the dected-sources.txt files).
The following figure demonstrates this (having done a simple RA/DEC match
between the old and updated results files, with 4441 matches found):
and the following shows the difference in PSF flux for the matched sources
Here are the differences that I have found between HSC and LSST for reduceFrames vs. singleFrameDriver:
For charImage in LSST or calibrate in HSC which provides the initial catalog.
for the final catalog in the calibrate stage for LSST or measurement stage in HSC :
There are probably some things that I missed because of the many name and algorithmic changes that have happened.