thresholdCalibrate: Light Threshold Calibration

Description Usage Arguments Details

View source: R/BAStag.R

Description

Calibrate threshold light level to solar zenith angle

Usage

1
2
3
4
5
6
7
8
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.


SWotherspoon/BAStag documentation built on March 29, 2021, 2:47 a.m.