#include <cpl.h>
#include "xsh_model_kernel.h"
#include "xsh_model_io.h"
#include "xsh_model_metric.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include "xsh_model_sa.h"
#include "xsh_model_r250.h"
#include "xsh_model_cputime.h"
#include "xsh_model_randlcg.h"
#include <xsh_utils.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include "xsh_pfits.h"
#include "xsh_dfs.h"
Go to the source code of this file.
Defines | |
#define | BIG_VAL 400000.0 |
Functions | |
void | xsh_3_assign (int loc, double val) |
void | xsh_3_output_data (double *) |
cpl_table * | xsh_model_anneal_comp (ann_all_par *p_all_par, int nparam, double *abest, double *amin, double *amax, int *aname, struct xs_3 *p_xs_3, int DS_size, coord *msp_coord, DOUBLE *p_wlarray, DOUBLE **ref_ind, int maxit) |
Use the simulated annealing algorithm to adjust the model parameters so that the metric (mean Euclidean residual) is minimised. | |
float | xsh_3_energy (double *a) |
Variables | |
int | n = 0 |
int * | chip |
int * | x |
int * | y |
struct xs_3 * | local_p_xs |
int | local_nparam |
double * | local_p_abest |
double * | local_p_amin |
double * | local_p_amax |
int * | local_p_aname |
ann_all_par * | local_p_all_par |
DOUBLE | p_obsx [10000] |
DOUBLE | p_obsy [10000] |
DOUBLE | p_obsf [10000] |
DOUBLE * | p_wl |
DOUBLE ** | ref |
int | p_obsarm [10000] |
int | p_obsorder [10000] |
int | sp_array [10000] |
int * | p_chipmod |
int | size |
int | mm |