Skip to main content

No project description provided

Project description

color-filter-sds

A collection of spectral distribution (SD) datasets for lighting color filters.

I couldn't find a easy-to-use dataset of filters, so I compiled one myself! For now, the dataset exists in data/filters.json, but I plan to eventually make other ways of accessing the data such as a Python library.

There also exists a nicer-for-humans XLSX file at data/filters.xlsx with the following limitations:

  • No SD data, but will show if there is data available
  • CIE coords are displayed as a (x, y, Y) string which is going to suck to do math on
  • No formatting

For each manufacturer, there is a set of 'raw' data in generators/raw that represents anything I could pull from the sources available. These have some more specialty measurements such as stops and mired shift that only exist for certain filters and as such don't show up in the main dataset. The raw data is not as uniformly manicured as the main dataset, so some additional poking around may be needed. These raw datasets are what the main dataset is derived from, so the data should agree with each other.

Sources

All filter data is owned by their respective companies, I did not measure or characterize any filter myself. All data here is publicly available, provided by the manufacturer to the end user. For more granular data or for commercial licensing, please contact the manufacturer. I do not work for nor am affiliated with any filter manufacturer, so please don't ask me about it!

Apollo

The Apollo data is pulled from a set of swatchbook PDFs kindly provided to me by Apollo -- this repo does not contain these PDFs, but the parsing code is available. If any discrepancies are noticed, I can manually compare and provide the swatchbook pages if needed.

The Apollo RGB values are pulled from an archived version of their Gel Converter tool.

Apollo no longer manufactures gel as of 2020ish, but old stock may still be floating around. And besides, it'd be a shame to lose the delightful color names.

Lee

The Lee data is scraped directly from the Lee Filters website.

Rosco

The existing Rosco data is scraped from Rosco myColor.

Future Work

  • Finish Rosco dataset: the spectral distribution values exist in PDF form but that's hard to parse.
  • Create Python module that integrates with the colour-science module
  • Try graphical curve fitting to get a smart-extrapolation of SD graphs
  • Clean up XLSX export

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

lighting_filters-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

lighting_filters-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lighting_filters-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/23.6.0

File hashes

Hashes for lighting_filters-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ee41ec47ae3180d68739be8fdd9169c082c7d5d08f145b1f05a40e5e7b8f9d5
MD5 112b9783b33c22b9ad96b396734304ad
BLAKE2b-256 051be398d3fd31bdd4fd8908d3a65635f73453df2b9726428952b14ac1196e86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lighting_filters-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/23.6.0

File hashes

Hashes for lighting_filters-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 303e81f9ac9f18d337900c1ce177918866b2c06e442fc9060452ad384fa750a9
MD5 12787f7dc4b401e25ac60454765a3884
BLAKE2b-256 36a15ffb6442c41c9f9e77d00f8322a2384f37e95ec98101f2cecb9569a1cebc

See more details on using hashes here.

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