Skip to main content

lod_unit logo

Codecov PyPI Documentation Status CI


lod_unit

This is set up to make it easy to keep coronagraph information in λ/D space with an astropy unit called lod ("Lambda Over D"). Convert into angular units (or vise versa) with an astropy Equivalency relationship lod. See documentation here.

Installation

pip install lod_unit

Use

Typical use will look like

import astropy.units as u
from astropy.units import equivalencies as equiv
import lod_unit

diam = 10*u.m
lam = 500*u.nm
separation_lod = 3 * u.lod
separation_lod.to(u.arcsec, equiv.lod(lam, diam))
>> <Quantity 0.03093972 arcsec>

separations_as = [0.1, 0.5, 1]*u.arcsec
separations_as.to(u.lod, equiv.lod(lam, diam))
>> <Quantity [ 9.69627362, 48.48136811, 96.96273622] λ/D>

Gosh Corey, that's a lot of releases with no changes

This was a testing place for GitHub tools on the assumption no one would notice. Go away.

Metadata

Release files for lod-unit 1.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lod-unit 1.8.0
File Size Uploaded
lod_unit-1.8.0.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lod-unit 1.8.0
File Interpreter ABI Platform
lod_unit-1.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.2 kB

Release files / lod_unit-1.8.0.tar.gz

Download URL lod_unit-1.8.0.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3af50e667b94635898bf2e66e9873865556f090fcf9f2e78840e3d2de006f27f
BLAKE2b-256 checksum
How to use checksums
b405d690f94961a86e663892b318c99dedbc23702b6e3f049d9cbc9a23c4b356
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jul 5, 2025.

Transparency log

Release files / lod_unit-1.8.0-py3-none-any.whl

Download URL lod_unit-1.8.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd0e9d2d77aa87911dc1bfe3b29a549cfa01162814479833a6f8093bfc523215
BLAKE2b-256 checksum
How to use checksums
42099039e54285c4d5696391913bf6965c31de9b41cf59143f194e2d9b2eaf7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jul 5, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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