MUSE Pipeline Reference Manual  2.5.2
muse_autocalib.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 Simon Conseil (CRAL - Observatoire de Lyon)
6  * (C) 2017 European Southern Observatory
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  */
22 
23 #ifndef MUSE_AUTOCALIB_H
24 #define MUSE_AUTOCALIB_H
25 
26 /*----------------------------------------------------------------------------*
27  * Includes *
28  *----------------------------------------------------------------------------*/
29 #include <cpl.h>
30 
31 #include "muse_image.h"
32 #include "muse_mask.h"
33 #include "muse_pixtable.h"
34 #include "muse_table.h"
35 
36 /*----------------------------------------------------------------------------*
37  * Special variable types *
38  *----------------------------------------------------------------------------*/
42 /*----------------------------------------------------------------------------*/
46 /*----------------------------------------------------------------------------*/
47 typedef enum {
48  MUSE_POSTPROC_AUTOCALIB_NONE = 0,
49  MUSE_POSTPROC_AUTOCALIB_DEEPFIELD
51 
54 /*----------------------------------------------------------------------------*
55  * Function prototypes *
56  *----------------------------------------------------------------------------*/
57 cpl_error_code muse_autocalib_slice_median(muse_pixtable *, double, muse_table **);
58 muse_mask *muse_autocalib_create_mask(muse_image *, double, const char *);
59 
60 #endif /* MUSE_AUTOCALIB_H */
Structure definition of MUSE three extension FITS file.
Definition: muse_image.h:40
Structure definition of MUSE pixel table.
cpl_error_code muse_autocalib_slice_median(muse_pixtable *, double, muse_table **)
Correct the background level of the slices (port from MPDAF).
Structure to store a table together with a property list.
Definition: muse_table.h:43
muse_mask * muse_autocalib_create_mask(muse_image *, double, const char *)
Create Select spaxels to be considered as sky for autocalibration.
Handling of "mask" files.
Definition: muse_mask.h:43
muse_autocalib_type
Type of autocalibration to use (if any)