calc_bearings_tRackIT: bearing calculation

View source: R/calc_bearings_tRackIT.R

calc_bearings_tRackITR Documentation

bearing calculation

Description

calculates bearings using linear approximation and acos. 0,90.180,270 degrees Antenna orinetations are currently expected

Usage

calc_bearings_tRackIT(path_to_data, dbLoss, animal, projList)

Arguments

path_to_data

string, path to filtered file

dbLoss

num, gain loss from 0 to 90° antenna orientation

animal

list, generatet by initAnimal()

projList

list, generatet by initProject()

Author(s)

Jannis Gottwald

Examples


#projroot<-paste0(getwd(),"/tRackIT_test_data/")
#p <- getProject(projroot)
#animal <- getAnimal(projroot =projroot, animalID = "woodpecker")
#m_logger <- list.files(animal$path$logger_timematch, full.names = TRUE)
#lapply(m_logger, function(x) calc_bearings_tRackIT(x, dbLoss = 21, animal = animal, projList = p))


Nature40/tRackIT documentation built on Nov. 21, 2023, 3:43 a.m.