Learn R Programming

bioRad (version 0.5.2)

get_scan: Get a scan (scan) from a polar volume (pvol)

Description

Returns the scan (scan) from a polar volume (pvol) with elevation angle closest to elev.

Usage

get_scan(x, elev)

Arguments

x

A pvol object.

elev

Numeric. Elevation angle.

Value

A scan object.

See Also

Examples

Run this code
# NOT RUN {
# Locate and read the polar volume example file
pvolfile <- system.file("extdata", "volume.h5", package = "bioRad")
pvol <- read_pvolfile(pvolfile)

# Get elevation angles
get_elevation_angles(pvol)

# Extract the scan closest to 3 degrees elevation (= 2.5)
scan <- get_scan(pvol, 3)

# Get summary info
scan
# }

Run the code above in your browser using DataLab