X-shooter Pipeline Reference Manual 3.8.15
xsh_model_metric.h
Go to the documentation of this file.
1/* $Id: xsh_model_metric.h,v 1.7 2011-12-02 14:15:28 amodigli Exp $
2 *
3 * Copyright (C) 2002,2003 European Southern Observatory
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20/*
21 * $Author: amodigli $
22 * $Date: 2011-12-02 14:15:28 $
23 * $Revision: 1.7 $
24 * $Name: not supported by cvs2svn $
25 */
26
27#ifndef XSH_MODEL_METRIC_H
28#define XSH_MODEL_METRIC_H
29
30/*-----------------------------------------------------------------------------
31 Includes
32 -----------------------------------------------------------------------------*/
33
34#include <cpl.h>
35
36#include <stdio.h>
37#include <math.h>
38#include <ctype.h>
39#include <string.h>
40#include <stdlib.h>
41
42cpl_table * xsh_model_anneal_comp(ann_all_par *p_all_par, int adim, 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);
43float xsh_3_energy (double *a);
44void xsh_model_assign_xsh(int loc, double val);
45void xsh_model_output_data(double *);
46
47#endif
float xsh_3_energy(double *a)
cpl_table * xsh_model_anneal_comp(ann_all_par *p_all_par, int adim, 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 Euclide...
double DOUBLE
void xsh_model_output_data(double *)
void xsh_model_assign_xsh(int loc, double val)