Skip to content

Commit

Permalink
rename rail classes
Browse files Browse the repository at this point in the history
  • Loading branch information
joezuntz committed Jun 17, 2024
1 parent fe0b417 commit e557f3d
Show file tree
Hide file tree
Showing 19 changed files with 54 additions and 54 deletions.
4 changes: 2 additions & 2 deletions examples/clmm/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ global:

PZPrepareEstimatorSource:
name: PZPrepareEstimatorSource
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: source_photoz_model
Expand All @@ -27,7 +27,7 @@ PZPrepareEstimatorSource:

PZEstimatorSource:
name: PZEstimatorSource
classname: BPZ_lite
classname: BPZliteEstimator
aliases:
model: source_photoz_model
input: shear_catalog
Expand Down
4 changes: 2 additions & 2 deletions examples/clmm/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ python_paths:

stages:
- name: PZPrepareEstimatorSource # Prepare the p(z) estimator
classname: Inform_BPZ_lite
classname: BPZliteInformer
- name: PZEstimatorSource # Measure lens galaxy PDFs
classname: BPZ_lite
classname: BPZliteEstimator
threads_per_process: 1
- name: TXSourceSelectorMetadetect # Select a source sample
- name: CLClusterShearCatalogs # Find shear catalogs around each cluster
Expand Down
2 changes: 1 addition & 1 deletion examples/cosmodc2/config-1deg2-CL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TXSourceSelectorMetadetect:
true_z: False
shear_prefix: ''

Inform_BPZ_lite:
BPZliteInformer:
aliases:
input: spectroscopic_catalog
model: photoz_model
Expand Down
2 changes: 1 addition & 1 deletion examples/cosmodc2/config-20deg2-CL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TXSourceSelectorMetadetect:
true_z: False
shear_prefix: ''

Inform_BPZ_lite:
BPZliteInformer:
aliases:
input: spectroscopic_catalog
model: photoz_model
Expand Down
2 changes: 1 addition & 1 deletion examples/cosmodc2/pipeline-1deg2-CL-in2p3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ python_paths: []
stages:
# - name: TXSourceSelectorMetadetect
# nprocess: 1
# - name: Inform_BPZ_lite
# - name: BPZliteInformer
# nprocess: 1
# - name: BPZ_lite
# nprocess: 1
Expand Down
2 changes: 1 addition & 1 deletion examples/cosmodc2/pipeline-1deg2-CL-nersc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ python_paths: []
stages:
# - name: TXSourceSelectorMetadetect
# nprocess: 1
# - name: Inform_BPZ_lite
# - name: BPZliteInformer
# nprocess: 1
# - name: BPZ_lite
# nprocess: 1
Expand Down
2 changes: 1 addition & 1 deletion examples/cosmodc2/pipeline-20deg2-CL-in2p3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ python_paths: []
stages:
# - name: TXSourceSelectorMetadetect
# nprocess: 30
# - name: Inform_BPZ_lite
# - name: BPZliteInformer
# nprocess: 1
# - name: BPZ_lite
# nprocess: 30
Expand Down
2 changes: 1 addition & 1 deletion examples/cosmodc2/pipeline-20deg2-CL-nersc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ python_paths: []
stages:
# - name: TXSourceSelectorMetadetect
# nprocess: 30
# - name: Inform_BPZ_lite
# - name: BPZliteInformer
# nprocess: 1
# - name: BPZ_lite
# nprocess: 30
Expand Down
2 changes: 1 addition & 1 deletion examples/dp0.2/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ global:
nside: 256
sparse: True

Inform_BPZ_lite:
BPZliteInformer:
aliases:
input: spectroscopic_catalog
model: photoz_model
Expand Down
2 changes: 1 addition & 1 deletion examples/dp0.2/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Stages to run
stages:
# - name: TXIngestDataPreview02
- name: Inform_BPZ_lite
- name: BPZliteInformer
- name: BPZ_lite
nodes: 2
nprocess: 128
Expand Down
14 changes: 7 additions & 7 deletions examples/ext_cross_corr/config_1deg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ TXLensTrueNumberDensity:

PZPrepareEstimatorLens:
name: PZPrepareEstimatorLens
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: lens_photoz_model
Expand All @@ -90,7 +90,7 @@ PZPrepareEstimatorLens:

PZPrepareEstimatorSource:
name: PZPrepareEstimatorSource
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: source_photoz_model
Expand All @@ -117,7 +117,7 @@ PZPrepareEstimatorSource:

