Skip to content

Commit

Permalink
flux->instFlux
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Sep 4, 2018
1 parent 2f80472 commit 8861bc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/forcedPhotCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
config.measurement.load(os.path.join(getPackageDir("obs_subaru"), "config", "kron.py"))
config.load(os.path.join(getPackageDir("obs_subaru"), "config", "cmodel.py"))

config.measurement.slots.gaussiaFlux = None
config.measurement.slots.gaussianFlux = None
4 changes: 2 additions & 2 deletions config/forcedPhotCoadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ def doUndeblended(config, algName, fluxList=None):
Algorithm name.
fluxList : `list` of `str`, or `None`
List of flux columns to register for aperture correction. If `None`,
then this will be the `algName` appended with `_flux`.
then this will be the `algName` appended with `_instFlux`.
"""
if algName not in config.measurement.plugins:
return
if fluxList is None:
fluxList = [algName + "_flux"]
fluxList = [algName + "_instFlux"]
config.measurement.undeblended.names.add(algName)
config.measurement.undeblended[algName] = config.measurement.plugins[algName]
for flux in fluxList:
Expand Down
2 changes: 1 addition & 1 deletion config/processCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# PSF determination
config.charImage.measurePsf.reserve.fraction = 0.2
config.charImage.measurePsf.starSelector["objectSize"].sourceFluxField = 'base_PsfFlux_flux'
config.charImage.measurePsf.starSelector["objectSize"].sourceFluxField = 'base_PsfFlux_instFlux'
try:
import lsst.meas.extensions.psfex.psfexPsfDeterminer
config.charImage.measurePsf.psfDeterminer["psfex"].spatialOrder = 2
Expand Down

0 comments on commit 8861bc6

Please sign in to comment.