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

stk_fit(data, iterations, bbox, scale, control)

Arguments

data

a data frame containing date time and lux values

iterations

number of optimization iterations

bbox

bounding box of the location search domain given as c(xmin, ymin, xmax, ymax)

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()

Value

an estimated illuminance based location (and its uncertainties)