What does Melanopic Light and Blue-Light Lenses conclude, in numbers, about “From Melanopic Lux to Melatonin and Minutes”?

Answer: Chapter 3 turns dose into melatonin suppression: anchored on a 90-minute half-maximal dose of 208 lux, two hours of a phone suppresses a typical person by 0.088 and one five times more sensitive by 0.708, about 1.0 or 8.0 extra minutes of sleep latency when anchored on a controlled trial.

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.088, 0.708, 90

E50 for90 min: 208.0 lux mel EDI
E50 for 120 min119.7 lux mel EDI
E50 for 240 min13.1 lux mel EDI
2 h at 40 lux EDI sens x5 typical sens /5
phone OLED day37.3 0.708 0.088 0.004
phone night mode21.5 0.447 0.031 0.001
LED cool 6500K30.6 0.620 0.061 0.003
LED warm 3000K16.1 0.311 0.018 0.001
incandescent18.4 0.370 0.023 0.001
phone OLED day, 4 h: typical 0.890, sens x5 0.995
Show the full program
# Chapter 3. p05: Melatonin suppression as a dose-response curve.
# S = 1 / (1 + (E50 / E)^n), with E the melanopic EDI at the eye. The
# half-maximal dose E50 = 208 lux for 90 minutes is the pooled estimate
# of Gimenez et al. (2022, undilated pupils); we shift it by their
# duration term, 0.008 log10 units per minute (an extrapolation outside
# their range). The slope n = 2 is illustrative. People differ more
# than 50-fold (Phillips et al. 2019), so we also print a person five
# times more sensitive (E50 / 5) and five times less (E50 * 5).
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 = math.fsum(spec(l) * t(l) * SMEL[l] for l in L)
    ev = 683.0 * math.fsum(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 (sum(spec(l) * t(l) * SMEL[l] for l in L)
            / sum(spec(l) * SMEL[l] for l in L))


def e50(minutes):
    return 208.0 * 10 ** (-0.008 * (minutes - 90))


def supp(edi, minutes, sens=1.0, n=2.0):
    return 1.0 / (1.0 + (e50(minutes) / sens / edi) ** n)


if __name__ == "__main__":
    for m in (90, 120, 240):
        print("   E50 for {:3d} min: {:6.1f} lux mel EDI".format(m, e50(m)))
    print("   2 h at 40 lux       EDI   sens x5   typical   sens /5")
    for name, s in DEVICES.items():
        e = 40 * der(s)
        print("   {:17s}  {:5.1f}   {:7.3f}   {:7.3f}   {:7.3f}".format(
            name, e, supp(e, 120, 5), supp(e, 120), supp(e, 120, 0.2)))
    e = 40 * der(DEVICES["phone OLED day"])
    print("   phone OLED day, 4 h: typical {:.3f}, sens x5 {:.3f}".format(
        supp(e, 240), supp(e, 240, 5)))

Single source and citation

Fan, Y. (2026). Melanopic Spectral Integration, Blue-Light Melatonin Suppression and Lens Transmittance Optimization (Version 1.0.0), Chapter 3: From Melanopic Lux to Melatonin and Minutes. 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