00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef OC_SCIENCE_H
00029 #define OC_SCIENCE_H
00030
00031 #include <cpl.h>
00032 #include "omega_fits.h"
00033
00034 cpl_image *omega_reduce_science(const cpl_frame *stdframe, cpl_image *mask_img,
00035 cpl_parameterlist *pars, int ext);
00036
00037 omega_fits *omega_jitter_process(omega_fits *scifits, const cpl_image *mbias, const cpl_image *mflat,
00038 const cpl_image *bpm, const cpl_table *photom, const cpl_frame *usnoa2,
00039 const cpl_image *illum,const cpl_image *fringes, const cpl_image *nsky, double * zeropoint_final,
00040 cpl_parameterlist *pars, int ext);
00041
00042 cpl_image *omega_reduce_science(const cpl_frame *stdframe, cpl_image *mask_img,
00043 cpl_parameterlist *pars, int ext);
00044
00045 int omega_science_save_stare(cpl_image *img, cpl_table *tbl, cpl_frameset *set,
00046 cpl_parameterlist *pars,cpl_propertylist *xlist, const char *procatg,const char *name,
00047 cpl_propertylist *qclist,cpl_frame *inherit,cpl_frame *product_frame);
00048
00049 int omega_science_save_jitter(omega_fits *scifits,cpl_frameset *set, cpl_parameterlist *pars,
00050 cpl_propertylist *qclist, const char *jitter_name,
00051 cpl_frame *product_frame, cpl_frame *inherit, const int isfirst);
00052
00053 int omega_science_save_stack(cpl_image *img, cpl_frameset *set, cpl_parameterlist *pars,
00054 cpl_propertylist *alist, cpl_propertylist *qclist, const char *outname,
00055 cpl_frame *product_frame, const int isfirst);
00056
00057 int omega_science_save_conf(cpl_image *img, cpl_frameset *set, cpl_parameterlist *pars,
00058 const cpl_propertylist *alist, cpl_propertylist *qclist, const char *outname,
00059 cpl_frame *product_frame, const int isfirst);
00060
00061 int omega_science_save_table(cpl_table *tbl, cpl_frameset *set, cpl_parameterlist *pars,
00062 cpl_propertylist *alist, cpl_propertylist *qclist, const char *outname,
00063 cpl_frame *product_frame, const int isfirst);
00064
00065
00066
00067
00068 int reduce_sci_direct(cpl_parameterlist *, cpl_frameset *);
00069 int reduce_sci_dither(cpl_parameterlist *, cpl_frameset *);
00070 int reduce_sci_jitter(cpl_parameterlist *, cpl_frameset *);
00071
00072
00073
00074
00075
00076
00077
00078
00079 cpl_image *make_reduced(cpl_frame *,cpl_frame *, cpl_frame *, cpl_frame *,
00080 cpl_frame *, cpl_frame *,cpl_image *, cpl_parameterlist *);
00081
00082
00083 cpl_imagelist *make_reduced_jitter(cpl_imagelist *,cpl_frame *,cpl_frame *,
00084 cpl_frame *, cpl_frame *, cpl_frame *,
00085 cpl_imagelist *, cpl_parameterlist *);
00086
00087
00088 int reduce_sci_jitter_test(cpl_parameterlist *, cpl_frameset *);
00089
00090
00091 #endif