LEPHARE photometric redshift estimator
Project description
lephare
IMPORTANT! This project is in an early development stage. If you wish to use and run LePHARE please download it from the official repository.
LePHARE (PHotometric Analysis for Redshift Estimation) is a Python package built on a complete rewrite in C++ of the Fortran code LePhare. LePHARE computes photometric redshifts and physical parameters by fitting spectral energy distributions (SED) to a dataset of photometric fluxes or apparent magnitudes.
Installation
The simplest way to install lephare is using pip:
pip install lephare
If you prefer to use binary executables from the command line you may wish to conduct a legacy installation.
Example usage
We provide a number of Jupyter notebooks demonstrating various aspects of the Python code.
Dev Guide - Getting Started
Before installing any dependencies or writing code, it's a great idea to create a
virtual environment. LINCC-Frameworks engineers primarily use conda
to manage virtual
environments. If you have conda installed locally, you can run the following to
create and activate a new environment.
>> conda create env -n <env_name> python=3.10
>> conda activate <env_name>
Once you have created a new environment, you can install this project for local development using the following commands:
>> git submodule update --init --recursive
>> pip install -e .'[dev]'
>> pre-commit install
>> conda install pandoc
Notes:
- The single quotes around
'[dev]'
may not be required for your operating system. pre-commit install
will initialize pre-commit for this local repository, so that a set of tests will be run prior to completing a local commit. For more information, see the Python Project Template documentation on pre-commit- Install
pandoc
allows you to verify that automatic rendering of Jupyter notebooks into documentation for ReadTheDocs works as expected. For more information, see the Python Project Template documentation on Sphinx and Python Notebooks
Citation
If using this code in scientific research please cite the following papers:
This project was automatically generated using the LINCC-Frameworks python-project-template. For more information about the project template see the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file lephare-0.1.5.tar.gz
.
File metadata
- Download URL: lephare-0.1.5.tar.gz
- Upload date:
- Size: 995.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307e5e55aa62141f730d6d916eaaccea4b0fcd77ef44c9eafcdb5de77e58a880 |
|
MD5 | afa83b86f7bfe28d48e4b789147f9971 |
|
BLAKE2b-256 | bf1d5acb931f668fafe1a4f394c9b79b3b30b82635212499a38035a5d73535ac |
Provenance
File details
Details for the file lephare-0.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 9.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c2cd95e7c9a8d51032359954d04733db7d03e3b88de33f63b6f50ee9c4a2153 |
|
MD5 | 0907958b009b5d0bfcd0ed176235f62e |
|
BLAKE2b-256 | e437f973de520d34ef68951b99548d731bb8e2e3cc21329acc67d49eb9b98075 |
Provenance
File details
Details for the file lephare-0.1.5-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 945.8 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9254c20a163f32263ddf6077dc8e2f1495fafae4b53b51524fbe8805ca2fa88 |
|
MD5 | 05ad09736be89db78e21bed81697bd91 |
|
BLAKE2b-256 | df4dcaf24fbec882f05180d9e439f56759b89714a626cc7f39e3676cea73dbf4 |
Provenance
File details
Details for the file lephare-0.1.5-cp312-cp312-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp312-cp312-macosx_10_15_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 077427d1ffb0ca1a1fbf3bf81dbfb3679fd06c99bf233617b2324b80bfa75706 |
|
MD5 | 17bb34170ffc3eeb826844b9822d3eda |
|
BLAKE2b-256 | 3bc0ceb5567a7980f26b98ff616859c6db94aa81d4d5293f55a0d3f394fdf35d |
Provenance
File details
Details for the file lephare-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 9.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb12f60e92f7b6ad007e6e24d91659bf9fb6562c4c7b4994d9e02f353fd9e258 |
|
MD5 | 38d8c5ffa98d317b96915976b9288329 |
|
BLAKE2b-256 | 045dff079d0683b02fa0220e0f46375e9a75a4c585a23dfc27a9eda848ce898c |
Provenance
File details
Details for the file lephare-0.1.5-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 942.4 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c839d193096af218efe080d6e439c5080dd5d928cc7133c52e0f97ec175fddbb |
|
MD5 | 7baa786d2113835a88e57186cb44b41d |
|
BLAKE2b-256 | 28e55c3f84d6a081f2a2b6f356c6a6ebcb8130527b8b04928144880a6e4265d6 |
Provenance
File details
Details for the file lephare-0.1.5-cp311-cp311-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp311-cp311-macosx_10_15_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5b1e7dd94c2d4f5dc8e1bc0b25ec821b87e0a85ed79bc47f702631dbdccd5fc |
|
MD5 | c4a3e325b4c77712e27635231021c190 |
|
BLAKE2b-256 | 94b2f7e49d585214fbd6ae9cbef83a90c4f9d88e8b8620e7b279df0c6bdcc1d1 |
Provenance
File details
Details for the file lephare-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 9.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0146cb58f3b7708c5ac6e52ed04a4761ad625a785ef6b43a156857a4bbf314 |
|
MD5 | 39df6974bef329d31ab12439ef01919f |
|
BLAKE2b-256 | b52b4cdf3ca44b67353bebd438a88bbed3022fb51a22f7d6b7f175e6fa4b56c4 |
Provenance
File details
Details for the file lephare-0.1.5-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 941.2 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2409ba4b54dd05338a3879a784feb3fd3b60e533c258bba5fb9e63c9097d655 |
|
MD5 | e1bfbb17ea6cbec9af3b5392268dcdb1 |
|
BLAKE2b-256 | 20a16f88b0a1a3f33e4144685b4250162e9307e2fb5fc755a8f79700f5b539af |
Provenance
File details
Details for the file lephare-0.1.5-cp310-cp310-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp310-cp310-macosx_10_15_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a11bb7b161f745ccb028c2b41f913fafa07c4531621008e6e87493edf74aa3 |
|
MD5 | 405fd498df332d0d1ab608f9882577b3 |
|
BLAKE2b-256 | 3b4db0044f18ca384a8685bee81ecb50f7525c32547ba03695ffb19ebfd24e71 |
Provenance
File details
Details for the file lephare-0.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 9.3 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df68b92b47a711a78df1ab01610a7703f6b3b19e5ab0aaebec06a3be4d9bb58c |
|
MD5 | 4dbc05dc7cd98e42a36e6bb2f570b185 |
|
BLAKE2b-256 | 4c1e715df49d329d17bf660b975c70d0d642807e97be94deae0e3424436f1d67 |
Provenance
File details
Details for the file lephare-0.1.5-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 941.3 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2be682aaad6d023d568cf3e6b914eaa28dadd759154e59090fd3fb872a6cdb1 |
|
MD5 | 5f3e24c337774c323f6bfb2f907342a3 |
|
BLAKE2b-256 | 2e00ab4c86a99c0c79850fa54dd60f0cac80c68035307deb59c544dfff67d09c |
Provenance
File details
Details for the file lephare-0.1.5-cp39-cp39-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: lephare-0.1.5-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5292853606c56e11024c785644f5bbde17d92acc696e3ddbec589abe70e650b |
|
MD5 | 7088e8a3ea3fa2652eb14b71358fd8f0 |
|
BLAKE2b-256 | 799ea6e26ec4fad748dd7168dc377b535bc7bec2f73eeb8b1edc185f05c7aa9e |