High-Level Data Reduction Library: hdrl_efficiency.h Source File

High-Level Data Reduction Library 1.6.0 High-Level data reduction routines for ESO pipelines

Loading...
Searching...
No Matches
hdrl_efficiency.h
Go to the documentation of this file.
1/* $Id: hdrl_efficiency.h,v 0.1 2017-03-15 11:55:00 msalmist Exp $
2 *
3 * This file is part of the HDRL
4 * Copyright (C) 2017 European Southern Observatory
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21/*
22 * $Author: msalmist $
23 * $Date: 2017-03-15 11:55:00 $
24 * $Revision: 0.1 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef HDRL_EFFICIENCY_H
29#define HDRL_EFFICIENCY_H
30
31/*-----------------------------------------------------------------------------
32 New types
33 -----------------------------------------------------------------------------*/
34
35
36/*-----------------------------------------------------------------------------
37 Includes
38 -----------------------------------------------------------------------------*/
39
40#include "hdrl_spectrum.h"
41
42#include <cpl.h>
43
44CPL_BEGIN_DECLS
45
46
47/*-----------------------------------------------------------------------------
48 Functions
49 -----------------------------------------------------------------------------*/
50
51 hdrl_parameter* hdrl_efficiency_parameter_create(
52 const hdrl_value Ap, const hdrl_value Am, const hdrl_value G,
53 const hdrl_value Tex, const hdrl_value Atel);
54
55 hdrl_spectrum1D * hdrl_efficiency_compute(
56 const hdrl_spectrum1D * I_std_arg, const hdrl_spectrum1D * I_std_ref,
57 const hdrl_spectrum1D * E_x, const hdrl_parameter * pars);
58
59
60 hdrl_parameter* hdrl_response_parameter_create(
61 const hdrl_value Ap, const hdrl_value Am, const hdrl_value G,
62 const hdrl_value Tex);
63
64#if defined HDRL_USE_EXPERIMENTAL || defined HDRL_USE_PRIVATE
65
66 hdrl_value E_ph(hdrl_data_t lambda);
67
68 hdrl_spectrum1D *
69 hdrl_response_core_compute(
70 const hdrl_spectrum1D * I_std_arg, const hdrl_spectrum1D * I_std_ref,
71 const hdrl_spectrum1D * E_x, const hdrl_parameter * pars);
72
73#endif
74
75CPL_END_DECLS
76
77#endif
hdrl_data_t
double hdrl_data_t
Definition hdrl_types.h:62
hdrl_spectrum.h
hdrl_parameter
struct _hdrl_parameter_ hdrl_parameter
Definition hdrl_parameter.h:27
hdrl_response_core_compute
hdrl_spectrum1D * hdrl_response_core_compute(const hdrl_spectrum1D *I_std_arg, const hdrl_spectrum1D *I_std_ref, const hdrl_spectrum1D *E_x, const hdrl_parameter *pars)
core response calculation
Definition hdrl_efficiency.c:181
hdrl_response_parameter_create
hdrl_parameter * hdrl_response_parameter_create(const hdrl_value Ap, const hdrl_value Am, const hdrl_value G, const hdrl_value Tex)
ctor for the hdrl_parameter for response
Definition hdrl_efficiency.c:103
hdrl_efficiency_parameter_create
CPL_BEGIN_DECLS hdrl_parameter * hdrl_efficiency_parameter_create(const hdrl_value Ap, const hdrl_value Am, const hdrl_value G, const hdrl_value Tex, const hdrl_value Atel)
ctor for the hdrl_parameter for efficiency
Definition hdrl_efficiency.c:133
E_ph
hdrl_value E_ph(hdrl_data_t lambda)
energy of the photon calculation
Definition hdrl_efficiency.c:364
hdrl_efficiency_compute
hdrl_spectrum1D * hdrl_efficiency_compute(const hdrl_spectrum1D *I_std_arg, const hdrl_spectrum1D *I_std_ref, const hdrl_spectrum1D *E_x, const hdrl_parameter *pars)
efficiency calculation
Definition hdrl_efficiency.c:283
hdrl_spectrum1D
Definition hdrl_spectrum_defs.h:44
hdrl_value
Definition hdrl_types.h:77