Luminosity functions and photometric corrections toolkit.
Project description
LFKit
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
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
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_lfkit-0.2.0.tar.gz.
File metadata
- Download URL: py_lfkit-0.2.0.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fbd9264e555259210c41f3650640e67b55b2f0a9bea299542710966b1e78071
|
|
| MD5 |
a9ce1eeb511293c67e832b9977314c3c
|
|
| BLAKE2b-256 |
4fe1b6be9ba52ea9fc02caa58bf8768ece5eaf98def05ffee6376b9e4dc17c61
|
File details
Details for the file py_lfkit-0.2.0-py3-none-any.whl.
File metadata
- Download URL: py_lfkit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 338.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccc33b00aaa16fcb900784d90c7ce322f2bdbd665691204d740a65c17a1d598e
|
|
| MD5 |
46844be83071380e794a1911e7adb202
|
|
| BLAKE2b-256 |
5e5309337e0c22f20e87ec73149ae9343a217ea23d70817a1fb50255921dfb4b
|