Functions | |
| static FILE * | uves_paf_print_header (const char *filename, const char *paf_id, const char *paf_desc, const char *login_name, const char *datetime) |
| Open a new PAF file, output a default header. | |
| char * | uves_get_rootname (const char *filename) |
| computes rootname | |
| void | uves_get_paf_name (const char *in, int paf_no, char **paf) |
| get paf file name | |
| int | uves_blank2dot (const char *in, char *ou) |
| replace a blank to a dot | |
| int | uves_save_paf (const char *filename, int paf_no, const char *rec_id, const cpl_table *qclog, uves_propertylist *plist, const uves_propertylist *rhead, const char *pro_catg) |
| Init QC-LOG table. | |
| cpl_table * | uves_qclog_init (const uves_propertylist *raw_header, enum uves_chip chip) |
| Init QC-LOG table. | |
| int | uves_qclog_add_int (cpl_table *table, const char *key_name, const int value, const char *key_help, const char *format) |
| Add integer key to QC-LOG table. | |
| int | uves_qclog_add_bool (cpl_table *table, const char *key_name, const char value, const char *key_help, const char *format) |
| Add boolean key to QC-LOG table. | |
| int | uves_qclog_add_float (cpl_table *table, const char *key_name, const float value, const char *key_help, const char *format) |
| Add float key to QC-LOG table. | |
| int | uves_qclog_add_double (cpl_table *table, const char *key_name, const double value, const char *key_help, const char *format) |
| Add double key to QC-LOG table. | |
| int | uves_qclog_add_string (cpl_table *table, const char *key_name, const char *value, const char *key_help, const char *format) |
| Add string key to QC-LOG table. | |
| int | uves_qclog_delete (cpl_table **table) |
| delete QC-LOG table | |
| int | uves_pfits_put_qc (uves_propertylist *plist, const cpl_table *qclog) |
| Add QC-LOG to FITS header. | |
| void | uves_qclog_add_sci (cpl_table *qclog, const uves_propertylist *raw_header, const cpl_image *raw_image, double slit, const cpl_table *info_tbl) |
| Write QC parameters related to science reduction. | |
| void | uves_qclog_add_common_wave (const uves_propertylist *raw_header, enum uves_chip chip, cpl_table *qclog) |
| Write common QC parameters. | |
| const char * | uves_qclog_get_qc_name (const char *name, bool flames, int trace_number) |
| Create QC parameter name. | |
| int | uves_qclog_dump_common (const uves_propertylist *plist, enum uves_chip chip, cpl_table *qclog) |
| Create common QC log. | |
| int | uves_qclog_dump_common_wave (const uves_propertylist *plist, enum uves_chip chip, cpl_table *qclog) |
| Create common QC log. | |
|
||||||||||||||||||||||||
|
Open a new PAF file, output a default header.
A default header is produced according to the VLT DICB standard. You need to provide an identificator (paf_id) of the producer of the file. Typically, something like "ISAAC/zero_point". The PAF description (paf_desc) is meant for humans. Typically, something like "Zero point computation results". This function returns an opened file pointer, ready to receive more data through fprintf's. The caller is responsible for fclose()ing the file. Definition at line 100 of file uves_qclog.c. References uves_msg_error. Referenced by uves_save_paf(). |
|
|
computes rootname
Definition at line 136 of file uves_qclog.c. Referenced by uves_get_paf_name(). |
|
||||||||||||||||
|
get paf file name
Definition at line 164 of file uves_qclog.c. References uves_get_rootname(). Referenced by uves_save_paf(). |
|
||||||||||||
|
replace a blank to a dot
Definition at line 188 of file uves_qclog.c. Referenced by uves_save_paf(). |
|
||||||||||||||||||||||||||||||||
|
Init QC-LOG table.
Definition at line 224 of file uves_qclog.c. References uves_blank2dot(), uves_get_paf_name(), uves_msg, uves_msg_error, uves_paf_print_header(), uves_pfits_get_arcfile(), uves_pfits_get_dpr_catg(), uves_pfits_get_dpr_tech(), uves_pfits_get_dpr_type(), uves_pfits_get_rec1raw1name(), uves_pfits_get_templateid(), uves_propertylist_contains(), and uves_propertylist_get_string(). |
|
||||||||||||
|
Init QC-LOG table.
Definition at line 409 of file uves_qclog.c. References check_nomsg, uves_msg_debug, uves_msg_warning, uves_pfits_get_binx(), uves_pfits_get_biny(), uves_pfits_get_chip_name(), uves_pfits_get_gratname(), uves_pfits_get_insmode(), uves_pfits_get_inspath(), uves_pfits_get_readspeed(), uves_propertylist_contains(), uves_qclog_add_int(), uves_qclog_add_string(), and uves_remove_string_prefix(). Referenced by uves_reduce_scired(). |
|
||||||||||||||||||||||||
|
Add integer key to QC-LOG table.
Definition at line 520 of file uves_qclog.c. Referenced by uves_mflat_qclog(), uves_qclog_add_sci(), and uves_qclog_init(). |
|
||||||||||||||||||||||||
|
Add boolean key to QC-LOG table.
Definition at line 560 of file uves_qclog.c. |
|
||||||||||||||||||||||||
|
Add float key to QC-LOG table.
Definition at line 599 of file uves_qclog.c. |
|
||||||||||||||||||||||||
|
Add double key to QC-LOG table.
Definition at line 640 of file uves_qclog.c. Referenced by tflat_qclog(), uves_qclog_add_common_wave(), uves_qclog_add_sci(), uves_qclog_dump_common(), and uves_qclog_dump_common_wave(). |
|
||||||||||||||||||||||||
|
Add string key to QC-LOG table.
Definition at line 682 of file uves_qclog.c. Referenced by scired_qclog(), tflat_qclog(), uves_mflat_qclog(), uves_qclog_dump_common(), and uves_qclog_init(). |
|
|
delete QC-LOG table
Definition at line 715 of file uves_qclog.c. Referenced by uves_reduce_scired(). |
|
||||||||||||
|
Add QC-LOG to FITS header.
Definition at line 734 of file uves_qclog.c. References uves_msg_error, uves_propertylist_append_bool(), uves_propertylist_append_double(), uves_propertylist_append_float(), uves_propertylist_append_int(), uves_propertylist_append_string(), uves_propertylist_contains(), and uves_propertylist_set_comment(). |
|
||||||||||||||||||||||||
|
Write QC parameters related to science reduction.
Definition at line 802 of file uves_qclog.c. References check_nomsg, uves_max_int(), uves_min_int(), uves_msg_debug, uves_qclog_add_double(), uves_qclog_add_int(), and uves_round_double(). Referenced by scired_qclog(). |
|
||||||||||||||||
|
Write common QC parameters.
Definition at line 941 of file uves_qclog.c. References check_nomsg, uves_pfits_get_gratwlen(), uves_pfits_get_slitwidth(), uves_pfits_get_tempcam(), uves_qclog_add_double(), and uves_remove_string_prefix(). |
|
||||||||||||||||
|
Create QC parameter name.
Definition at line 984 of file uves_qclog.c. Referenced by test_qc_name(). |
|
||||||||||||||||
|
Create common QC log.
Definition at line 1008 of file uves_qclog.c. References check_nomsg, ck0_nomsg, uves_pfits_get_arcfile(), uves_pfits_get_binx(), uves_pfits_get_biny(), uves_pfits_get_chipid(), uves_pfits_get_dpr_catg(), uves_pfits_get_gratname(), uves_pfits_get_insmode(), uves_pfits_get_inspath(), uves_pfits_get_pipefile(), uves_pfits_get_pro_catg(), uves_pfits_get_readspeed(), uves_pfits_get_templateid(), uves_qclog_add_double(), and uves_qclog_add_string(). |
|
||||||||||||||||
|
Create common QC log.
Definition at line 1165 of file uves_qclog.c. References check_nomsg, ck0_nomsg, uves_pfits_get_gratwlen(), uves_pfits_get_slitwidth(), uves_pfits_get_tempcam(), and uves_qclog_add_double(). |
1.4.6