Name

model_gauss - create an image containing a centered Gaussian density distribution

Usage

output = model_gauss(sigma, nx, [ny, nz, ysigma, zsigma, xcenter, ycenter, zcenter] )

Input

sigma
standard deviation of the Gaussian function in pixels
nx
x dimension of the image
ny
y dimension of the image (optional)
nz
z dimension of the image (optional)
ysigma
standard deviation of y dimension, if not given, use sigma(optional)
zsigma
standard deviation of z dimension, if not given, use sigma(optional)
xcenter
center of the model in x dimesion, if not given, use nx/2(optional)
ycenter
center of the model in y dimesion, if not given, use ny/2(optional)
zcenter
center of the model in z dimesion, if not given, use nz/2(optional)

Output

output

the image containing Gaussian function `1/(2 pi sigma) exp[-x^2/(2 sigma^2)]`

Author / Maintainer

Pawel A. Penczek

Keywords

category 1
UTILITIES
category 2
SPATIAL

Files

utilities.py

Maturity

stable
works for most people, has been tested; test cases/examples available.

Bugs

None. It is perfect.

model_gauss (last edited 2013-07-01 13:12:37 by localhost)