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 skytrackr data frame

roi

A region of interest defined by a dynamic bounding box (set via the tolerance value and relative to the previous step)

loc

The location of the previous step

scale

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

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.

step_selection

A step selection function on the distance of a proposed move, step selection is specified on distance (in km) basis.

Value

An estimated illuminance based location (and its uncertainties).