GAUSS_FUNCTION: Make a 1D or 2D gauss curve

View source: R/smolr.R

GAUSS_FUNCTIONR Documentation

Make a 1D or 2D gauss curve

Description

Makes a 1D or 2D gauss curve

Usage

GAUSS_FUNCTION(sigx, sigy = NULL, xo = 0, yo = 0, one_D = FALSE, int_norm = FALSE)

Arguments

sigx

sigma in the x direction

sigy

sigma in the y direction

xo

offset in the x direction

yo

offset in the y direction

one_D

If one_D is TRUE a one dimesional gauss curve is returned.

int_norm

Normalizes the integrated gauss (keeps equal erea under the curve)

Details

Makes the 2D gauss curve that is used in the SMLMR function

Value

Returns a matrix with a 2D gauss curve

Author(s)

Optical Imaging Centre ErasmusMC Rotterdam

Examples

GAUSS_FUNCTION(3)
GAUSS_FUNCTION(sigx=3,sigy=6,xo=0.5,yo=0.6)

ErasmusOIC/SMoLR documentation built on Aug. 20, 2024, 8:50 p.m.