Definition in file fit_waveform.c.
#include <bpm/bpm_nr.h>
#include <bpm/bpm_alloc.h>
#include <bpm/bpm_messages.h>
#include <bpm/bpm_process.h>
Include dependency graph for fit_waveform.c:
Go to the source code of this file.
Defines | |
#define | FIT_MAX_ITER |
#define | FIT_AMP |
#define | FIT_PHASE |
#define | FIT_FREQ |
#define | FIT_TDECAY |
#define | FIT_T0 |
#define | FIT_FS |
Functions | |
void | fcnwfjac (double *par, double *jac, int npars, int ns, void *a) |
void | fcnwf (double *par, double *sinwf, int npars, int ns, void *a) |
int | fit_waveform (int *wf, int ns, double t0, double fs, double i_freq, double i_tdecay, double i_amp, double i_phase, double *freq, double *tdecay, double *amp, double *phase) |
void fcnwf | ( | double * | par, | |
double * | sinwf, | |||
int | npars, | |||
int | ns, | |||
void * | a | |||
) |
The fitfunction, being simply the waveform, setup for the additional data array xval[0] = t0 xval[1] = the sampling frequency
Definition at line 62 of file fit_waveform.c.
References FIT_AMP, FIT_FREQ, FIT_FS, FIT_PHASE, FIT_T0, FIT_TDECAY, and sample_to_time().
Referenced by fit_waveform().