thresholdCalibrate: Light Threshold Calibration

View source: R/TwGeos.R

thresholdCalibrateR Documentation

Light Threshold Calibration

Description

Calibrate threshold light level to solar zenith angle

Usage

thresholdCalibrate(tagdata, lon, lat, max.adjust = TRUE,
  col = c("dodgerblue", "firebrick"), ...)

Arguments

tagdata

a dataframe with columns Date and Light that are the sequence of sample times (as POSIXct) and light levels recorded by the tag.

lon

calibration longitude.

lat

calibration latitude.

max.adjust

adjust twilights for tags that report the maximum light interval observed in the preceeding sampling interval.

col

colors for increasing and decreasing zenith angles

...

additional arguments to pass to plot.

Details

Given data for a known location, this plots the recorded light against the solar zenith angle to allow observed light levels to be calibrated to solar zenith angle.


slisovski/TwGeos documentation built on Jan. 27, 2024, 10:43 a.m.