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

Description Usage Arguments Value See Also Examples

View source: R/get_scan.R

Description

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

Usage

1
get_scan(x, elev)

Arguments

x

A pvol object.

elev

Numeric. Elevation angle.

Value

A scan object.

See Also

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# 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

bioRad documentation built on July 1, 2020, 10:18 p.m.