PZEstimatorLens:
name: PZEstimatorLens
classname: BPZ_lite
classname: BPZliteEstimator
aliases:
model: lens_photoz_model
input: photometry_catalog
Expand Down Expand Up @@ -402,16 +402,16 @@ TXParqetToHDF:
output: spectroscopic_catalog


Inform_NZDirSource:
name: Inform_NZDirSource
NZDirInformerSource:
name: NZDirInformerSource
usecols: [r, i, z]
hdf5_groupname: photometry
aliases:
input: spectroscopic_catalog
model: source_direct_calibration_model

Inform_NZDirLens:
name: Inform_NZDirLens
NZDirInformerLens:
name: NZDirInformerLens
usecols: [u, g, r, i, z, "y"]
hdf5_groupname: photometry
aliases:
Expand Down
12 changes: 6 additions & 6 deletions examples/ext_cross_corr/pipeline_1deg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ stages:
- name: GridSelection # Simulate a spectroscopic sample
- name: TXParqetToHDF # Convert the spec sample format
- name: PZPrepareEstimatorLens # Prepare the p(z) estimator
classname: Inform_BPZ_lite
classname: BPZliteInformer
- name: PZEstimatorLens # Measure lens galaxy PDFs
classname: BPZ_lite
classname: BPZliteEstimator
threads_per_process: 1
- name: TXMeanLensSelector # select objects for lens bins from the PDFs
- name: Inform_NZDirLens # Prepare the DIR method inputs for the lens sample
classname: Inform_NZDir
- name: NZDirInformerLens # Prepare the DIR method inputs for the lens sample
classname: NZDirInformer
- name: PZRailSummarizeLens # Run the DIR method on the lens sample to find n(z)
classname: PZRailSummarize
- name: PZRailSummarizeSource # Run the DIR method on the lens sample to find n(z)
classname: PZRailSummarize
- name: TXSourceSelectorMetadetect # select and split objects into source bins
- name: Inform_NZDirSource # Prepare the DIR method inputs for the source sample
classname: Inform_NZDir
- name: NZDirInformerSource # Prepare the DIR method inputs for the source sample
classname: NZDirInformer
- name: TXShearCalibration # Calibrate and split the source sample tomographically
- name: TXLensCatalogSplitter # Split the lens sample tomographically
- name: TXLSSWeightsUnit # add systematic weights to the lens sample (weight=1 for this example)
Expand Down
14 changes: 7 additions & 7 deletions examples/hscy3/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ TXLensTrueNumberDensity:

PZPrepareEstimatorLens:
name: PZPrepareEstimatorLens
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: lens_photoz_model
Expand All @@ -68,7 +68,7 @@ PZPrepareEstimatorLens:

PZPrepareEstimatorSource:
name: PZPrepareEstimatorSource
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: source_photoz_model
Expand All @@ -94,7 +94,7 @@ PZPrepareEstimatorSource:

PZEstimatorLens:
name: PZEstimatorLens
classname: BPZ_lite
classname: BPZliteEstimator
aliases:
model: lens_photoz_model
input: photometry_catalog
Expand Down Expand Up @@ -420,16 +420,16 @@ TXParqetToHDF:
output: spectroscopic_catalog


Inform_NZDirSource:
name: Inform_NZDirSource
NZDirInformerSource:
name: NZDirInformerSource
usecols: [r, i, z]
hdf5_groupname: photometry
aliases:
input: spectroscopic_catalog
model: source_direct_calibration_model

Inform_NZDirLens:
name: Inform_NZDirLens
NZDirInformerLens:
name: NZDirInformerLens
usecols: [u, g, r, i, z, "y"]
hdf5_groupname: photometry
aliases:
Expand Down
4 changes: 2 additions & 2 deletions examples/lensfit/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ TXSourceSelectorLensfit:

PZPrepareEstimatorLens:
name: PZPrepareEstimatorLens
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: lens_photoz_model
Expand Down Expand Up @@ -292,7 +292,7 @@ TXParqetToHDF:

PZEstimatorLens:
name: PZEstimatorLens
classname: BPZ_lite
classname: BPZliteEstimator
aliases:
model: lens_photoz_model
input: photometry_catalog
Expand Down
4 changes: 2 additions & 2 deletions examples/lensfit/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ stages:
- name: TXStarCatalogSplitter
- name: TXTruthLensSelector
- name: PZPrepareEstimatorLens
classname: Inform_BPZ_lite
classname: BPZliteInformer
- name: PZEstimatorLens
classname: BPZ_lite
classname: BPZliteEstimator
- name: TXPhotozSourceStack
classname: TXPhotozStack
- name: TXPhotozLensStack
Expand Down
14 changes: 7 additions & 7 deletions examples/metadetect/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ TXLensTrueNumberDensity:

