ERIS Pipeline Reference Manual 1.8.15
sc_fwhmest.h
Go to the documentation of this file.
1/*
2 * This file is part of the SKYCORR software package.
3 * Copyright (C) 2009-2013 European Southern Observatory
4 *
5 * This programme 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 programme 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 programme. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41/*****************************************************************************
42 * INCLUDES *
43 ****************************************************************************/
44
45/* Config header */
46
47#ifdef HAVE_CONFIG_H
48#include <config.h>
49#endif
50
51/* Sky correction headers */
52
53#include <sc_basic.h>
54
55/*****************************************************************************
56 * DEFINES *
57 ****************************************************************************/
58
59#ifndef SC_FWHMEST_H
60#define SC_FWHMEST_H
61
62/*****************************************************************************
63 * TYPEDEF *
64 ****************************************************************************/
65
66/* Definition of structures */
67
76typedef struct _scxydata_ {
77 cpl_array *x;
78 cpl_array *y;
79 cpl_array *y_err;
81
82/*****************************************************************************
83 * PROTOTYPES *
84 ****************************************************************************/
85
86/* Declaration of functions */
87
88cpl_error_code sc_fwhmest(double *fwhm, double *rms, cpl_table *spec,
89 cpl_table *lines, const cpl_parameterlist *parlist);
90int sc_fwhmest_gaussfunc(int n_data, int n_pars, double *p, double *deviates,
91 double **derivs, void *pdata);
92
93#endif // SC_FWHMEST_H
94
95#ifdef __cplusplus
96}
97#endif
98
cpl_error_code sc_fwhmest(double *fwhm, double *rms, cpl_table *spec, cpl_table *lines, const cpl_parameterlist *parlist)
Definition: sc_fwhmest.c:49
struct _scxydata_ scxydata
int sc_fwhmest_gaussfunc(int n_data, int n_pars, double *p, double *deviates, double **derivs, void *pdata)
Definition: sc_fwhmest.c:265