Definition in file yanera_util.c.
Go to the source code of this file.
Functions | |
yanera_container * | yanera_initialize (const char *filename) |
Allocates a new yanera_container . | |
void | yanera_free (yanera_container *yanera) |
Frees the memory. | |
void | yanera_error (const char *reason, const char *file, int line, yanera_container *yanera) |
Set the Error Handler. | |
void | yanera_report (yanera_container *yanera, int iteration, void *solver) |
General reporting routine for fitting progress updates. | |
int | yanera_find_errors (yanera_container *yanera) |
Determines the fit parameter errors. |
yanera_container* yanera_initialize | ( | const char * | filename | ) |
yanera_container
.yanera_container
.
Definition at line 30 of file yanera_util.c.
void yanera_free | ( | yanera_container * | yanera | ) |
yanera | The yanera_container to free. |
yanera_container
, freeing everything that may heve been allocated memory.
Definition at line 166 of file yanera_util.c.
void yanera_error | ( | const char * | reason, | |
const char * | file, | |||
int | line, | |||
yanera_container * | yc | |||
) |
This function is called for terminating errors. Turn into a struct is you want to have non terminating error handling.
Definition at line 276 of file yanera_util.c.
void yanera_report | ( | yanera_container * | yanera, | |
int | iteration, | |||
void * | solver | |||
) |
This function wrties to stderr the current status (iteration number, chi sqaured)of the fitting routines. Called with -1 at the iteration number, it assumes the fit is finished and write to file the results, if the proper flags are selected.
Definition at line 292 of file yanera_util.c.
int yanera_find_errors | ( | yanera_container * | yanera | ) |
This function borrows from the least sqaures to determine the covariance matrix and find the uncertainties of the fitted parameters.
Definition at line 451 of file yanera_util.c.