00001 #ifndef __LIMB_FIT_H
00002 #define __LIMB_FIT_H
00003 struct mempointer
00004 {
00005 double *xrp;
00006 double *yrp;
00007 double *imrphi;
00008 double *rc;
00009 double *phic;
00010
00011 double *avgphi;
00012
00013 double *imhp;
00014 double *imro;
00015 float *image;
00016 double *parab;
00017 unsigned char *mask_p;
00018 float *cnorm;
00019 float *ierror;
00020 float *imcp;
00021 };
00022
00023
00024
00025
00026
00027 extern const double rad_corr_fac;
00028 extern const double foc_corr;
00029 extern const double high;
00030 extern const double low;
00031
00032 extern const double limit_var;
00033 extern const double limit_cc;
00034
00035 extern const int lim;
00036
00037 extern const int parsize;
00038
00039
00040 extern const int gapfill_order;
00041 extern const int gapfill_method;
00042 extern const float gapfill_regular;
00043 extern const int gapfill_order2;
00044
00045 extern const int min_imcnf;
00046 extern const int max_imcnf;
00047
00048 extern char *X0_MP_key;
00049 extern char *Y0_MP_key;
00050 extern char *RSUN_OBS_key;
00051 extern char *IMSCL_MP_key;
00052
00053 extern char *HCAMID_key;
00054 extern char *HCFTID_key;
00055 extern char *MISSVAL_key;
00056
00057 extern int light_val1;
00058 extern int light_val2;
00059
00060 extern const double percent_good;
00061
00062
00063
00064
00065 int limb_fit(DRMS_Record_t *record, float *image_in, double *rsun_lf, double *x0_lf, double *y0_lf, int nx, int ny, int method);
00066
00067 #endif