angles: Angles

Description Usage Arguments Value See Also Examples

Description

Returns angles provided by GCPs/TPs as a SpatialPointsDataFrame object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
angles(object, z = "thetaIn", interpolate = F, variogram.fit = T,
  plot.fit = F, aggregate = T, aggregate.fact = 1000, ...)

## S4 method for signature 'GeolocationPoints'
angles(object, z = "thetaIn", interpolate = F,
  variogram.fit = T, plot.fit = F, aggregate = T, aggregate.fact = 1000,
  ...)

## S4 method for signature 'SAR'
angles(object, z = "thetaIn", interpolate = F,
  variogram.fit = T, plot.fit = F, aggregate = T, aggregate.fact = 1000,
  ...)

## S4 method for signature 'SARSet'
angles(object, z = "thetaIn", interpolate = F,
  variogram.fit = T, plot.fit = F, aggregate = T, aggregate.fact = 1000,
  ...)

Arguments

object

Object of the SAR-class or a subclass (e.g. Sentinel-class or TSX-class).

z

Character. either incidence ('thetaIn', default) or elevation angles 'thetaEl'.

interpolate

Logical. Interpolate angles?

variogram.fit

Logical. Fit a Gaussian variogram?

plot.fit

Logical. Plot the fitted variogram?

aggregate

Logical. Should the raster be aggregated? If no aggregation is done the interpolation might take a very long time.

aggregate.fact

Integer. Aggregation factor expressed as number of cells in each direction (horizontally and vertically). Or two integers (horizontal and vertical aggregation factor) or three integers (when also aggregating over layers). See aggregate method of raster package.

...

Further arguments (ignored).

Value

SpatialPointsDataFrame

See Also

plotAngles, GeolocationPoints-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data(kili)

angles(kili[[1]])
plotAngles(kili[[1]])
plotAngles(kili[[5]])

plot(angles(kili[[1]]))
spplot(angles(kili[[1]]))

plotAngles(master, interpolate = TRUE, aggregate.fact=100)

angles.sp <- angles(master, interpolate = TRUE, aggregate.fact=10)
angles.raster <- rasterFromXYZ(angles.sp)
plot(angles.raster)

ragram documentation built on May 2, 2019, 4:42 p.m.