get_y_grid {stochLAB} | R Documentation |
Grid of vertical distances from points in the rotor circle to its horizontal axis
Description
Taking the center of the rotor circle as the origin,
get_y_grid
generates a grid of vertical distances y
(by
yinc
increments) from the x-axis to the outer edge of the rotor
circle, across width intervals x
(by xinc
increments) between
the center and maximum rotor width.
Returned grid represents the left-half of the rotor's circle.
Distances are expressed as proportion of rotor radius (i.e. y
is
dimensionless).
Usage
get_y_grid(x_grid, yinc = 0.05)
Arguments
x_grid |
A 2D array, with horizontal distances from the rotor's vertical axis, expressed as the proportion of rotor radius, for the left-half of the rotor circle area. |
yinc |
a numeric value, the grid increment along the y-axis |
Value
2D array giving a grid of vertical distances y
from the rotor's
horizontal axis, expressed as the proportion of rotor radius, for
the left-half of the rotor circle area. Negative values represent distances
from the bottom half of the rotor circle.
Examples
x_grid <- get_x_grid(yinc=0.05, xinc=0.05)
get_y_grid(x_grid,yinc=0.05)