Fits a simulated lux profile to observed light logger data to estimate locations (parameters).

stk_fit(data, roi, loc, scale, control, step_selection)

Arguments

data

a data frame containing date time and lux values

roi

region of interest

loc

location of the previous step

scale

scale factor range due to cloudiness to use in optimization, when target values are not provided in lux this can be used to effectively implement a Hill-Ekstrom template fitting

control

control settings for the Bayesian optimization, forwarded by skytrackr()

step_selection

a step selection function on the distance of a proposed move

Value

an estimated illuminance based location (and its uncertainties)