Learn R Programming

bioRad (version 0.4.0)

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:
pvol <- system.file("extdata", "volume.h5", package = "bioRad")
# load the file:
vol <- read_pvolfile(pvol)
# extract the scan at 3 degree elevation:
myscan <- get_scan(vol, 3)
# }

Run the code above in your browser using DataLab