Skip to main content
pyLick

pyLick is a Python tool designed to measure spectral features, such as Lick indices and D4000, in galaxy spectra. It currently supports over 80 features spanning the near-UV to the near-IR. New ones can be easily introduced. The uncertainties are evaluated using the signal-to-noise method proposed by Cardiel et al. (1998). The code interpolates over bad pixels when a bad pixels mask is provided, allowing users to discard measurements above a specified Bad Pixel Fraction threshold. Additionally, the code includes convenient plotting routines.

GitLab arxiv Documentation Status License Version

Installation

The code can be quikly installed from Pypi:

pip install pylick

For more flexibility, clone the source repository into your working folder and install it locally:

git clone https://gitlab.com/mmoresco/pylick.git
cd pylick/
pip install -e .

To test the installation, run the following command:

python -c "import pylick; print(pylick.__version__)"

Documentation

Read the docs at pylick.readthedocs.io

Citation

Please cite the following paper if you find this code useful in your research (ADS, arXiv, INSPIRE):

@ARTICLE{Borghi2022a,
    author = {{Borghi}, Nicola and {Moresco}, Michele and {Cimatti}, Andrea and et al.},
     title = "{Toward a Better Understanding of Cosmic Chronometers: Stellar Population Properties of Passive Galaxies at Intermediate Redshift}",
   journal = {ApJ},
      year = 2022,
     month = mar,
    volume = {927},
     pages = {164},
       doi = {10.3847/1538-4357/ac3240},
    eprint = {2106.14894},
    adsurl = {https://ui.adsabs.harvard.edu/abs/2022ApJ...927..164B},
}

The team

Metadata

Release files for pylick 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylick 1.0.2
File Size Uploaded
pylick-1.0.2.tar.gz 34.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylick 1.0.2
File Interpreter ABI Platform
pylick-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 69.2 kB

Release files / pylick-1.0.2.tar.gz

Download URL pylick-1.0.2.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c134ebf33d3328e23a67867d667d944ad3182a4b167f28277189e1fec96f6afe
BLAKE2b-256 checksum
How to use checksums
ec3741ac9a4eb5af6fdc2dc02b39932466d39bf0b0f387099483736726712112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release files / pylick-1.0.2-py3-none-any.whl

Download URL pylick-1.0.2-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cb81e766cc84b0106e4fefb6d859fd23f49feee2e0255c719a0b3f6ecfe879e
BLAKE2b-256 checksum
How to use checksums
9af729675ebcff63205a2ac5be268c3b8f1efe9f04fc7e2f12de864b40869ca0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page