HAWKI Pipeline Reference Manual 1.8.12
hawki_load.h
00001 /* $Id: hawki_load.h,v 1.22 2012/12/05 14:56:52 cgarcia Exp $
00002  *
00003  * This file is part of the HAWKI Pipeline
00004  * Copyright (C) 2002,2003 European Southern Observatory
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 /*
00022  * $Author: cgarcia $
00023  * $Date: 2012/12/05 14:56:52 $
00024  * $Revision: 1.22 $
00025  * $Name: hawki-1_8_12 $
00026  */
00027 
00028 #ifndef HAWKI_LOAD_H
00029 #define HAWKI_LOAD_H
00030 
00031 /*-----------------------------------------------------------------------------
00032                                 Functions prototypes
00033  -----------------------------------------------------------------------------*/
00034 
00035 CPL_BEGIN_DECLS
00036 cpl_frameset  * hawki_extract_frameset(const cpl_frameset *, const char *) ;
00037 cpl_imagelist * hawki_load_frameset(const cpl_frameset *, int, cpl_type) ;
00038 cpl_imagelist * hawki_load_frame(const cpl_frame *, cpl_type) ;
00039 cpl_image     * hawki_load_frame_detector(const cpl_frame *, int, cpl_type) ;
00040 cpl_image     * hawki_load_frame_extension(const cpl_frame *, int, cpl_type) ;
00041 cpl_image     * hawki_load_image(const cpl_frameset *, int, int, cpl_type) ;
00042 cpl_imagelist * hawki_load_detector(const cpl_frameset *, int, cpl_type) ;
00043 cpl_imagelist * hawki_load_extensions(const cpl_frameset *, int, cpl_type) ;
00044 cpl_imagelist * hawki_load_quadrants(const cpl_frameset *, int, int, cpl_type) ;
00045 cpl_image     * hawki_load_quadrant(const cpl_frameset *, int, int, int, cpl_type) ;
00046 cpl_image     * hawki_load_quadrant_from_file(const char *, int, int, cpl_type) ;
00047 cpl_table    ** hawki_load_tables(const cpl_frame * frame);
00048 cpl_bivector ** hawki_load_refined_offsets(const cpl_frame * offsets_frame);
00049 cpl_image     * hawki_rebuild_quadrants(const cpl_image *, const cpl_image *, 
00050                                         const cpl_image *, const cpl_image *) ;
00051 cpl_image     * hawki_rebuild_detectors(const cpl_image *, const cpl_image *, 
00052                                         const cpl_image *, const cpl_image *) ;
00053 int hawki_get_detector_from_ext(const char *, int) ;
00054 int hawki_get_ext_from_detector(const char *, int) ;
00055 int * hawki_get_ext_detector_mapping
00056 (const char  *  fname);
00057 CPL_END_DECLS
00058 
00059 #endif