Skip to main content

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 DataConfig to 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_tiles is too slow. Cause: the cubes were read in full when the tiles were opened (one dask chunk per cube, and da.from_array reading the whole array), not calc_normalisation. Now only the selected wavelength chunks are read. Skipping the normalisation when it's already chosen could still save a little.
  • 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.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 lvm-tools 0.1.2
File Size Uploaded Provenance Actions
lvm_tools-0.1.2.tar.gz 15.7 kB With provenance Details for lvm_tools-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lvm-tools 0.1.2
File Interpreter ABI Platform Actions
lvm_tools-0.1.2-py3-none-any.whl Python 3 none any Details for lvm_tools-0.1.2-py3-none-any.whl

Total release size: 36.1 kB

Release files / lvm_tools-0.1.2.tar.gz

Download URL lvm_tools-0.1.2.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
928a65dfa93f19ec1facb5427276e807f7d158f24b5cfe814d5eeede3c1f86de
BLAKE2b-256 checksum
How to use checksums
b0c194e185b87661646e56dae8dba1379b80cae1cb95cce564197b5b477b8e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Release files / lvm_tools-0.1.2-py3-none-any.whl

Download URL lvm_tools-0.1.2-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4a8853efd232a1ba3ca59894f72770cf98f1aa7aa48e26487be68b1ad6fe0fb
BLAKE2b-256 checksum
How to use checksums
a0a738d424988d0d8e17f9f1130a37be3780ffd5fd5eb898086da93e3f5b943c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Security for lvm-tools 0.1.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lvm_tools-0.1.2.tar.gz

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 Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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