Bsoft function

ctf_fit_gaussian

Source:

src/img/img_ctf.c

Description:

Fits a gaussian function.

Algorithm:

	Gaussian function:

y = a + b*exp(c*s^2)

Arguments:

int nnumber of data points.
double* xx array (at least order+1 values).
double* yy array (at least order+1 values).
double* coeffarray in which 3 coefficients are returned
(if NULL,no coefficients returned).

Returns:

double R value.

Prototype:

double ctf_fit_gaussian(int n, double* x, double* y, double* coeff)

Functions used:

bfree

Other objects included:

struct Bimage


Generated by bdoc.pl on Mon Jun 15 11:47:49 2009


Back to the Bsoft home