MUSE Pipeline Reference Manual  2.5.2
muse_raman.h
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set sw=2 sts=2 et cin: */
3 /*
4  * This file is part of the MUSE Instrument Pipeline
5  * Copyright (C) 2017-2018 European Southern Observatory
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef MUSE_RAMAN_H
23 #define MUSE_RAMAN_H
24 
25 #include <cpl.h>
26 #include "muse_lsf.h"
27 
28 #define MUSE_RAMAN_RANGES 2 /* number of Raman wavelength ranges */
29 
31 cpl_error_code muse_raman_add_lsf(muse_pixtable *, cpl_table *, int, double, muse_lsf_cube **);
32 
33 cpl_array *muse_raman_simulate(muse_pixtable *, cpl_array *, cpl_array *);
34 muse_image *muse_raman_simulate_image(const muse_image *, const cpl_array *);
35 cpl_array *muse_raman_fit(muse_pixtable *[MUSE_RAMAN_RANGES]);
36 
37 #endif /* MUSE_RAMAN_H */
cpl_array * muse_raman_simulate(muse_pixtable *, cpl_array *, cpl_array *)
Apply the LSF and spatial Raman light distribution.
Definition: muse_raman.c:189
cpl_table * muse_raman_lines_load(muse_processing *)
Load the raman lines file.
Definition: muse_raman.c:48
Data cube/stacked image list containing the LSF for one IFU.
Definition: muse_lsf.h:49
Structure definition of MUSE three extension FITS file.
Definition: muse_image.h:40
cpl_array * muse_raman_fit(muse_pixtable *[MUSE_RAMAN_RANGES])
Fit raman lines to an array of pixtables.
Definition: muse_raman.c:377
Structure definition of MUSE pixel table.
cpl_error_code muse_raman_add_lsf(muse_pixtable *, cpl_table *, int, double, muse_lsf_cube **)
Add a Raman line profile to pixtable.
Definition: muse_raman.c:111
muse_image * muse_raman_simulate_image(const muse_image *, const cpl_array *)
Simulate an image of the parameters of the spatial Raman light fit.
Definition: muse_raman.c:265