Gives the elevation angle of a single scan, or the elevation angles of all scans within a polar volume

get_elevation_angles(x)

# S3 method for pvol
get_elevation_angles(x)

# S3 method for scan
get_elevation_angles(x)

# S3 method for param
get_elevation_angles(x)

Arguments

x

A pvol or scan object.

Value

elevation in degrees

Methods (by class)

  • pvol: Elevation angles of all scans in a polar volume.

  • scan: Elevation angle of a scan.

  • param: Elevation angle of a scan parameter.

Examples

# load a polar volume pvolfile <- system.file("extdata", "volume.h5", package = "bioRad") example_pvol <- read_pvolfile(pvolfile) # elevations for the scans in the volume get_elevation_angles(example_pvol)
#> [1] 0.5 1.5 2.5
# extract the first scan: scan <- example_pvol$scans[[1]] # elevation angle of the scan: get_elevation_angles(scan)
#> [1] 0.5