pyActigraphy.light.LightMetricsMixin.MLiTp¶
- LightMetricsMixin.MLiTp(threshold)[source]¶
Mean light timing per day.
Mean light timing above threshold, MLiT^C, per calendar day.
- Parameters
threshold (float) – Threshold value.
- Returns
MLiTp – A pandas DataFrame with MLiT^C per channel and per day.
- Return type
pd.DataFrame
Notes
The MLiT variable is defined in ref [1]:
\[MLiT^C = \frac{\sum_{j}^{m}\sum_{k}^{n} j\times I^{C}_{jk}}{ \sum_{j}^{m}\sum_{k}^{n} I^{C}_{jk}}\]where \(I^{C}_{jk}\) is equal to 1 if the light level is higher than the threshold C, m is the total number of epochs per day and n is the number of days covered by the data.
References
- 1
Reid K.J., Santostasi G., Baron K.G., Wilson J., Kang J., Zee P.C., Timing and Intensity of Light Correlate with Body Weight in Adults. PLoS ONE 9(4): e92251. https://doi.org/10.1371/journal.pone.0092251