Bsoft function

ctf_fit_double_gaussian_envelope

Source:

src/img/img_ctf.c

Description:

Fits a double gaussian function.

Algorithm:

	Double gaussian function:

y = a + b*exp(c*s^2) + d*exp(f*s^2)
with a = 0

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 5 coefficients are returned
(if NULL,no coefficients returned).

Returns:

double R value.

Prototype:

double ctf_fit_double_gaussian_envelope(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:50 2009


Back to the Bsoft home