Skip to content

Commit

Permalink
Merge branch 'tickets/DM-33949'
Browse files Browse the repository at this point in the history
  • Loading branch information
taranu committed Mar 16, 2022
2 parents c67868d + feb7c60 commit 0d89b07
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions ingredients/LSSTCam-imSim/DRP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,27 @@ tasks:
'u_cModelFluxErr', 'g_cModelFluxErr', 'r_cModelFluxErr',
'i_cModelFluxErr', 'z_cModelFluxErr', 'y_cModelFluxErr',
]
config.match_tract_catalog.coords_ref_to_convert = {'ra': 'x', 'dec': 'y'}
config.match_tract_catalog.coord_format.coords_ref_to_convert = {'ra': 'x', 'dec': 'y'}
# Might need adjusting for different survey depths
config.match_tract_catalog.mag_faintest_ref = 27.0;
config.match_tract_catalog.mag_faintest_ref = 27.0
config.match_tract_catalog.columns_ref_copy = ['id']
config.match_tract_catalog.columns_target_copy = ['objectId']
compareObjectToTruth:
class: lsst.pipe.tasks.diff_matched_tract_catalog.DiffMatchedTractCatalogTask
config:
columns_target_coord_err: ['xErr', 'yErr']
coord_format.coords_ref_to_convert: {'ra': 'x', 'dec': 'y'}

python: |
from lsst.pipe.tasks.diff_matched_tract_catalog import MatchedCatalogFluxesConfig
columns_flux = {}
for band in 'ugrizy':
columns_flux[band] = MatchedCatalogFluxesConfig(
column_ref_flux=f'flux_{band}',
columns_target_flux=[f'{band}_cModelFlux',],
columns_target_flux_err=[f'{band}_cModelFluxErr',],
)
config.columns_flux = columns_flux
subsets:
step1:
subset:
Expand Down Expand Up @@ -138,6 +156,7 @@ subsets:
- psfPhotRepStar3
- psfPhotRepStar4
- matchObjectToTruth
- compareObjectToTruth
description: >
Tasks that can be run together, but only after the 'step1' and 'step2'
subsets.
Expand Down

0 comments on commit 0d89b07

Please sign in to comment.