Learn R Programming

bioRad (version 0.5.1)

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

Description

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

Usage

get_scan(x, elev)

Arguments

x

An object of class pvol.

elev

Elevation angle.

Value

An object of class 'scan'.

Details

The function returns the scan with elevation angle closest to elev.

Examples

Run this code
# NOT RUN {
# locate example volume file:
pvolfile <- system.file("extdata", "volume.h5", package = "bioRad")

# load the file:
example_pvol <- read_pvolfile(pvolfile)

# extract the scan at 3 degree elevation:
scan <- get_scan(example_pvol, 3)

# print summary info for this scan:
scan
# }

Run the code above in your browser using DataLab