disc_calibrate: Calibrate aquarium position

Description Usage Arguments See Also Examples

View source: R/disc_calibrate.R

Description

Calibrate aquarium position

Usage

1
disc_calibrate(dir, verbose = FALSE, ...)

Arguments

dir

path to the deployment directory

verbose

output messages on the console when TRUE

...

passthrough argument

See Also

Other action.functions: disc_camera_compass_angle, disc_correct, disc_stats, disc_track_compass, disc_track, disc

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# get example deployments included with the package
deploys <- system.file("extdata", "deployments", package = "discr")
# copy them to a writable, temporary directory
temp <- tempdir()
file.copy(deploys, temp, recursive=TRUE)
dd <- paste0(temp, "/deployments/")
deploy1 <- paste0(dd, "1")  # digital compass

# run the action
disc_conf(deploy.dir=dd)
## Not run: disc_calibrate(dir=deploy1, verbose=TRUE)
# inspect results
list.files(deploy1)
# note that the aquarium coordinates are remembered
disc_conf(deploy.dir=dd)

jiho/discr documentation built on May 19, 2019, 9:30 a.m.