pvol
) or scan (scan
)R/get_elevation_angles.R
get_elevation_angles.Rd
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)
x | A |
---|
elevation in degrees
pvol
: Elevation angles of all scans in a polar volume.
scan
: Elevation angle of a scan.
param
: Elevation angle of a scan parameter.
# 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