DFS related Utilities


Defines

#define N_INST_SET   4
 Comparison function to identify different input frames. More...


Functions

int sinfoni_compare_tags (cpl_frame *frame1, cpl_frame *frame2)
 Comparison function to identify different input frames. More...

int sinfoni_frame_is_raw (char *tag)
 Define the input raw frames for sinfoni_frame_is_raw. More...

int sinfoni_frame_is_raw_stack (char *tag)
 Define the input raw frames for sinfoni_frame_is_raw. More...

int sinfoni_frame_is_raw_dark (char *tag)
 Define the input raw frames for sinfoni_frame_is_raw. More...

int sinfoni_frame_is_slit_lamp (char *tag)
 Define the input raw frames for sinfoni_frame_is_raw. More...

int sinfoni_frame_is_pinhole_lamp (char *tag)
 Define the input raw frames for sinfoni_frame_is_raw. More...

int sinfoni_get_ron (cpl_frameset *framelist, const int ron_xmin, const int ron_xmax, const int ron_ymin, const int ron_ymax, const int ron_hsize, const int ron_nsamp, double **ron)
 The recipe data reduction ('ron' part) is implemented here. More...

int sinfoni_stack_get_pro_tag (char *tag_in, char *tag_out)
 Define the input raw frames for sinfoni_img_combine. More...

