/*---------------------------------------------------------------------------- File name : lwjit_offset.h Author : Nicolas Devillard Created on : Oct 16, 1997 Description : frame offset estimation for jitter imaging ---------------------------------------------------------------------------*/ #ifndef _LWJIT_OFFSET_H_ #define _LWJIT_OFFSET_H_ /*---------------------------------------------------------------------------- Includes ---------------------------------------------------------------------------*/ #include "eclipse.h" #include "lwjit_bb.h" #include "lwjit_engine.h" /*-------------------------------------------------------------------------*/ /** @name get_offsets_from_fits_header @memo Get an offset list from the FITS headers. @param bb Jitter blackboard. @return 1 new double3 object. @doc This function is SOFI/ISAAC specific. It recovers the offset information from the input file FITS headers. The returned object must be deallocated using double3_del(). */ /*--------------------------------------------------------------------------*/ double3 * get_offsets_from_fits_header(lwjit_bb * bb) ; /*-------------------------------------------------------------------------*/ /** @name jitter_dump_offsets_file @memo Dump offset information to an ASCII file. @param bb Jitter blackboard. @param offs Offsets. @param estimates Initial estimates. @return void @doc This function dumps the offset information to an ASCII file for later control. It also updates the blackboard by storing the offset errors. */ /*--------------------------------------------------------------------------*/ void jitter_dump_offsets_file( lwjit_bb * bb, double3 * offs, double3 * estimates ); #endif