get_scan {bioRad}R Documentation

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

# 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

[Package bioRad version 0.5.2 Index]