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

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

Loading...
Searching...
No Matches
hdrl_spectrum_defs.h
Go to the documentation of this file.
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
38 typedef enum{
39 hdrl_spectrum1D_wave_scale_linear,
40 hdrl_spectrum1D_wave_scale_log
41}hdrl_spectrum1D_wave_scale;
42
43
44 typedef 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
hdrl_types.h
hdrl_image.h
hdrl_spectrum1D_wave_scale
hdrl_spectrum1D_wave_scale
Definition hdrl_spectrum_defs.h:38
hdrl_spectrum1D_wave_scale_linear
@ hdrl_spectrum1D_wave_scale_linear
Definition hdrl_spectrum_defs.h:39
hdrl_spectrum1D_wave_scale_log
@ hdrl_spectrum1D_wave_scale_log
Definition hdrl_spectrum_defs.h:40
_hdrl_image_
Definition hdrl_image_defs.h:40
hdrl_spectrum1D
Definition hdrl_spectrum_defs.h:44
hdrl_spectrum1D::wavelength
cpl_array * wavelength
Definition hdrl_spectrum_defs.h:46
hdrl_spectrum1D::flux
hdrl_image * flux
Definition hdrl_spectrum_defs.h:45
hdrl_spectrum1D::wave_scale
hdrl_spectrum1D_wave_scale wave_scale
Definition hdrl_spectrum_defs.h:47