Summary
Light plays an important role in human health and well-being, which necessitates the study of the effects of personal light exposure in real-world settings, measured by means of wearable devices. A growing number of studies incorporate these kinds of data to assess associations between light and health outcomes. Yet with few or missing standards, guidelines, and frameworks, it is challenging setting up measurements, analysing the data, and comparing outcomes between studies. Overall, time series data from wearable light loggers are significantly more complex compared to controlled stimuli used in laboratory studies. In this paper, we introduce LightLogR, a novel resource to facilitate these research efforts. The package for R statistical software is open-source and permissively MIT-licenced. As part of a developing software ecosystem, LightLogR is built with common challenges of current and future datasets in mind. The package standardises many tasks for importing and processing personal light exposure data. It allows for quick as well as detailed insights into the datasets through summary and visualisation tools. Furthermore, LightLogR incorporates major metrics commonly used in the field (61 metrics across 17 metric families), all while embracing an inherently hierarchical, participant-based data structure.
Statement of need
Personalised luminous exposure data are progressively gaining importance across various domains, including research, occupational affairs, and lifestyle tracking. Data are collected through a increasing selection of wearable light loggers and dosimeters, varying in size, shape, functionality, and output format (Hartmeyer et al., 2023). Despite or potentially because of numerous use cases, the field still lacks a unified framework for collecting, validating, and analyzing the accumulated data (Hartmeyer et al., 2023; Spitschan et al., 2022). This issue increases the time and expertise necessary to handle such data and also compromises the FAIRness (findability, accessibility, interoperability, reusability) (Wilkinson et al., 2016) of the results, especially for meta-analyses (Vries et al., 2024).
LightLogR was designed to be used by researchers who deal with personal light exposure data collected from wearable devices (Figure 1). These data are of interest for various disciplines, including chronobiology, sleep research, vision science and epidemiology, as well as for post-occupancy evaluations in architecture and lighting design. The package is intended to streamline the process of importing, processing, and analysing these data in a reproducible and transparent manner. The package is available on GitHub (Zauner et al. (2025b)) and CRAN (Zauner, Hartmeyer, et al. (2024)), has a dedicated website for documentation and tutorials (Zauner et al. (2025a)), and releases are archived on Zenodo (Zauner et al. (2025c)).
Figure 1. LightLogR logo.
LightLogR’s key features include:
-
▪
a growing list of supported devices with pre-defined import functions tailored to their data structure (17 at the time of writing, see Table 1),
-
▪
preprocessing functions to combine different time series, aggregate and filter data, and find and deal with implicitly missing data,
-
▪
visualisation functions to quickly explore the data. These functions are based on the popular ggplot2 (Wickham, 2016) plotting package and are designed to be easily customisable to construct publication-ready figures (see, Figure 2),
-
▪
a large and growing set of metrics that cover most if not all major approaches found in the literature (at the time of writing 61 metrics across 17 metric families, see Table 2) and (Hartmeyer et al., 2023)), accessible via a consistent function interface.
Table 1. Devices supported for import in version 0.5.0.
| Device Name | Manufacturer |
|---|---|
| Actiwatch Spectrum | Philips Respironics |
| ActLumus | Condor Instruments |
| ActTrust | Condor Instruments |
| DeLux | Intelligent Automation Inc. |
| GENEActiv1 | Activeinsights |
| Kronowise | Kronohealth |
| Lido | Lucerne University of Applied Sciences and Arts |
| LightWatcher | Object-Tracker |
| LIMO | École nationale des travaux publics de l’État (ENTPE) |
| LYS Button | LYS Technologies |
| Motion Watch 8 | CamNtech |
| melanopiQ Circadian Eye | Max Planck Institute for Biological Cybernetics |
| XL-500 BLE | NanoLambda |
| OcuWEAR | Ocutune |
| Speccy | Monash University Malaysia |
| SpectraWear | University of Manchester |
| VEET | Meta Reality Labs |
Available after processing of the data using GGIR (Migueles et al., 2019).
Figure 2.
Light logger data can powerfully convey insights into personal light exposure and health-related outcomes. LightLogR facilitates the import and combination of different data sources into a coherent data structure, as seen here by combining environmental daylight availability and personal light exposure with data from a sleep diary. The visualisation functions in the package further allow customisation to produce publication-ready figures. This figure was created with the ‘gg_day()’ function. The creation process is part of a tutorial (Zauner et al., 2023) on several key functions in the package.
Table 2. metrics available in version 0.5.0.
| Metric Family | Submetrics | Note | Documentation |
|---|---|---|---|
| Barroso | 7 | barroso_lighting_metrics() | |
| Bright-dark period | 4x2 | bright / dark | bright_dark_period() |
| Centroid of light exposure |
1 | centroidLE() | |
| Disparity index | 1 | disparity_index() | |
| Duration above threshold |
3 | above, below, within |
duration_above_threshold() |
| Exponential moving average (EMA) |
1 | exponential_moving_average() | |
| Frequency crossing threshold |
1 | frequency_crossing_threshold() | |
| Intradaily Variance (IV) |
1 | intradaily_variability() | |
| Interdaily Stability (IS) |
1 | interdaily_stability() | |
| Midpoint CE (Cumulative Exposure) | 1 | midpointCE() | |
| nvRC (non-visual circadian response) |
4 |
nvRC(), nvRC_circadianDisturbance(), nvRC_circadianBias(), nvRC_relativeAmplitudeError() |
|
| nvRD (non-visual direct response) |
2 |
nvRD(),
nvRD_cumulative_response() |
|
| Period above threshold |
3 | above, below, within |
period_above_threshold() |
| Pulses above threshold |
7x3 | above, below, within |
pulses_above_threshold() |
| Threshold for duration |
2 | above, below | threshold_for_duration() |
| Timing above threshold (TAT) |
3 | above, below, within |
timing_above_threshold() |
|
Total:
17 families |
61 metrics |
LightLogR is already being used in several research projects across scientific domains, including:
-
▪
an ongoing cohort study to collect light exposure data across different geolocations (Guidolin et al., 2024),
-
▪
an ongoing cohort study to collect year-long datasets of various types of environmental and behavioural data (Biller et al., 2024),
-
▪
a novel power analysis method for personal light exposure data (Zauner, Udovicic, et al., 2024),
-
▪
an intervention study on the effects of light on bipolar disorder (Roguski et al., 2024),
-
▪
an intervention study on exposure to bright light during afternoon to early evening on later evening melatonin release in adolescents (Lazar et al., 2024),
-
▪
an observational study on the wearing compliance of personal light exposure (Stefani et al., 2024),
-
▪
an observational study on the differences in light exposure and light exposure related behaviour between Malaysia and Switzerland (Biller et al., 2025),
-
▪
an intervention study on sex and seasonal changes in human melatonin suppression and alerting response to moderate light (Fazlali et al., 2024),
-
▪
an observational study on light exposure, sleep, and circadian rhythms in hospital shift workers (publication in progress).
Acknowledgements
We thank Carolina Guidolin (Max Planck Institute for Biological Cybernetics) and Dr. Anna Magdalena Biller (Technical University of Munich) for testing the software during development and providing feature ideas, and the entire Translational Sensory & Circadian Neuroscience Unit (MPS/TUM/TUMCREATE) for its support.
Funding Statement
The development of LightLogR is funded by MeLiDos, a joint, EURAMET-funded project involving sixteen partners across Europe, aimed at developing a metrology and a standard workflow for wearable light logger data and optical radiation dosimeters (Spitschan et al., 2024). Its primary contributions towards fostering FAIR data include the development of a common file format, robust metadata descriptors, and an accompanying open-source software ecosystem.
The project (22NRM05 MeLiDos) has received funding from the European Partnership on Metrology, co-financed from the European Union’s Horizon Europe Research and Innovation Programme and by the Participating States. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or EURAMET. Neither the European Union nor the granting authority can be held responsible for them.
References
- Biller AM, Fatima N, Hamberger C, Hainke L, Plankl V, Nadeem A, Kramer A, Hecht M, Spitschan M. The ecology of human sleep (EcoSleep) cohort study: Protocol for a longitudinal repeated measurement burst design study to assess the relationship between sleep determinants and outcomes under real-world conditions across time of year. Journal of Sleep Research. 2024:e14225. doi: 10.1111/jsr.14225. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Biller AM, Zauner J, Cajochen C, Gerle MA, Kalavally V, Mohamed A, Rottländer L, Seah M-Y, Stefani O, Spitschan M. Physiologically-relevant light exposure and light behaviour in switzerland and malaysia. bioRxiv. 2025 doi: 10.1101/2025.01.07.631760. [preprint] [DOI] [Google Scholar]
- Fazlali F, Lazar R, Yahya F, Stefani O, Spitschan M, Cajochen C. Sex and seasonal variations in melatonin suppression, and alerting response to light. bioRxiv. 2024 doi: 10.1101/2024.10.18.619012. [preprint] [DOI] [Google Scholar]
- Guidolin C, Aerts S, Agbeshie GK, Akuffo KO, Aydin SN, Baeza Moyano D, Bolte J, Broszio K, Cantarero-García G, Didikoglu A, González-Lezcano RA, et al. Protocol for a prospective, multicentre, cross-sectional cohort study to assess personal light exposure. BMC Public Health. 2024;24(1):3285. doi: 10.1186/s12889-024-20206-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hartmeyer SL, Webler FS, Andersen M. Towards a framework for light-dosimetry studies: Methodological considerations. Lighting Research & Technology. 2023;55(4–5):377–399. doi: 10.1177/14771535221103258. [DOI] [Google Scholar]
- Lazar R, Fazlali F, Dourte M, Epple C, Stefani O, Spitschan M, Cajochen C. Afternoon to early evening bright light exposure reduces later melatonin production in adolescents. bioRxiv. 2024 doi: 10.1101/2024.10.02.616112. [preprint] [DOI] [Google Scholar]
- Migueles JH, Rowlands AV, Huber F, Sabia S, van Hees VT. GGIR: A research community-driven open source R package for generating physical activity and sleep outcomes from multi-day raw accelerometer data. Journal for the Measurement of Physical Behavior. 2019;2(3) doi: 10.1123/jmpb.2018-0063. [DOI] [Google Scholar]
- Roguski A, Needham N, MacGillivray T, Martinovic J, Dhillon B, Riha R, Armstrong L, Campbell I, Ferguson A, Hilgen G, Lako M, et al. Investigating light sensitivity in bipolar disorder (HELIOS-BD) Wellcome Open Research. 2024;9:64. doi: 10.12688/wellcomeopenres.20557.2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Spitschan M, Smolders K, Vandendriessche B, Bent B, Bakker JP, Rodriguez-Chavez IR, Vetter C. Verification, analytical validation and clinical validation (V3) of wearable dosimeters and light loggers. Digital Health. 2022;8:20552076221144858. doi: 10.1177/20552076221144858. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Spitschan M, Zauner J, Nilsson Tengelin M, Bouroussis CA, Caspar P, Eloi F. Illuminating the future of wearable light metrology: Overview of the MeLiDos project. Measurement. 2024;235:114909. doi: 10.1016/j.measurement.2024.114909. [DOI] [Google Scholar]
- Stefani O, Marek R, Schwarz J, Plate S, Zauner J, Schrader B. Wearable light loggers in field conditions: Corneal light characteristics, user compliance, and acceptance. Clocks &Amp; Sleep. 2024;6(4):619–634. doi: 10.3390/clockssleep6040042. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Vries Sde, Gkaintatzi-Masouti M, van Duijnhoven J, Mardaljevic J, Aarts M. Recommendations for light-dosimetry field studies based on a meta-analysis of personal light levels of office workers. Lighting Research & Technology. 2024;55:14771535241248540. doi: 10.1177/14771535241248540. [DOI] [Google Scholar]
- Wickham H. ggplot2: Elegant graphics for data analysis. Springer-Verlag; New York: 2016. ISBN: 978-3-319-24277-4. [Google Scholar]
- Wilkinson MD, Dumontier M, Aalbersberg IjJ, Appleton G, Axton M, Baak A, Blomberg N, Boiten J-W, da Silva Santos LB, Bourne PE, Bouwman J, et al. The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data. 2016;3:160018. doi: 10.1038/sdata.2016.18. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zauner J, Hartmeyer SL, Spitschan M. LightLogR: Tutorial: The whole game. 2023 https://tscnlab.github.io/LightLogR/articles/Day.html . [Google Scholar]
- Zauner J, Hartmeyer SL, Spitschan M. LightLogR: Process Data from Wearable Light Loggers and Optical Radiation Dosimeters. CRAN package. 2024 doi: 10.32614/CRAN.package.LightLogR. [DOI] [Google Scholar]
- Zauner J, Hartmeyer SL, Spitschan M. LightLogR: Process Data from Wearable Light Loggers and Optical Radiation Dosimeters. Documentation and tutorials. 2025a https://tscnlab.github.io/LightLogR/ [Google Scholar]
- Zauner J, Hartmeyer SL, Spitschan M. LightLogR: Process Data from Wearable Light Loggers and Optical Radiation Dosimeters. Github repository. 2025b https://github.com/tscnlab/LightLogR . [Google Scholar]
- Zauner J, Hartmeyer SL, Spitschan M. tscnlab/LightLogR: archive. Zenodo; 2025c. [DOI] [Google Scholar]
- Zauner J, Udovicic L, Spitschan M. Power analysis for personal light exposure measurements and interventions. PLOS ONE. 2024 doi: 10.1371/journal.pone.0308768. [DOI] [PMC free article] [PubMed] [Google Scholar]


