TwiceAsNice  2019-02-18
Macros | Functions | Variables
iqefunc.c File Reference
#include <stdlib.h>
#include <math.h>
Include dependency graph for iqefunc.c:

Macros

#define MA   6 /* No. of variables */
 
#define MITER   64 /* Max. no. of iterations */
 

Functions

int iqe (float *pfm, float *pwm, int mx, int my, float *parm, float *sdev)
 
int iqebgv (float *pfm, float *pwm, int mx, int my, float *bgm, float *bgs, int *nbg)
 
int iqemnt (float *pfm, float *pwm, int mx, int my, float bgv, float bgs, float *amm)
 
int estm9p (float *pfm, float *pwm, int mx, int my, int nx, int ny, float *rm, float *dx, float *dy)
 
int iqesec (float *pfm, float *pwm, int mx, int my, float bgv, float *est, float *sec)
 
int iqefit (float *pfm, float *pwm, int mx, int my, float bgv, float *est, float *ap, float *cm)
 
int g2einit (float *val, float *wght, int nx, int ny)
 
int g2efunc (int idx, float *val, float *fval, float *psig, float *a, float *dyda, int ma)
 
int g2efit (float *val, float *wght, int nx, int ny, ap, cv, double *pchi)
 

Variables

static double hsq2 = 0.7071067811865475244
 
static float * pval
 
static float * pwght
 
static int mx
 
static int mp
 
static int winsize
 
static double w [9]
 
static double xi [9]
 
static double yi [9]
 

Macro Definition Documentation

◆ MA

#define MA   6 /* No. of variables */

◆ MITER

#define MITER   64 /* Max. no. of iterations */

Function Documentation

◆ estm9p()

int estm9p ( float *  pfm,
float *  pwm,
int  mx,
int  my,
int  nx,
int  ny,
float *  rm,
float *  dx,
float *  dy 
)

◆ g2efit()

int g2efit ( float *  val,
float *  wght,
int  nx,
int  ny,
ap  ,
cv  ,
double *  pchi 
)

◆ g2efunc()

int g2efunc ( int  idx,
float *  val,
float *  fval,
float *  psig,
float *  a,
float *  dyda,
int  ma 
)

◆ g2einit()

int g2einit ( float *  val,
float *  wght,
int  nx,
int  ny 
)

◆ iqe()

int iqe ( float *  pfm,
float *  pwm,
int  mx,
int  my,
float *  parm,
float *  sdev 
)

◆ iqebgv()

int iqebgv ( float *  pfm,
float *  pwm,
int  mx,
int  my,
float *  bgm,
float *  bgs,
int *  nbg 
)

◆ iqefit()

int iqefit ( float *  pfm,
float *  pwm,
int  mx,
int  my,
float  bgv,
float *  est,
float *  ap,
float *  cm 
)

◆ iqemnt()

int iqemnt ( float *  pfm,
float *  pwm,
int  mx,
int  my,
float  bgv,
float  bgs,
float *  amm 
)

◆ iqesec()

int iqesec ( float *  pfm,
float *  pwm,
int  mx,
int  my,
float  bgv,
float *  est,
float *  sec 
)

Variable Documentation

◆ hsq2

double hsq2 = 0.7071067811865475244
static

◆ mp

int mp
static

◆ mx

int mx
static

◆ pval

float* pval
static

◆ pwght

float* pwght
static

◆ w

double w[9]
static

◆ winsize

int winsize
static

◆ xi

double xi[9]
static

◆ yi

double yi[9]
static