lsd-lite
Simple LSD and affinity graph computation
Install: pip install lsd-lite
Example:
from lsd_lite import get_affs, get_lsds
# 2d short range affs example
affs = get_affs(segmentation, neighborhood=[[1,0],[0,1]])
# 2d long range affs example
affs = get_affs(
segmentation,
neighborhood=[
[1,0],
[0,1],
[3,0],
[0,3],
[6,0],
[0,6]
]
)
# 3d long range adds example
affs = get_affs(
segmentation,
neighborhood=[
[1,0,0],
[0,1,0],
[3,0,0],
[0,3,0],
[0,0,3],
[6,0,0],
[0,6,0],
[0,0,6]
]
)
# lsds example
lsds = get_lsds(segmentation, sigma=10, downsample=2)
Metadata
Release files for lsd-lite 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| lsd_lite-1.0.1.tar.gz | 7.2 kB | Without provenance | Details for lsd_lite-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lsd_lite-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for lsd_lite-1.0.1-py3-none-any.whl |
Total release size: 13.7 kB
Release files / lsd_lite-1.0.1.tar.gz
| Download URL | lsd_lite-1.0.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af3b775625b4ffa6b29fa486507bde478c9505902f68f873451b06206a93f79c
|
|
BLAKE2b-256 checksum How to use checksums |
85108141f7ec9bd2346f771fc28007e876973a13a91e4537d49964b9f83b68a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / lsd_lite-1.0.1-py3-none-any.whl
| Download URL | lsd_lite-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fc25b8cbc745a5dc84304a33c266e126d260ee0b6e07c88414ef8a4f879cae9
|
|
BLAKE2b-256 checksum How to use checksums |
bc68619ed63d34e85c3ead350c67c8b5f13e9b76a42a00fcba1324f03c0fc0c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for lsd-lite 1.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.