View source: R/generate_rotor_grids.R
get_phi_grid | R Documentation |
Given grids of vertical and horizontal distances from rotor axes
at points (x, y) inside the rotor circle, get_phi_grid
calculates the associated radial angles, relative to the rotor vertical axis.
Returned grid represents the left-half of the rotor's circle.
get_phi_grid(x_grid, y_grid)
x_grid |
A 2D array, with horizontal distances x from the rotor's vertical axis, expressed as the proportion of rotor radius, for the left-half of the rotor circle area. |
y_grid |
A 2D array, with 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. |
A 2D array, giving a grid of angles (in radians) between points (x, y) inside the rotor circle and the rotor center, for the left-half of the rotor circle area.
get_x_grid()
, get_y_grid()
x_grid <- get_x_grid(yinc=0.05, xinc=0.05) y_grid <- get_y_grid(x_grid,yinc=0.05) get_phi_grid(x_grid,y_grid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.