polar_grid: Polar grid

View source: R/polar_grid.R

polar_gridR Documentation

Polar grid

Description

Generate a polar receptor grid

Usage

polar_grid(center_x = 100, center_y = 100, radii = c(10, 15, 20),
  n_radials = 36, show_plot = TRUE)

Arguments

center_x

Grid's center X coordinate.

center_y

Grid's center Y coordinate.

radii

Distances of receptor circles from center.

n_radials

Number of radials / spokes of receptors.

show_plot

Plot receptor grid.

Examples

polar_grid(center_x  = 0,
           center_y  = 0,
           radii     = c(10,15,20),
           n_radials = 6)

dKvale/receptors documentation built on June 26, 2022, 7:20 a.m.