-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #358 from LSSTDESC/ssi_des_inputs
SSI DES inputs
- Loading branch information
Showing
5 changed files
with
267 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Values in this section are accessible to all the different stages. | ||
# They can be overridden by individual stages though. | ||
global: | ||
# This is read by many stages that read complete | ||
# catalog data, and tells them how many rows to read | ||
# at once | ||
chunk_rows: 10000 | ||
# These mapping options are also read by a range of stages | ||
pixelization: healpix | ||
nside: 256 | ||
sparse: true # Generate sparse maps - faster if using small areas | ||
|
||
|
||
TXIngestSSIMatchedDESBalrogMag: | ||
name: TXIngestSSIMatchedDESBalrogMag | ||
|
||
TXMeanLensSelectorSSI: | ||
name: TXMeanLensSelectorSSI | ||
# Mag cuts | ||
lens_zbin_edges: [0.20, 0.40, 0.55, 0.70, 0.85, 0.95, 1.05] | ||
selection_type: DESmaglim | ||
maglim_band: i | ||
bright_limit: 17.5 | ||
a: 4 | ||
b: 18 | ||
extra_cols: [EXTENDED_CLASS_SOF, FLAGS_GOLD] | ||
|
||
TXMeanLensSelectorSSIMag: | ||
name: TXMeanLensSelectorSSIMag | ||
# Mag cuts | ||
lens_zbin_edges: [0.20, 0.40, 0.55, 0.70, 0.85, 0.95, 1.05] | ||
selection_type: DESmaglim | ||
maglim_band: i | ||
bright_limit: 17.5 | ||
a: 4 | ||
b: 18 | ||
extra_cols: [EXTENDED_CLASS_SOF, FLAGS_GOLD] | ||
|
||
TXLensCatalogSplitterSSI: | ||
name: TXLensCatalogSplitterSSI | ||
|
||
TXLensCatalogSplitterSSIMag: | ||
name: TXLensCatalogSplitterSSIMag | ||
|
||
TXSSIMagnification: | ||
name: TXSSIMagnification | ||
applied_magnification: 1.02 | ||
n_patches: 500 | ||
bootstrap_error: 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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Stages to run | ||
stages: | ||
- name: TXIngestSSIMatchedDESBalrog # process the unmagnified SSI inputs | ||
- name: TXIngestSSIMatchedDESBalrogMag # process the magnified SSI inputs | ||
classname: TXIngestSSIMatchedDESBalrog | ||
aliases: | ||
balrog_matched_catalog: balrog_matched_catalog_mag | ||
matched_ssi_photometry_catalog: matched_ssi_photometry_catalog_mag | ||
|
||
- name: TXMeanLensSelectorSSI #make unmagnified SSI lens samples | ||
classname: TXMeanLensSelector | ||
aliases: | ||
photometry_catalog: matched_ssi_photometry_catalog | ||
lens_photoz_pdfs: balrog_lens_photoz_pdfs | ||
- name: TXLensCatalogSplitterSSI | ||
classname: TXLensCatalogSplitter | ||
aliases: | ||
photometry_catalog: matched_ssi_photometry_catalog | ||
lens_photoz_pdfs: balrog_lens_photoz_pdfs | ||
|
||
- name: TXMeanLensSelectorSSIMag #make magnified SSI lens samples | ||
classname: TXMeanLensSelector | ||
aliases: | ||
photometry_catalog: matched_ssi_photometry_catalog_mag | ||
lens_tomography_catalog_unweighted: lens_tomography_catalog_unweighted_mag | ||
lens_photoz_pdfs: balrog_lens_photoz_pdfs_mag | ||
- name: TXLensCatalogSplitterSSIMag | ||
classname: TXLensCatalogSplitter | ||
aliases: | ||
photometry_catalog: matched_ssi_photometry_catalog_mag | ||
lens_tomography_catalog_unweighted: lens_tomography_catalog_unweighted_mag | ||
binned_lens_catalog_unweighted: binned_lens_catalog_unweighted_mag | ||
lens_photoz_pdfs: balrog_lens_photoz_pdfs_mag | ||
|
||
- name: TXSSIMagnification # compute magnification coefficients for lens sample | ||
aliases: | ||
binned_lens_catalog_nomag: binned_lens_catalog_unweighted | ||
binned_lens_catalog_mag: binned_lens_catalog_unweighted_mag | ||
|
||
|
||
modules: txpipe | ||
|
||
# Where to put outputs | ||
output_dir: data/example/outputs_ssi_des_mag/ | ||
|
||
# How to run the pipeline: mini, parsl, or cwl | ||
launcher: | ||
name: mini | ||
interval: 1.0 | ||
|
||
# Where to run the pipeline: cori-interactive, cori-batch, or local | ||
site: | ||
name: local | ||
max_threads: 2 | ||
|
||
# configuration settings | ||
config: examples/ssi/config_des_mag.yml | ||
|
||
inputs: | ||
# See README for paths to download these files | ||
balrog_matched_catalog: /global/cfs/cdirs/lsst/groups/WL/users/jelvinpo/balrog_txpipe_example/balrog_matched_catalog_sof_run2a_v1.4.fits | ||
balrog_matched_catalog_mag: /global/cfs/cdirs/lsst/groups/WL/users/jelvinpo/balrog_txpipe_example/balrog_matched_catalog_sof_run2a-mag_v1.4.fits | ||
balrog_lens_photoz_pdfs: /global/cfs/cdirs/lsst/groups/WL/users/jelvinpo/balrog_txpipe_example/balrog_matched_catalog_sof_run2a_v1.4_dnf.h5 | ||
balrog_lens_photoz_pdfs_mag: /global/cfs/cdirs/lsst/groups/WL/users/jelvinpo/balrog_txpipe_example/balrog_matched_catalog_sof_run2a-mag_v1.4_dnf.h5 | ||
|
||
fiducial_cosmology: data/fiducial_cosmology.yml | ||
|
||
# if supported by the launcher, restart the pipeline where it left off | ||
# if interrupted | ||
resume: false | ||
# where to put output logs for individual stages | ||
log_dir: data/example/outputs_ssi_des_mag/logs/ | ||
# where to put an overall parsl pipeline log | ||
pipeline_log: data/example/outputs_ssi_des_mag/log.txt |
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