Locates the first sustained crossing above a light threshold within a day, requiring the threshold to be exceeded for a minimum duration to avoid triggering on brief artefactual spikes.
Arguments
- trace
An object of class
luxR_trace(seelight_trace()), typically spanning a single day.- threshold
Numeric scalar, illuminance threshold in lux. Default
1000.- min_duration_minutes
Numeric scalar, minimum sustained duration above threshold required, in minutes. Default
5.