CR2RE Pipeline Reference Manual 1.6.10
hdrl_efficiency.h
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
52 const hdrl_value Ap, const hdrl_value Am, const hdrl_value G,
53 const hdrl_value Tex, const hdrl_value Atel);
54
55hdrl_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
60hdrl_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 *
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_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
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
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
hdrl_value E_ph(hdrl_data_t lambda)
energy of the photon calculation
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