Fits a simulated lux profile to observed light logger data to estimate locations (parameters).
stk_fit(data, roi, loc, scale, control, step_selection)
A skytrackr data frame
A region of interest defined by a dynamic bounding box (set via the tolerance value and relative to the previous step)
The location of the previous step
Scale / sky condition factor covering the skylight() range of 1-10 (from clear sky to extensive cloud coverage) but can be extended for more flexibility to account for coverage by plumage, note that in case of non-physical accurate lux measurements values can have a range starting at 0.0001 (a multiplier instead of a divider).
Control settings for the Bayesian optimization, generally should not be altered (defaults to a Monte Carlo method). For detailed information I refer to the BayesianTools package documentation.
A step selection function on the distance of a proposed move, step selection is specified on distance (in km) basis.
An estimated illuminance based location (and its uncertainties).