Skip to content

(Photo-z) Training Set Maker. Python modules to create customized training and validation/test sets using public spectroscopic redshifts and LSST photometric data.

License

Notifications You must be signed in to change notification settings

linea-it/pzserver_pipelines

Repository files navigation

PZ Server pipelines

Repository to host the PZ Server's pipelines:

Combine Spec-z Catalogs (to do)

Combines multiple spectroscopic redshift catalogs into a single sample with homogenized data formats and a unique system of quality flags translated from the survey's original files.

Training Set Maker (in progress)

Creates customized training and validation/test sets using a compilation of spectroscopic redshifts and LSST photometric data.

Acknowledgements

Software developed and delivered as part of the in-kind contribution program BRA-LIN, from LIneA to the Rubin Observatory's LSST. An overview of this and other contributions is available here. The pipelines take advantage of the software support layer developed by LINCC, available as Python libraries: hipscat, hipscat-import and lsdb.

Test data

This repository currently contains a basic dataset, for testing purposes only. The ideal is to connect the pipelines to systems with access to a larger datasets.

Install

The only requirement is to have miniconda or anaconda previously installed:

git clone https://github.com/linea-it/pzserver_pipelines && cd pzserver_pipelines
./setup.sh
source env.sh
. ./install_pipelines.sh

The setup.sh will suggest a directory where the pipelines and datasets are installed, type 'yes' to confirm or 'no' to configure the desired path in each case with the respective environment variables and then run again setup.sh.

Run a pipeline

To execute, simply:

# execute training set maker
cd $PIPELINES_DIR/training_set_maker
mkdir process001
./run.sh config.yaml process001

About

(Photo-z) Training Set Maker. Python modules to create customized training and validation/test sets using public spectroscopic redshifts and LSST photometric data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published