ERIS Pipeline Reference Manual 1.9.2
eris_ifu_sky_tweak.h
1/*
2 *
3 * This file is part of the KMOS Pipeline
4 * Copyright (C) 2002,2003 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21#ifndef ERIS_IFU_SKY_TWEAK_H
22#define ERIS_IFU_SKY_TWEAK_H
23
24/*-----------------------------------------------------------------------------
25 * Includes
26 *----------------------------------------------------------------------------*/
27
28#include <cpl.h>
29
30/*------------------------------------------------------------------------------
31 * Prototypes
32 *----------------------------------------------------------------------------*/
33
34cpl_imagelist * eris_ifu_sky_tweak(
35 cpl_imagelist * obj,
36 cpl_imagelist * sky,
37 const cpl_propertylist * header,
38 float min_frac,
39 int tbsub,
40 int skip_last,
41 int stretch,
42 int stretch_degree,
43 int stretch_resampling,
44 int plot,
45 cpl_imagelist ** new_sky) ;
46
47int eris_ifu_plot_cube_background(cpl_imagelist * obj) ;
48
49#endif
int eris_ifu_plot_cube_background(cpl_imagelist *obj)
Extract background spectrum from cube and plot it.
cpl_imagelist * eris_ifu_sky_tweak(cpl_imagelist *obj, cpl_imagelist *sky, const cpl_propertylist *header, float min_frac, int tbsub, int skip_last, int stretch, int stretch_degree, int stretch_resampling, int plot, cpl_imagelist **new_sky)
Main sky tweaking and subtraction function.