PZPrepareEstimatorLens:
name: PZPrepareEstimatorLens
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: lens_photoz_model
Expand All @@ -66,7 +66,7 @@ PZPrepareEstimatorLens:

PZPrepareEstimatorSource:
name: PZPrepareEstimatorSource
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: source_photoz_model
Expand All @@ -93,7 +93,7 @@ PZPrepareEstimatorSource:

PZEstimatorLens:
name: PZEstimatorLens
classname: BPZ_lite
classname: BPZliteEstimator
aliases:
model: lens_photoz_model
input: photometry_catalog
Expand Down Expand Up @@ -382,16 +382,16 @@ TXParqetToHDF:
output: spectroscopic_catalog


Inform_NZDirSource:
name: Inform_NZDirSource
NZDirInformerSource:
name: NZDirInformerSource
usecols: [r, i, z]
hdf5_groupname: photometry
aliases:
input: spectroscopic_catalog
model: source_direct_calibration_model

Inform_NZDirLens:
name: Inform_NZDirLens
NZDirInformerLens:
name: NZDirInformerLens
usecols: [u, g, r, i, z, "y"]
hdf5_groupname: photometry
aliases:
Expand Down
12 changes: 6 additions & 6 deletions examples/metadetect/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ stages:
- name: GridSelection # Simulate a spectroscopic sample
- name: TXParqetToHDF # Convert the spec sample format
- name: PZPrepareEstimatorLens # Prepare the p(z) estimator
classname: Inform_BPZ_lite
classname: BPZliteInformer
- name: PZEstimatorLens # Measure lens galaxy PDFs
classname: BPZ_lite
classname: BPZliteEstimator
threads_per_process: 1
- name: TXMeanLensSelector # select objects for lens bins from the PDFs
- name: Inform_NZDirLens # Prepare the DIR method inputs for the lens sample
classname: Inform_NZDir
- name: NZDirInformerLens # Prepare the DIR method inputs for the lens sample
classname: NZDirInformer
- name: PZRailSummarizeLens # Run the DIR method on the lens sample to find n(z)
classname: PZRailSummarize
- name: PZRailSummarizeSource # Run the DIR method on the lens sample to find n(z)
classname: PZRailSummarize
- name: TXSourceSelectorMetadetect # select and split objects into source bins
- name: Inform_NZDirSource # Prepare the DIR method inputs for the source sample
classname: Inform_NZDir
- name: NZDirInformerSource # Prepare the DIR method inputs for the source sample
classname: NZDirInformer
- name: TXShearCalibration # Calibrate and split the source sample tomographically
- name: TXLensCatalogSplitter # Split the lens sample tomographically
- name: TXStarCatalogSplitter # Split the star catalog into separate bins (psf/non-psf)
Expand Down
6 changes: 3 additions & 3 deletions examples/metadetect_source_only/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PZPDFMLZ:

PZPrepareEstimatorSource:
name: PZPrepareEstimatorSource
classname: Inform_BPZ_lite
classname: BPZliteInformer
aliases:
input: spectroscopic_catalog
model: source_photoz_model
Expand Down Expand Up @@ -236,8 +236,8 @@ TXParqetToHDF:
output: spectroscopic_catalog


Inform_NZDirSource:
name: Inform_NZDirSource
NZDirInformerSource:
name: NZDirInformerSource
usecols: [r, i, z]
hdf5_groupname: photometry
aliases:
Expand Down
4 changes: 2 additions & 2 deletions examples/metadetect_source_only/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ stages:
- name: PZRailSummarizeSource # Run the DIR method on the lens sample to find n(z)
classname: PZRailSummarize
- name: TXSourceSelectorMetadetect # select and split objects into source bins
- name: Inform_NZDirSource # Prepare the DIR method inputs for the source sample
classname: Inform_NZDir
- name: NZDirInformerSource # Prepare the DIR method inputs for the source sample
classname: NZDirInformer
- name: TXShearCalibration # Calibrate and split the source sample tomographically
- name: TXSourceMaps # make source g1 and g2 maps
- name: TXAuxiliarySourceMaps # make PSF and flag maps
Expand Down

0 comments on commit e557f3d

Please sign in to comment.