int sinfoni_util_inputs_is_raw (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_stack (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_psf_calibrator_stacked (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_focus_stacked (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_lamp_wave_stacked (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_lamp_flux_stacked (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_object_nodding_stacked (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_object_skyspider_stacked (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_sky_nodding_stacked (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_wavemap (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_halosp (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_distlist (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_slitpos (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_firstcol (char *tag)
 Define the input raw frames for sinfoni_util_inputs. More...

int sinfoni_is_bpmap (char *tag)
 Define the bad pixel map. More...

int sinfoni_get_band (cpl_frame *ref_frame, char *band)
 Add PRO* keywords to a SINFONI FITS header. More...

int sinfoni_get_spatial_res (cpl_frame *ref_frame, char *spat_res)
 Add PRO* keywords to a SINFONI FITS header. More...

int sinfoni_frame_is_sky (cpl_frame *ref_frame)
 Add PRO* keywords to a SINFONI FITS header. More...

int sinfoni_tag_is_sky (char *tag)
 Add PRO* keywords to a SINFONI FITS header. More...

int sinfoni_tag_is_obj (char *tag)
 Add PRO* keywords to a SINFONI FITS header. More...

int sinfoni_frame_is_on (cpl_frame *ref_frame)
 Add PRO* keywords to a SINFONI FITS header. More...

int sinfoni_pfits_add_pro (cpl_propertylist *plist, char *pipefile, char *pro_type, char *pro_redlevel, char *pro_catg, char *pro_status, const char *pro_rec_id, cpl_frameset *raw, cpl_frameset *cal)
 Add PRO* keywords to a SINFONI FITS header. More...

int sinfoni_dfs_set_groups (cpl_frameset *set)
 Set the group as RAW or CALIB in a frameset. More...


Detailed Description

TBD

Define Documentation

#define N_INST_SET   4
 

Comparison function to identify different input frames.

Parameters:
frame1  first frame
frame2  second frame
Returns:
0 if frame1!=frame2, 1 if frame1==frame2, -1 in error case

Definition at line 75 of file sinfoni_recipes_defaults.h.


Function Documentation

int sinfoni_compare_tags cpl_frame *    frame1,
cpl_frame *    frame2
 

Comparison function to identify different input frames.

Parameters:
frame1  first frame
frame2  second frame
Returns:
0 if frame1!=frame2, 1 if frame1==frame2, -1 in error case

Definition at line 173 of file sinfoni_dfs.c.

int sinfoni_dfs_set_groups cpl_frameset *    set
 

Set the group as RAW or CALIB in a frameset.

Parameters:
set  the input frameset
Returns:
0 if ok, -1 in error case

Definition at line 65 of file sinfoni_tpl_dfs.c.

int sinfoni_frame_is_on cpl_frame *    ref_frame
 

Add PRO* keywords to a SINFONI FITS header.

Parameters:
ref_file  product status
Returns:
1 if on 0 if off if ok, -1 if unknown
DFS only. See the DICB dictionaries to have details on the keywords.

Definition at line 2304 of file sinfoni_dfs.c.

int sinfoni_frame_is_pinhole_lamp char *    tag
 

Define the input raw frames for sinfoni_frame_is_raw.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 805 of file sinfoni_dfs.c.

int sinfoni_frame_is_raw char *    tag
 

Define the input raw frames for sinfoni_frame_is_raw.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 673 of file sinfoni_dfs.c.

int sinfoni_frame_is_raw_dark char *    tag
 

Define the input raw frames for sinfoni_frame_is_raw.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 770 of file sinfoni_dfs.c.

int sinfoni_frame_is_raw_stack char *    tag
 

Define the input raw frames for sinfoni_frame_is_raw.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 723 of file sinfoni_dfs.c.

int sinfoni_frame_is_sky cpl_frame *    ref_frame
 

Add PRO* keywords to a SINFONI FITS header.

Parameters:
ref_file  product status
Returns:
0 if ok, -1 otherwise
DFS only. See the DICB dictionaries to have details on the keywords.

Definition at line 2190 of file sinfoni_dfs.c.

int sinfoni_frame_is_slit_lamp char *    tag
 

Define the input raw frames for sinfoni_frame_is_raw.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 787 of file sinfoni_dfs.c.

int sinfoni_get_band cpl_frame *    ref_frame,
char *    band
 

Add PRO* keywords to a SINFONI FITS header.

Parameters:
ref_file  product status
set_id  instrument setting id
Returns:
0 if ok, -1 otherwise
DFS only. See the DICB dictionaries to have details on the keywords.

Definition at line 2006 of file sinfoni_dfs.c.

int sinfoni_get_ron cpl_frameset *    framelist,
const int    ron_xmin,
const int    ron_xmax,
const int    ron_ymin,
const int    ron_ymax,
const int    ron_hsize,
const int    ron_nsamp,
double **    ron
 

The recipe data reduction ('ron' part) is implemented here.

Parameters:
framelist  the frames list of the current set
set  the complete frames set
Returns:
0 if ok, -1 in error case

Definition at line 1445 of file sinfoni_dfs.c.

int sinfoni_get_spatial_res cpl_frame *    ref_frame,
char *    spat_res
 

Add PRO* keywords to a SINFONI FITS header.

Parameters:
ref_file  product status
spat_res  spatial resolution
Returns:
0 if ok, -1 otherwise
DFS only. See the DICB dictionaries to have details on the keywords.

Definition at line 2148 of file sinfoni_dfs.c.

int sinfoni_is_bpmap char *    tag
 

Define the bad pixel map.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1985 of file sinfoni_dfs.c.

int sinfoni_is_distlist char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1937 of file sinfoni_dfs.c.

int sinfoni_is_firstcol char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1969 of file sinfoni_dfs.c.

int sinfoni_is_focus_stacked char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1808 of file sinfoni_dfs.c.

int sinfoni_is_halosp char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1921 of file sinfoni_dfs.c.

int sinfoni_is_lamp_flux_stacked char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1840 of file sinfoni_dfs.c.

int sinfoni_is_lamp_wave_stacked char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1824 of file sinfoni_dfs.c.

int sinfoni_is_object_nodding_stacked char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1856 of file sinfoni_dfs.c.

int sinfoni_is_object_skyspider_stacked char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1872 of file sinfoni_dfs.c.

int sinfoni_is_psf_calibrator_stacked char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1793 of file sinfoni_dfs.c.

int sinfoni_is_sky_nodding_stacked char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1889 of file sinfoni_dfs.c.

int sinfoni_is_slitpos char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1953 of file sinfoni_dfs.c.

int sinfoni_is_stack char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1765 of file sinfoni_dfs.c.

int sinfoni_is_wavemap char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1905 of file sinfoni_dfs.c.

int sinfoni_pfits_add_pro cpl_propertylist *    plist,
char *    pipefile,
char *    pro_type,
char *    pro_redlevel,
char *    pro_catg,
char *    pro_status,
const char *    pro_rec_id,
cpl_frameset *    raw,
cpl_frameset *    cal
 

Add PRO* keywords to a SINFONI FITS header.

Parameters:
plist  property list in which values are written
pipeline  produced file name
pro_type  product type
pro_redlevel  product reduction level
pro_catg  product category key
pro_status  product status
pro_rec_id 
raw  frameset with raw files
cal  frameset with calib files
Returns:
0 if ok, -1 otherwise
DFS only. See the DICB dictionaries to have details on the keywords.

Definition at line 2478 of file sinfoni_dfs.c.

int sinfoni_stack_get_pro_tag char *    tag_in,
char *    tag_out
 

Define the input raw frames for sinfoni_img_combine.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1529 of file sinfoni_dfs.c.

int sinfoni_tag_is_obj char *    ref_frame
 

Add PRO* keywords to a SINFONI FITS header.

Parameters:
tag  product status
Returns:
0 if ok, -1 otherwise
DFS only. See the DICB dictionaries to have details on the keywords.

Definition at line 2271 of file sinfoni_dfs.c.

int sinfoni_tag_is_sky char *    ref_frame
 

Add PRO* keywords to a SINFONI FITS header.

Parameters:
tag  product status
Returns:
0 if ok, -1 otherwise
DFS only. See the DICB dictionaries to have details on the keywords.

Definition at line 2241 of file sinfoni_dfs.c.

int sinfoni_util_inputs_is_raw char *    tag
 

Define the input raw frames for sinfoni_util_inputs.

Parameters:
tag  The candidate DO_CATG
Returns:
0 for no, 1 for yes, -1 in error case

Definition at line 1674 of file sinfoni_dfs.c.


Generated on Wed Oct 26 13:08:56 2005 for SINFONI Pipeline Reference Manual by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001