generate_2d_gaussian {rayimage} | R Documentation |
Generate 2D Gaussian Distribution
Description
Generates a 2D gaussian distribution, with an optional argument to take the gaussian to a user-defined power.
Usage
generate_2d_gaussian(
sd = 1,
power = 1,
dim = c(11, 11),
width = 3,
rescale_unity = FALSE
)
Arguments
sd |
Default |
power |
Default |
dim |
Default |
width |
Default |
rescale_unity |
Default |
Examples
if(run_documentation()){
image(generate_2d_gaussian(1,1,31), asp=1)
}
[Package rayimage version 0.11.0 Index]