Skip to main content

Color rendering of spectra

This module can convert spectra to RGB. It is inspired by John Walkers specrend.c and the respective python version of Andrew Hutchins, but is completely rewritten.

Usage:

spectralimage = ... #some spectral image
spectralbands = ... #the corresponding wavelengths
converter = SpecRGBConverter(spectralbands)
rgbimage = converter.spectrum_to_rgb(spectralimage)

Metadata

Release files for specrend 0.0.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 specrend 0.0.2
File Size Uploaded Provenance Actions
specrend-0.0.2.tar.gz 9.1 kB Without provenance Details for specrend-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for specrend 0.0.2
File Interpreter ABI Platform Actions
specrend-0.0.2-py3-none-any.whl Python 3 none any Details for specrend-0.0.2-py3-none-any.whl

Total release size: 18.7 kB

Release files / specrend-0.0.2.tar.gz

Download URL specrend-0.0.2.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8da20114caefa6cd8dcddd6f779fd31725f264afe6a8619d2cb9b9103166db5d
BLAKE2b-256 checksum
How to use checksums
d0b4daa2b66e1fe0a04a8b41463ac347e5df9b5207936d998de4644cdd3b7805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / specrend-0.0.2-py3-none-any.whl

Download URL specrend-0.0.2-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88790d447745094a1e1808a14b354cf233f6756c86a3ff8d8fa6adea416e2e02
BLAKE2b-256 checksum
How to use checksums
c209052f321931a64a37bfabb57850fb665b81fbe7bb6b282ed83c628d6c1b2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Security for specrend 0.0.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.

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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