-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
68 changed files
with
3,107 additions
and
3,106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
root.astrom.filterMap = { 'B': 'g', | ||
config.astrom.filterMap = { 'B': 'g', | ||
'V': 'r', | ||
'R': 'r', | ||
'I': 'i', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Set up aperture photometry | ||
# 'root' should be a SourceMeasurementConfig | ||
# 'config' should be a SourceMeasurementConfig | ||
|
||
root.algorithms.names |= ["base_CircularApertureFlux"] | ||
config.algorithms.names |= ["base_CircularApertureFlux"] | ||
# Roughly (1.0, 1.4, 2.0, 2.8, 4.0, 5.7, 8.0, 11.3, 16.0, 22.6 arcsec) in diameter: 2**(0.5*i) | ||
# (assuming plate scale of 0.168 arcsec pixels) | ||
root.algorithms["base_CircularApertureFlux"].radii = [3.0, 4.5, 6.0, 9.0, 12.0, 17.0, 25.0, 35.0, 50.0, 70.0] | ||
config.algorithms["base_CircularApertureFlux"].radii = [3.0, 4.5, 6.0, 9.0, 12.0, 17.0, 25.0, 35.0, 50.0, 70.0] | ||
|
||
# Use a large aperture to be independent of seeing in calibration | ||
root.algorithms["base_CircularApertureFlux"].maxSincRadius = 12.0 | ||
config.algorithms["base_CircularApertureFlux"].maxSincRadius = 12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
root.badMaskPlanes = ("BAD", "EDGE", "SAT", "INTRP", "NO_DATA",) | ||
root.doMatchBackgrounds = False | ||
config.badMaskPlanes = ("BAD", "EDGE", "SAT", "INTRP", "NO_DATA",) | ||
config.doMatchBackgrounds = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Enable CModel mags (unsetup meas_multifit or use $MEAS_MULTIFIT_DIR/config/disable.py to disable) | ||
# 'root' is a SourceMeasurementConfig. | ||
# 'config' is a SourceMeasurementConfig. | ||
import os | ||
try: | ||
import lsst.meas.modelfit | ||
root.algorithms.names |= ["modelfit_ShapeletPsfApprox", "modelfit_CModel"] | ||
root.algorithms['base_ClassificationExtendedness'].fluxRatio = 0.985 | ||
config.algorithms.names |= ["modelfit_ShapeletPsfApprox", "modelfit_CModel"] | ||
config.algorithms['base_ClassificationExtendedness'].fluxRatio = 0.985 | ||
except KeyError, ImportError: | ||
print "Cannot import lsst.meas.modelfit: disabling CModel measurements" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import os | ||
|
||
root.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'apertures.py')) | ||
root.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'kron.py')) | ||
config.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'apertures.py')) | ||
config.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'kron.py')) | ||
# Turn off cmodel until latest fixes (large blends, footprint merging, etc.) are in | ||
# root.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'cmodel.py')) | ||
# config.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'cmodel.py')) | ||
|
||
root.measurement.slots.instFlux = None | ||
config.measurement.slots.instFlux = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import os | ||
|
||
root.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'apertures.py')) | ||
root.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'kron.py')) | ||
config.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'apertures.py')) | ||
config.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'kron.py')) | ||
# Turn off cmodel until latest fixes (large blends, footprint merging, etc.) are in | ||
# root.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'cmodel.py')) | ||
# config.measurement.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'cmodel.py')) | ||
|
||
root.measurement.slots.instFlux = None | ||
config.measurement.slots.instFlux = None | ||
|
||
root.deblend.load(os.path.join(os.environ["OBS_SUBARU_DIR"], "config", "deblend.py")) | ||
config.deblend.load(os.path.join(os.environ["OBS_SUBARU_DIR"], "config", "deblend.py")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import os | ||
root.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'colorterms.py')) | ||
config.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'colorterms.py')) | ||
|
||
root.fittingOrder = 9 | ||
root.fluxFitOrder = 7 | ||
root.fluxFitAbsolute = True | ||
root.internalFitting = True | ||
root.commonFluxCorr = False | ||
root.minNumMatch = 5 | ||
root.fluxFitSolveCcd = True | ||
config.fittingOrder = 9 | ||
config.fluxFitOrder = 7 | ||
config.fluxFitAbsolute = True | ||
config.internalFitting = True | ||
config.commonFluxCorr = False | ||
config.minNumMatch = 5 | ||
config.fluxFitSolveCcd = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import os | ||
root.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'isr.py')) | ||
config.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'isr.py')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import os | ||
root.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'isr.py')) | ||
config.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'isr.py')) | ||
|
||
root.darkTime = None | ||
config.darkTime = None | ||
|
||
root.isr.doBias = True | ||
root.repair.cosmicray.nCrPixelMax = 1000000 | ||
root.repair.cosmicray.minSigma = 5.0 | ||
root.repair.cosmicray.min_DN = 50.0 | ||
config.isr.doBias = True | ||
config.repair.cosmicray.nCrPixelMax = 1000000 | ||
config.repair.cosmicray.minSigma = 5.0 | ||
config.repair.cosmicray.min_DN = 50.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import os | ||
root.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'isr.py')) | ||
config.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'isr.py')) | ||
|
||
from lsst.obs.hsc.detrends import HscFlatCombineTask | ||
root.combination.retarget(HscFlatCombineTask) | ||
root.combination.xCenter = -100 | ||
root.combination.yCenter = 100 | ||
root.combination.radius = 17500 | ||
config.combination.retarget(HscFlatCombineTask) | ||
config.combination.xCenter = -100 | ||
config.combination.yCenter = 100 | ||
config.combination.radius = 17500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import os | ||
root.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'isr.py')) | ||
config.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'isr.py')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
root.skyMap.pixelScale = 0.168 | ||
config.skyMap.pixelScale = 0.168 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
root.skyMap.name = "rings" | ||
root.skyMap["rings"].numRings = 120 | ||
root.skyMap["rings"].projection = "TAN" | ||
root.skyMap["rings"].tractOverlap = 1.0/60 # Overlap between tracts (degrees) | ||
root.skyMap["rings"].pixelScale = 0.168 | ||
config.skyMap.name = "rings" | ||
config.skyMap["rings"].numRings = 120 | ||
config.skyMap["rings"].projection = "TAN" | ||
config.skyMap["rings"].tractOverlap = 1.0/60 # Overlap between tracts (degrees) | ||
config.skyMap["rings"].pixelScale = 0.168 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from hsc.pipe.tasks.onsiteDb import HscOnsiteDbTask | ||
root.onsiteDb.retarget(HscOnsiteDbTask) | ||
config.onsiteDb.retarget(HscOnsiteDbTask) | ||
|
||
# Load regular processCcd configuration | ||
import os | ||
root.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'processCcd.py')) | ||
config.load(os.path.join(os.environ['OBS_SUBARU_DIR'], 'config', 'hsc', 'processCcd.py')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import os | ||
root.processCcd.load(os.path.join(os.environ["OBS_SUBARU_DIR"], "config", "hsc", "processCcd.py")) | ||
config.processCcd.load(os.path.join(os.environ["OBS_SUBARU_DIR"], "config", "hsc", "processCcd.py")) | ||
|
||
root.instrument = "hsc" | ||
config.instrument = "hsc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Enable HSM shapes (unsetup meas_extensions_shapeHSM to disable) | ||
# 'root' is a SourceMeasurementConfig. | ||
# 'config' is a SourceMeasurementConfig. | ||
import os | ||
try: | ||
root.load(os.path.join(os.environ['MEAS_EXTENSIONS_SHAPEHSM_DIR'], 'config', 'enable.py')) | ||
root.algorithms["shape.hsm.regauss"].deblendNChild = "deblend.nchild" | ||
root.slots.shape = "shape.hsm.moments" | ||
config.load(os.path.join(os.environ['MEAS_EXTENSIONS_SHAPEHSM_DIR'], 'config', 'enable.py')) | ||
config.algorithms["shape.hsm.regauss"].deblendNChild = "deblend.nchild" | ||
config.slots.shape = "shape.hsm.moments" | ||
except Exception as e: | ||
print "Cannot enable shapeHSM (%s): disabling HSM shape measurements" % (e,) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Enable Kron mags | ||
# 'root' is a SourceMeasurementConfig | ||
# 'config' is a SourceMeasurementConfig | ||
|
||
try: | ||
import lsst.meas.extensions.photometryKron | ||
root.algorithms.names |= ["ext_photometryKron_KronFlux"] | ||
config.algorithms.names |= ["ext_photometryKron_KronFlux"] | ||
except ImportError: | ||
print "Cannot import lsst.meas.extensions.photometryKron: disabling Kron measurements" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
root.warpAndPsfMatch.warp.warpingKernelName = "lanczos3" | ||
root.warpAndPsfMatch.warp.cacheSize = 1000000 | ||
root.bgSubtracted = True | ||
config.warpAndPsfMatch.warp.warpingKernelName = "lanczos3" | ||
config.warpAndPsfMatch.warp.cacheSize = 1000000 | ||
config.bgSubtracted = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# n.b. pixel sizes are set in per-camera overrides | ||
root.skyMap.projection = "TAN" | ||
config.skyMap.projection = "TAN" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
root.skyMap = "discrete" | ||
config.skyMap = "discrete" | ||
|
||
# Configuration for HealpixSkyMap | ||
root.skyMap["healpix"].log2NSide = 5 | ||
root.skyMap["healpix"].pixelScale = 0.18 | ||
root.skyMap["healpix"].patchBorder = 333 # Pixels | ||
root.skyMap["healpix"].tractOverlap = 2.0/60 # Degrees | ||
root.skyMap["healpix"].projection = "TAN" | ||
config.skyMap["healpix"].log2NSide = 5 | ||
config.skyMap["healpix"].pixelScale = 0.18 | ||
config.skyMap["healpix"].patchBorder = 333 # Pixels | ||
config.skyMap["healpix"].tractOverlap = 2.0/60 # Degrees | ||
config.skyMap["healpix"].projection = "TAN" | ||
|
||
# Configuration for DiscreteSkyMap | ||
# 0: ACTJ0022M0036 | ||
# 1: M31 | ||
root.skyMap["discrete"].raList = [5.5, 10.7] | ||
root.skyMap["discrete"].decList = [-0.6, 41.3] | ||
root.skyMap["discrete"].radiusList = [0.5, 0.8] | ||
root.skyMap["discrete"].pixelScale = 0.168 | ||
config.skyMap["discrete"].raList = [5.5, 10.7] | ||
config.skyMap["discrete"].decList = [-0.6, 41.3] | ||
config.skyMap["discrete"].radiusList = [0.5, 0.8] | ||
config.skyMap["discrete"].pixelScale = 0.168 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
root.priorityList = ["HSC-I", "HSC-R", "HSC-Z", "HSC-Y", "HSC-G",] | ||
config.priorityList = ["HSC-I", "HSC-R", "HSC-Z", "HSC-Y", "HSC-G",] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
root.priorityList = ["HSC-I", "HSC-R", "HSC-Z", "HSC-Y", "HSC-G",] | ||
config.priorityList = ["HSC-I", "HSC-R", "HSC-Z", "HSC-Y", "HSC-G",] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.