gauss: The Gaussian Function

Description Usage Arguments Value Author(s) See Also

Description

This function calculates the Gaussian function for an input data range.

Usage

1
gauss(x, mean = 0, sigma = 1, norm = 1, bw = 0.1, ftype = "lin", ...)

Arguments

x

input values (typically a smooth data range)

mean

the mean(s) of the Gaussian function

sigma

the 1-sigma value

norm

the normalisation(s) of the Gaussian function

bw

integration bin width sizes

ftype

type of input data [lin/log/ln]

...

additional arguments to be passed to 'integrate'

Value

A vector of length equal to the length of data representing the number density *per dex* at each input data point. Note: to convert the final number densities into their original bin-width (e.g., per 0.5 dex) multiply the output of this function by the bin-width.

Author(s)

Lee Kelvin <lee.kelvin@uibk.ac.at>

See Also

The astronomy package: astro.


taranu/astro documentation built on May 23, 2019, 7:36 a.m.