Skip to main content

LEPHARE photometric redshift estimator

Project description

lephare

Template

PyPI GitHub Workflow Status Codecov Read The Docs

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:

>> pip install -e .'[dev]'
>> pre-commit install
>> conda install pandoc

Notes:

  1. The single quotes around '[dev]' may not be required for your operating system.
  2. 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
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lephare-0.1.2.tar.gz (309.4 kB view details)

Uploaded Source

Built Distributions

lephare-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

lephare-0.1.2-cp312-cp312-macosx_11_0_arm64.whl (939.4 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

lephare-0.1.2-cp312-cp312-macosx_10_15_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12 macOS 10.15+ x86-64

lephare-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

lephare-0.1.2-cp311-cp311-macosx_11_0_arm64.whl (936.3 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

lephare-0.1.2-cp311-cp311-macosx_10_15_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

lephare-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

lephare-0.1.2-cp310-cp310-macosx_11_0_arm64.whl (934.7 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

lephare-0.1.2-cp310-cp310-macosx_10_15_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

lephare-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

lephare-0.1.2-cp39-cp39-macosx_11_0_arm64.whl (934.8 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

lephare-0.1.2-cp39-cp39-macosx_10_15_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

File details

Details for the file lephare-0.1.2.tar.gz.

File metadata

  • Download URL: lephare-0.1.2.tar.gz
  • Upload date:
  • Size: 309.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for lephare-0.1.2.tar.gz
Algorithm Hash digest
SHA256 92926a08894d2b8cb32e0a47b4a6f10d5ffd831b5dce64c2e54913b7835aa955
MD5 36a1dab21b88c2d590e322d90ec8ab78
BLAKE2b-256 36e6b39ddedf463017fd8156ac65f835762868d3d5afcbc70f97065f8ed9ee05

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f09a95f390c512c7c7550d01cd781fd58884b94d8dee52cfd9d2c5f67b0a9328
MD5 b65850e71982fb9a44e2fe5ab3256867
BLAKE2b-256 0ef83fc5ab226437404792179006298e36a21fdda3a0281295950d72700a3729

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c589dfaf93c74aea8c6da5091efe4952b06573307ed4a29ec7376439b17af549
MD5 2c21c24deece3e76c45125d992da7638
BLAKE2b-256 02dd1385c9fcaf4ec46b5c1af1b277481672bd66f29322569ea9bce51517a4d6

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3dfe496df080d65293f742dbf4355d1b3f467b9b9cb59f5b51e0bd66e080fb69
MD5 045c71e491d285c79b9849177706da06
BLAKE2b-256 43042b347288acc50549d0d13f582235c687ec1be6da7f4ca6eb12a7fc28d0e8

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5c448d8bff973c14f573830e160fbe0207a2a520298c13b442a16cfe46c60228
MD5 6f9a1d628725dbe4e0ec423ae11cc351
BLAKE2b-256 7d4fadbb2f7ad385bf14fb72fea9924c9c1be3952e37a73b21bb7b3a50560822

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 420384040542278c2d07ee60a7fccb2e872e7f0e45f73f87213988659b24cff5
MD5 b564298fc2bb1117d9768c3b27a65dd6
BLAKE2b-256 0e687628ffab9d5ac373522f80ab654e2af391991f017f64ad76627900d9d70f

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b3c1d2c3833f75cbac3eb94f799606cd71cb8a82d6fa5731b500dee2238b17e9
MD5 a5cfda678b598a41ec0f27ff689a6e0a
BLAKE2b-256 6d7c5e708e40a7e54885d2f26636be65918de00678743bd1cd675763e4a20464

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5eeb76452814de1e3cbe1f8f4a8edcd9521b672fbcd99aff53fa73c961fd770c
MD5 1168af8c16753d13a18c1654530a75ed
BLAKE2b-256 57066388815dedeac89ccd8e266b3dff31e36f93d084e0efc5118cfaeaa9d2bf

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 337e64dfb5c99191f2cad99139da879c8b86709fc881ec844046a28c3b7aa195
MD5 6216d7f526a1698f7f9f1bf0284a1644
BLAKE2b-256 6dd31548953859cf849eb0a941e22eca0ef8813308d9e2a0e8266002b45e90bd

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1c3649e947d64edba73d24ca40fbf5115eafb9e5d0ae61c0828d69908fb104ff
MD5 4bb9bb6d81cc20f91eea9207eba701f3
BLAKE2b-256 4e96b0123f1f63be9d23e2eab06f9d93b65eedd9c90612fb924ec2dc735b8b7d

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 110aefcb985c9d523290b883507accd9b1b7c432f1910322ab24573a3685f488
MD5 467114ccffbeeb005a26bac8fd1a37de
BLAKE2b-256 630b5b05dc19cd64c15766a5da731250c5b38a7cd8bc1130416a26379417eaac

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f8be027de784284d9c8b3fd5c9c79ae381116aa0aefda5a1681a47fbc0fad1f
MD5 11e0875ebef83d757c3f3a315f448a35
BLAKE2b-256 da385dc5fe5181d62607e8794ee948335504d317f0f92bb4c050986fe1357cbe

See more details on using hashes here.

Provenance

File details

Details for the file lephare-0.1.2-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for lephare-0.1.2-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1a0d0614e5eee298c0d9f5422b71e373154bd8c5fb6728a10ec02b48aaa382b6
MD5 8804df55042da6107beea387ec0e1a89
BLAKE2b-256 1295762616973e0d76b347ef3a48c18ede09d0613e43261fb60a60272d190e82

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page