CR2RE Pipeline Reference Manual 1.6.10
hdrl_spectrum_defs.h
1/* $Id: hdrl_image_defs.h,v 1.0 2017-03-27 15:26:45 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-27 15:26:45 $
24 * $Revision: 1.0 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef HDRL_SPECTRUM_DEFS_H
29#define HDRL_SPECTRUM_DEFS_H
30
31#include "hdrl_types.h"
32#include "hdrl_image.h"
33#include <cpl.h>
34
35CPL_BEGIN_DECLS
36
37
38typedef enum{
39 hdrl_spectrum1D_wave_scale_linear,
40 hdrl_spectrum1D_wave_scale_log
41}hdrl_spectrum1D_wave_scale;
42
43
44typedef struct{
45 hdrl_image * flux;
46 cpl_array * wavelength;
47 hdrl_spectrum1D_wave_scale wave_scale;
48}hdrl_spectrum1D;
49
50CPL_END_DECLS
51
52#endif