Calculating the dim light melatonin onset: the impact of threshold and sampling rate

Calculating the dim light melatonin onset: the impact of threshold and sampling rate