00001
00002 /*---------------------------------------------------------------------------
00003
00004 File name : detnoise_cfg.h
00005 Author : Juergen Schreiber
00006 Created on : September 2002
00007 Description : detnoise_ini definitions + handling prototypes
00008
00009 ---------------------------------------------------------------------------*/
00010
00011
00012 #ifndef _DETNOISE_CFG_H_
00013 #define _DETNOISE_CFG_H_
00014
00015 /*---------------------------------------------------------------------------
00016 Includes
00017 ---------------------------------------------------------------------------*/
00018
00019 /*
00020 #include <stdio.h>
00021 */
00022 #include <stdlib.h>
00023 #include "static_sz.h"
00024
00025
00026 /*---------------------------------------------------------------------------
00027 Defines
00028 ---------------------------------------------------------------------------*/
00029
00030
00031 /*---------------------------------------------------------------------------
00032 New types
00033 ---------------------------------------------------------------------------*/
00034
00035
00036 /*
00037 bad pixels search blackboard container
00038
00039 This structure holds all information related to the bad pixels search
00040 routine. It is used as a container for the flux of ancillary data,
00041 computed values, and algorithm status. Pixel flux is separated from
00042 the blackboard.
00043 */
00044
00045 /*<python>*/
00046 typedef struct detnoise_config {
00047 /*-------General---------*/
00048 char inFile[FILENAMESZ] ; /* file name of the file containing the list of all input frames */
00049 char outName[FILENAMESZ] ; /* output name of resulting bad pixel mask (fits file)*/
00050 char ** framelist ; /* list of frames */
00051 int nframes ; /* number of frames in frame list */
00052
00053 /*------searchBad------*/
00054 /* factor to the standard deviation of the mean standard deviation. */
00055 double threshSigmaFactor ;
00056 /* percentage of rejected low intensity pixels before determining
00057 image statistics (mean and standard deviation)*/
00058 float loReject ;
00059 /* percentage of rejected high intensity pixels before determining
00060 image statistics (mean and standard deviation) */
00061 float hiReject ;
00062 } detnoise_config ;
00063 /*</python>*/
00064
00065
00066 /*---------------------------------------------------------------------------
00067 Function prototypes
00068 ---------------------------------------------------------------------------*/
00069
00070
00071 /*---------------------------------------------------------------------------
00072 Function : detnoise_cfg_create()
00073 In : void
00074 Out : pointer to allocated base detnoise_cfg structure
00075 Job : allocate memory for a detnoise_cfg struct
00076 Notice : only the main (base) structure is allocated
00077 ---------------------------------------------------------------------------*/
00078
00079 detnoise_config * detnoise_cfg_create(void);
00080
00081
00082 /*---------------------------------------------------------------------------
00083 Function : detnoise_cfg_destroy()
00084 In : detnoise_config to deallocate
00085 Out : void
00086 Job : deallocate all memory associated with a detnoise_config data structure
00087 Notice :
00088 ---------------------------------------------------------------------------*/
00089 /*<python>*/
00090 void detnoise_cfg_destroy(detnoise_config * sc);
00091 /*</python>*/
00092
00093 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001