Skip to content

Commit

Permalink
Move imsim configs up a level including
Browse files Browse the repository at this point in the history
- transformObjectCatalog,
- objectTableTractAnalysis, and
- measurement plugins in MeasureMergedCoaddSourcesTask
which apply to all cameras.
  • Loading branch information
yalsayyad committed Feb 15, 2024
1 parent fc4da0d commit cf2016e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
10 changes: 0 additions & 10 deletions config/imsim/measureCoaddSources.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,5 @@

import os.path

config.measurement.load(os.path.join(os.path.dirname(__file__), "..", "apertures.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "..", "kron.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "..", "convolvedFluxes.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "..", "hsm.py"))
config.load(os.path.join(os.path.dirname(__file__), "..", "cmodel.py"))

config.match.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py"))
config.connections.refCat = "cal_ref_cat"

config.doWriteMatchesDenormalized = True

config.measurement.plugins.names |= ["base_InputCount"]
33 changes: 33 additions & 0 deletions config/measureCoaddSources.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file is part of obs_lsst.
#
# Developed for the LSST Data Management System.
# This product includes software developed by the LSST Project
# (http://www.lsst.org).
# See the COPYRIGHT file at the top-level directory of this distribution
# for details of code ownership.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the LSST License Statement and
# the GNU General Public License along with this program. If not,
# see <http://www.lsstcorp.org/LegalNotices/>.

import os.path

config.measurement.load(os.path.join(os.path.dirname(__file__), "apertures.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "kron.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "convolvedFluxes.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "hsm.py"))
config.load(os.path.join(os.path.dirname(__file__), "cmodel.py"))

config.doWriteMatchesDenormalized = True

config.measurement.plugins.names |= ["base_InputCount"]
File renamed without changes.
File renamed without changes.

0 comments on commit cf2016e

Please sign in to comment.