The code supplied here is capable of processing the data provided by the different catalogues and to perform the photometric redshift fitting via LePhare. In addition to that, various plotting routines are provided to perform analysis of the joint input catalogue and the output coming from LePhare.
To be able to run this, the following requirements need to be met:
- A
python 3.10
environment, including theastropy
,astroquery
,scipy
and standard modules - The
function package
and thecatalogues
in the same directory as this script. - For the LePhare part, the
LEPHAREDIR
andLEPHAREWORK
environment variable should be set up along with a working LePhare installation (for which the setup instructions are provided here).
The code is structured into three main jupyter notebooks to keep it cleaner.
All of the functions used for these notebooks can either be found directly in them or in the function_package
directory.
In this part of the code, the input catalogue data is assembled.
More information is provided in the header of the notebook, see match_tables.ipynb
.
In this part of the code, the LePhare routines are provided and briefly explained.
More information is provided in the header of the notebook, see run_lephare.ipynb
.
The notebook catalogue_analysis.ipynb
provides several ways to plot the data.
(STILL TODO)
Note: It is important that these routines are called one after another for each region.
- Please see
other/citations.md
for any citations/acknowledgements that might be required when using this script.
This project is distributed using the BSD 3-Clause License, see the License
file.