Skip to main content

Lazily read/encapsulate LVM DRP data in a modular way

Project description

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, which I think is because the data does get all read in for calc_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 ?

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

lvm_tools-0.1.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

lvm_tools-0.1.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file lvm_tools-0.1.0.tar.gz.

File metadata

  • Download URL: lvm_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lvm_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 71c6e3fffc834f038e35006173d0c9342b2d34cf95d70e6b0d28aebababf87cc
MD5 843a7db8d9f91bf1d73c64dbe1f64d93
BLAKE2b-256 adafd3c6f35ca1d42f8c37e284750c58be83e95cb3bb7959aa150a61b68c5bbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for lvm_tools-0.1.0.tar.gz:

Publisher: release.yml on TomHilder/lvm_tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lvm_tools-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lvm_tools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lvm_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd5503e24a594f48d712d2de449e81fa46ad4ce908b5f9c622615c43d9c9c795
MD5 b45920c9018b1a61efaf48bfd7513249
BLAKE2b-256 ae36cb784defe75c7d168eeb75896b6f9da9ae73265fb841a242bcb080197dcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for lvm_tools-0.1.0-py3-none-any.whl:

Publisher: release.yml on TomHilder/lvm_tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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