lvm_tools
Lightweight wrapper of LVM DRP data with an emphasis on modularity. Allows for lazy reading via dask, especially useful for fitting large models. Designed for use with spectrospatial models via spectracles but probably useful for other things too.
Feel free to contact me personally if you have any questions at all.
Installation
Easiest is from PyPI either with pip
pip install lvm-tools
or uv (recommended)
uv add lvm-tools
Or, you can clone and build from source
git clone git@github.com:TomHilder/lvm_tools.git
cd lvm_tools
pip install -e .
Usage
TODO
Citation
TODO
Help
TODO
TODO
- Extend wavelength range support in
DataConfigto support multiple segments in λ- The point of this is to be able to fit two lines at very diffferent λ at once without reading all the data between the lines
- The
DataConfig.from_tilesis too slow, which I think is because the data does get all read in forcalc_normalisation. Most of the time reading this in, the normalisation has been chosen in practice, so we should skip this step in that case right? - Relax version requirements from being strictly my environment (which is very up-to-date)
- repr for FitData
- Logging/hashing
- Cache
- OptConfig
- Testing ?
Metadata
Release files for lvm-tools 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lvm_tools-0.1.1.tar.gz | 15.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lvm_tools-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.9 kB
Release files / lvm_tools-0.1.1.tar.gz
| Download URL | lvm_tools-0.1.1.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8946b90c3407a3cdd2274ecb1f68ee6a2e5d6550a60a8901ac4a95587758f089
|
|
BLAKE2b-256 checksum How to use checksums |
3184282a41ddc87b7c6078f1027cb72d540c357bac5d5c80d7b93893c9b5259c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logRelease files / lvm_tools-0.1.1-py3-none-any.whl
| Download URL | lvm_tools-0.1.1-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
395f8da6253ea637807cbaf7cd1c43a997f3f37d5e708b525d15eab4bc76ab5b
|
|
BLAKE2b-256 checksum How to use checksums |
024af0a9f8b318029b7e212f7de3739d30eba2b4ac034ea8225c055f18934b5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency log