What does Melanopic Light and Blue-Light Lenses conclude, in numbers, about “Testing the Clear "Blue-Blocker"”?

Answer: Chapter 4 tests lenses: a clear violet-cut lens removes 0.0000 to 0.0003 more than plain glass, an amber lens protects 0.587 and a red one 0.954.

Scope of the numbers: Its spectra, lenses, people and days are illustrative models; all calculations are generated by its programs; the book is not medical advice, diagnoses or treats no condition, and tinted lenses must never be worn to drive at night. Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.0000, 0.0003, 0.587, 0.954

phone OLED day:
lensprotectionbeyond clearluminous T
plain clear0.0800.00000.920
clear violet-cut0.0800.00000.920
clear blue-filter0.1490.07530.915
amber 500 nm0.5870.55100.866
red 550 nm0.9540.94990.379
LED warm 3000K:
lensprotectionbeyond clearluminous T
plain clear0.0800.00000.920
clear violet-cut0.0800.00030.920
clear blue-filter0.1320.05630.919
amber 500 nm0.5100.46680.894
red 550 nm0.9040.89610.659
Show the full program
# Chapter 4. p07: What a clear "blue-light" lens removes. Five lenses: a
# plain clear lens (0.92 everywhere, reflection losses), a clear lens
# that cuts violet (0.10 below about 420 nm), the same with a mild
# absorption band at 445 nm (a pale yellow "blue filter"), and two
# long-pass tinted lenses with edges at 500 nm (amber) and 550 nm (red).
# For each source: the melanopic protection against the bare eye, the
# protection beyond a plain clear lens, and the luminous transmission.
import math
from math import exp, expm1

L = range(380, 781)                     # wavelength grid, 1 nm steps


def g(x, m, s1, s2):                    # two-sided Gaussian (Wyman 2013)
    return exp(-0.5 * ((x - m) / (s1 if x < m else s2)) ** 2)


def vlam(l):                            # photopic V(lambda)
    return 0.821 * g(l, 568.8, 46.9, 40.5) + 0.286 * g(l, 530.9, 16.3, 31.1)


def opsin(l, lm=480.0):                 # Govardovskii A1 template
    x = lm / l
    a = 0.8795 + 0.0459 * exp(-(lm - 300) ** 2 / 11940)
    al = 1 / (exp(69.7 * (a - x)) + exp(28 * (0.922 - x))
              + exp(-14.9 * (1.104 - x)) + 0.674)
    lb, bb = 189 + 0.315 * lm, 0.195 * lm - 40.5
    return al + 0.26 * exp(-((l - lb) / bb) ** 2)


def lens_od(l):                         # crystalline lens density, approx.
    return 1.76 * exp(-(l - 400) / 28.0)


RAW = {l: opsin(l) * 10 ** -lens_od(l) for l in L}
SMEL = {l: RAW[l] / max(RAW.values()) for l in L}
K_D65 = 1.3262 / 1000                   # W/lm, melanopic ELR of D65


def gs(l, m, f):                        # Gaussian band: peak m, FWHM f
    return exp(-2.7726 * ((l - m) / f) ** 2)


def planck(l, t):
    m = l * 1e-9
    return 1.0 / (m ** 5 * expm1(1.4388e-2 / (m * t)))


DEVICES = {                             # relative spectral power
    "phone OLED day": lambda l: (1.12 * gs(l, 460, 25) + gs(l, 530, 35)
                                 + 1.05 * gs(l, 620, 30)),
    "phone night mode": lambda l: (0.44 * gs(l, 460, 25)
                                   + gs(l, 530, 35)
                                   + 1.80 * gs(l, 620, 30)),
    "LED cool 6500K": lambda l: (2.32 * gs(l, 450, 20) + gs(l, 545, 100)
                                 + 0.50 * gs(l, 630, 80)),
    "LED warm 3000K": lambda l: (0.96 * gs(l, 450, 20) + gs(l, 555, 110)
                                 + 1.30 * gs(l, 625, 90)),
    "incandescent": lambda l: planck(l, 2856),
}


def der(spec, t=lambda l: 1.0):         # mel EDI per lux, through t
    em = sum(spec(l) * t(l) * SMEL[l] for l in L)
    ev = 683.0 * sum(spec(l) * t(l) * vlam(l) for l in L)
    return em / K_D65 / ev


def mel_through(spec, t):               # melanopic share a filter passes
    return (math.fsum(spec(l) * t(l) * SMEL[l] for l in L)
            / math.fsum(spec(l) * SMEL[l] for l in L))


def sig(l, c, w=6.0, lo=0.02, hi=0.92):     # long-pass edge at c nm
    return lo + (hi - lo) / (1.0 + exp(-(l - c) / w))


LENSES = {
    "plain clear": lambda l: 0.92,
    "clear violet-cut": lambda l: sig(l, 422, 2.0, 0.10),
    "clear blue-filter": lambda l: (sig(l, 422, 2.0, 0.10)
                                    * (1 - 0.25 * gs(l, 445, 40))),
    "amber 500 nm": lambda l: sig(l, 500),
    "red 550 nm": lambda l: sig(l, 550),
}


def lum_through(spec, t):               # luminous share a filter passes
    return (math.fsum(spec(l) * t(l) * vlam(l) for l in L)
            / math.fsum(spec(l) * vlam(l) for l in L))


if __name__ == "__main__":
    for name in ("phone OLED day", "LED warm 3000K"):
        s = DEVICES[name]
        print("   {}:".format(name))
        print("     lens                protection   beyond clear"
              "   luminous T")
        for lname, t in LENSES.items():
            m = mel_through(s, t)
            b = round(1 - m / 0.92, 4) + 0.0
            print("     {:18s}  {:10.3f}   {:12.4f}   {:10.3f}".format(
                lname, 1 - m, b, lum_through(s, t)))

Single source and citation

Fan, Y. (2026). Melanopic Spectral Integration, Blue-Light Melatonin Suppression and Lens Transmittance Optimization (Version 1.0.0), Chapter 4: Testing the Clear "Blue-Blocker". 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-104 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026104,
  author    = {Fan, Yafu},
  title     = {Melanopic Spectral Integration, Blue-Light Melatonin Suppression and Lens Transmittance Optimization},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book