Functions to save a product

sinfo_update_fits_card_int

update an integer card in the header of a FITS file

Parameters:
file file name
card card name
value card value
Returns:
if success 0 ; else -1


int sinfo_update_fits_card_int (const char *file, const char *card, int value)

sinfo_update_fits_card_float

update a float card in the header of a FITS file

Parameters:
file file name
card card name
value card value
Returns:
if success 0 ; else -1


int sinfo_update_fits_card_float (const char *file, const char *card, float value)

sinfo_update_fits_card_double

update a double card in the header of a FITS file

Parameters:
file file name
card card name
value card value
Returns:
if success 0 ; else -1


int sinfo_update_fits_card_double (const char *file, const char *card, double value)

sinfo_update_fits_card_long

update a long card in the header of a FITS file

Parameters:
file file name
card card name
value card value
Returns:
if success 0 ; else -1


int sinfo_update_fits_card_long (const char *file, const char *card, long value)

sinfo_update_fits_card_string

update a string card in the header of a FITS file

Parameters:
file file name
card card name
value card value
Returns:
if success 0 ; else -1


int sinfo_update_ims_fits_card_string (cpl_imagelist *iml, const char *file, const char *card, const char *value)
int sinfo_pro_save_ima (cpl_image *ima, cpl_frameset *ref, cpl_frameset *set, const char *out_file, const char *pro_catg, cpl_table *qclog, const char *recid, cpl_parameterlist *parlist)
 Save the image product on disk.
int sinfo_pro_save_tbl (cpl_table *table, cpl_frameset *ref, cpl_frameset *set, const char *out_file, const char *pro_catg, cpl_table *qclog, const char *recid, cpl_parameterlist *parlist)
 Save the table products on disk.
int sinfo_pro_save_ims (cpl_imagelist *ims, cpl_frameset *ref, cpl_frameset *set, const char *out_file, const char *pro_catg, cpl_table *qclog, const char *recid, cpl_parameterlist *parlist)
 Save the imagelist product on disk.
cpl_table * sinfo_qclog_init (void)
int sinfo_qclog_add_int (cpl_table *table, const char *key_name, const int value, const char *key_help, const char *format)
int sinfo_qclog_add_bool (cpl_table *table, const char *key_name, const char value, const char *key_help, const char *format)
int sinfo_qclog_add_float (cpl_table *table, const char *key_name, const float value, const char *key_help, const char *format)
int sinfo_qclog_add_double (cpl_table *table, const char *key_name, const double value, const char *key_help, const char *format)
int sinfo_qclog_add_string (cpl_table *table, const char *key_name, const char *value, const char *key_help, const char *format)

Detailed Description

TBD


Function Documentation

int sinfo_pro_save_ima ( cpl_image *  ima,
cpl_frameset *  ref,
cpl_frameset *  set,
const char *  out_file,
const char *  pro_catg,
cpl_table *  qclog,
const char *  recid,
cpl_parameterlist *  parlist 
)

Save the image product on disk.

Parameters:
ima the input imagelist
ref the reference frame set
set the output frame set
out_file the output file name
pro_catg the frame product category
qclog the table to store quality control parameters
recid the recipe id
parlist the recipe parameter list
Returns:
0 if everything is ok, -1 otherwise

Definition at line 576 of file sinfo_pro_save.c.

References sinfo_msg_error.

Referenced by sinfo_new_wave_cal_slit2(), and sinfo_utl_cube2spectrum().

int sinfo_pro_save_ims ( cpl_imagelist *  ims,
cpl_frameset *  ref,
cpl_frameset *  set,
const char *  out_file,
const char *  pro_catg,
cpl_table *  qclog,
const char *  recid,
cpl_parameterlist *  parlist 
)

Save the imagelist product on disk.

Parameters:
ims the input imagelist
ref the reference frame set
set the output frame set
out_file the output file name
pro_catg the frame product category
qclog the table to store quality control parameters
recid the recipe id
parlist the recipe parameter list
Returns:
0 if everything is ok, -1 otherwise

Definition at line 756 of file sinfo_pro_save.c.

References sinfo_msg_error.

int sinfo_pro_save_tbl ( cpl_table *  table,
cpl_frameset *  ref,
cpl_frameset *  set,
const char *  out_file,
const char *  pro_catg,
cpl_table *  qclog,
const char *  recid,
cpl_parameterlist *  parlist 
)

Save the table products on disk.

Parameters:
table the input table
ref the reference frame set
set the output frame set
out_file the output file name
pro_catg the frame product category
qclog the table to store quality control parameters
recid the recipe id
parlist the recipe parameter list
Returns:
0 if everything is ok, -1 otherwise

Definition at line 669 of file sinfo_pro_save.c.

References sinfo_msg_error.

Referenced by sinfo_new_wave_cal_slit2(), and sinfo_utl_cube2spectrum().


Generated on 8 Mar 2011 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1