polar_grid: Polar grid

Description Usage Arguments Examples

Description

Generate a polar receptor grid

Usage

1
2
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

1
2
3
4
polar_grid(center_x  = 0,
           center_y  = 0,
           radii     = c(10,15,20),
           n_radials = 6)

dKvale/receptors documentation built on May 14, 2019, 3:06 p.m.