/*---------------------------------------------------------------------------- File name : jitter_engine.h Author : N. Devillard Created on : Sept 30, 1997 Description : Jitter mode data reduction for ISAAC/SOFI ---------------------------------------------------------------------------*/ /* $Id: jitter_engine.h,v 1.6 2001/07/03 14:34:45 ndevilla Exp $ $Author: ndevilla $ $Date: 2001/07/03 14:34:45 $ $Revision: 1.6 $ */ #ifndef _JITTER_ENGINE_H_ #define _JITTER_ENGINE_H_ /*--------------------------------------------------------------------------- Includes ---------------------------------------------------------------------------*/ #include #include #include #include #include "eclipse.h" #include "jitter_cfg.h" #include "jitter_ini.h" #include "jitter_offset.h" #include "jitter_gui.h" #include "isaacp_lib.h" /* * This defines the very minimum number of frames we need to achieve * jitter data reduction. */ #define MIN_NFRAMES_JITTER 2 /* * This defines search and measure window sizes in case of offset * refining */ #define OFFS_REFINE_SX 10 #define OFFS_REFINE_SY 10 #define OFFS_REFINE_MX 25 #define OFFS_REFINE_MY 25 /* * This defines search and measure window sizes in case of automatic * search */ #define OFFS_AUTO_SX 80 #define OFFS_AUTO_SY 80 #define OFFS_AUTO_MX 25 #define OFFS_AUTO_MY 25 /*--------------------------------------------------------------------------- Function ANSI C prototypes ---------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------- Function : jitter_engine() In : config file name, frame list name Out : the number of pixels in input returns negative or null in case of error Job : launch the jitter engine from a given configuration Notice : frame list can be either given in the config file, in which case the second argument must contain an empty string, or it can be given in a separate text file, in which case the second argument is this file name. ---------------------------------------------------------------------------*/ long jitter_engine(char * ini_name) ; #endif