Skip to content

Commit

Permalink
Use regular aperture flux for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Jun 3, 2024
1 parent 6506211 commit dc88203
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/config/fgcmBuildFromIsolatedStarsHsc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import os
from lsst.obs.hsc.hscFilters import HSC_FILTER_DEFINITIONS

config.instFluxField = 'apFlux_12_0_instFlux'
config.sourceSelector["science"].signalToNoise.fluxField = 'apFlux_12_0_instFlux'
config.sourceSelector["science"].signalToNoise.errField = 'apFlux_12_0_instFluxErr'
config.sourceSelector["science"].signalToNoise.minimum = 11.0

# This override is to be consistent with the old tests
config.referenceCCD = 13
# The filterMap and bands are for the small subset of bands used in the tests
Expand Down
1 change: 1 addition & 0 deletions tests/config/fgcmBuildFromIsolatedStarsLatiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
config.sourceSelector["science"].flags.bad.append("localBackground_flag")
config.sourceSelector["science"].signalToNoise.fluxField = "apFlux_35_0_instFlux"
config.sourceSelector["science"].signalToNoise.errField = "apFlux_35_0_instFluxErr"
config.sourceSelector["science"].signalToNoise.minimum = 11.0
config.fgcmLoadReferenceCatalog.load(os.path.join(configDir, "filterMapLatiss.py"))
config.fgcmLoadReferenceCatalog.applyColorTerms = True
config.fgcmLoadReferenceCatalog.colorterms.load(os.path.join(configDir, "colortermsLatiss.py"))
Expand Down

0 comments on commit dc88203

Please sign in to comment.