Skip to main content

Luminosity functions and photometric corrections toolkit.

Project description

LFKit

CI Docs License PyPI

LFKit is a modular Python toolkit for luminosity function modeling, photometric corrections, and related utilities for cosmological analyses.

It is designed to provide reusable building blocks for working with luminosity functions, magnitude conversions, k-corrections, e-corrections, and photometric response handling in a clear and extensible way.

Features

LFKit currently includes tools for:

  • luminosity function modeling
  • Schechter and evolving luminosity function utilities
  • magnitude and luminosity conversions
  • k-corrections and e-corrections
  • photometric response and filter-related helpers
  • interpolation, validation, and general utility functions

The package is intended to stay modular, so components can be used independently or combined into larger analysis pipelines.

Documentation

View the documentation

Installation

Install LFKit from PyPI:

python -m pip install py-lfkit

Clone the repository and install it locally:

git clone https://github.com/cosmology-kit/lfkit.git
cd lfkit
python -m pip install -e .

Citation

If you use LFKit in your research, please cite it.

@software{sarcevic2026lfkit,
  title   = {LFKit: Luminosity functions and photometric corrections toolkit},
  author  = {Šarčević, Nikolina},
  year    = {2026},
  version = {0.1.4},
  url     = {https://github.com/cosmology-kit/lfkit}
}

License

MIT License © 2025 Niko Šarčević, Matthijs van der Wild, and contributors.

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

py_lfkit-0.4.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_lfkit-0.4.0-py3-none-any.whl (354.4 kB view details)

Uploaded Python 3

File details

Details for the file py_lfkit-0.4.0.tar.gz.

File metadata

  • Download URL: py_lfkit-0.4.0.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for py_lfkit-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9aef2b59b6252a85c1836330fbde191426fcb5fe3d3c7e97ab1a1daff58c1084
MD5 3aa8a0bdde9ead145f9487c538705851
BLAKE2b-256 fe64ba66d3c28da0e42450102d3cb7d1b2abf7bf4913bd4616e1cf7a8448fc7f

See more details on using hashes here.

File details

Details for the file py_lfkit-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: py_lfkit-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 354.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for py_lfkit-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f08ac096e29d0e09fbf9a6cffcda081adcdf7ee2fa50d63e4809d11d7cb96b1d
MD5 a519451b4544ef01069c8c0f767a29b2
BLAKE2b-256 275e3138cbab3a5961c201dd3aca1ac53ce733f5750f4aaab48f1f3b0319860e

See more details on using hashes here.

Supported by

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