|
CR2RE Pipeline Reference Manual 1.6.2
|
Functions | |
| cpl_table * | cr2res_io_get_eop_table () |
| Get the eop_table. | |
| cpl_frame * | cr2res_io_find_SLIT_MODEL (const cpl_frameset *in, const char *setting_id, cr2res_decker decker) |
| Get the first CR2RES_SLIT_MODEL_DRSTYPE frame from a frameset. | |
| const cpl_frame * | cr2res_io_find_TRACE_WAVE (const cpl_frameset *in) |
| Get the first CR2RES_TW_DRSTYPE frame from a frameset. | |
| const cpl_frame * | cr2res_io_find_SLIT_FUNC (const cpl_frameset *in) |
| Get the first CR2RES_SLIT_FUNC_DRSTYPE frame from a frameset. | |
| cpl_frameset * | cr2res_io_find_TRACE_WAVE_all (const cpl_frameset *in) |
| Get the CR2RES_TW_DRSTYPE frames from a frameset. | |
| cpl_frameset * | cr2res_io_find_EXTRACT_1D_all (const cpl_frameset *in) |
| Get the CR2RES_EXTRACT_1D_DRSTYPE frames from a frameset. | |
| const cpl_frame * | cr2res_io_find_BPM (const cpl_frameset *in) |
| Get the first CR2RES_BPM_DRSTYPE frame from a frameset. | |
| cpl_frameset * | cr2res_io_find_BPM_all (const cpl_frameset *in) |
| Get the CR2RES_BPM_DRSTYPE frames from a frameset. | |
| cpl_vector * | cr2res_io_read_dits (const cpl_frameset *in) |
| Get the DITS from a frame set. | |
| cpl_vector * | cr2res_io_read_ndits (const cpl_frameset *in) |
| Get the NDITs from a frame set. | |
| cr2res_decker * | cr2res_io_read_decker_positions (const cpl_frameset *in) |
| Get the decker positions from a frame set. | |
| cpl_frameset * | cr2res_io_extract_decker_frameset (const cpl_frameset *in, const char *tag, cr2res_decker decker) |
| Extract the frames with the given tag and Decker position. | |
| int | cr2res_io_convert_order_idx_to_idxp (int order_idx) |
| Convert the order_idx to the order_idxp. | |
| char * | cr2res_io_create_extname (int detector, int data) |
| Create Extname. | |
| int | cr2res_io_get_ext_idx (const char *filename, int detector, int data) |
| Get the wished extension number for a detector. | |
| hdrl_image * | cr2res_io_load_image (const char *in, int detector) |
| Load an hdrl image from a image file. | |
| hdrl_imagelist * | cr2res_io_load_image_list (const char *in, int detector) |
| Load an hdrl image list from a cube file. | |
| hdrl_imagelist * | cr2res_io_load_image_list_from_set (const cpl_frameset *in, int detector) |
| Load an hdrl image list from an images frameset. | |
| cpl_table * | cr2res_load_table (const char *in, int det_nr, int pmin, int pmax) |
| Load the table accordingly. | |
| cpl_bivector * | cr2res_io_load_EMISSION_LINES (const char *filename) |
| Load an EMISSION_LINES bivector. | |
| cpl_image * | cr2res_io_load_BPM (const char *filename, int detector, int data) |
| Load an image from a BPM. | |
| hdrl_image * | cr2res_io_load_MASTER_DARK (const char *filename, int detector) |
| Load an image from a MASTER_DARK. | |
| hdrl_imagelist * | cr2res_io_load_DETLIN_COEFFS (const char *filename, int detector) |
| Load the detlin coefficients. | |
| hdrl_image * | cr2res_io_load_MASTER_FLAT (const char *filename, int detector) |
| Load an hdrl image from a MASTER_FLAT. | |
| cpl_table * | cr2res_io_load_TRACE_WAVE (const char *filename, int detector) |
| Load a table from a TRACE_WAVE. | |
| cpl_table * | cr2res_io_load_SLIT_FUNC (const char *filename, int detector) |
| Load a table from a SLIT_FUNC. | |
| hdrl_image * | cr2res_io_load_SLIT_MODEL (const char *filename, int detector) |
| Load an hdrl image from a SLIT MODEL. | |
| cpl_table * | cr2res_io_load_EXTRACT_1D (const char *filename, int detector) |
| Load a table from a EXTRACT_1D. | |
| int | cr2res_io_save_PHOTO_FLUX (const char *filename, cpl_table *out_table, const cpl_parameterlist *parlist, cpl_frameset *set, const char *recipe) |
| Save PHOTO_FLUX file. | |
| int | cr2res_io_save_EMISSION_LINES (const char *filename, cpl_table *out_table, const cpl_parameterlist *parlist, cpl_frameset *set, const char *recipe, const char *setting_string) |
| Save EMISSION_LINES file. | |
| int | cr2res_io_save_MASTER_DARK (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_image **master_darks, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a MASTER_DARK. | |
| int | cr2res_io_save_DETLIN_COEFFS (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_imagelist **coeffs, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a DETLIN COEFFS. | |
| int | cr2res_io_save_BPM (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_image **bpms, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a BPM. | |
| int | cr2res_io_save_CALIBRATED (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_image **calib_collapsed, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a CALIBRATED frame. | |
| int | cr2res_io_save_MASTER_FLAT (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_image **master_flats, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a MASTER_FLAT. | |
| int | cr2res_io_save_TRACE_WAVE (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_table **tables, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a TRACE_WAVE. | |
| int | cr2res_io_save_LINES_DIAGNOSTICS (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_table **tables, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a LINES_DIAGNOSTICS. | |
| int | cr2res_io_save_EXTRACT_1D (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_table **tables, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a 1D extracted spectrum. | |
| int | cr2res_io_save_THROUGHPUT (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_table **tables, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a THROUGHPUT table. | |
| int | cr2res_io_save_SLIT_FUNC (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_table **slit_func, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a SLIT_FUNC. | |
| int | cr2res_io_save_SLIT_MODEL (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_image **data, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a SLIT_MODEL. | |
| int | cr2res_io_save_COMBINED (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_image **data, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a COMBINED. | |
| int | cr2res_io_save_TRACE_MAP (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_image **data, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a TRACE_MAP. | |
| int | cr2res_io_save_WAVE_MAP (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_image **data, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a WAVE_MAP. | |
| int | cr2res_io_save_SLIT_CURV_MAP (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, hdrl_image **data, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a SLIT_CURV_MAP. | |
| int | cr2res_io_save_SPLICED_1D (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_table *spliced_1d, const cpl_propertylist *qc_list, cpl_propertylist *ext_plist, const char *procatg, const char *recipe) |
| Save a SPLICED_1D. | |
| int | cr2res_io_save_EXTRACT_2D (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_table **tables, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a 2D extracted spectrum. | |
| int | cr2res_io_save_POL_SPEC (const char *filename, cpl_frameset *allframes, cpl_frameset *inframes, const cpl_parameterlist *parlist, cpl_table **tables, const cpl_propertylist *qc_list, cpl_propertylist **ext_plist, const char *procatg, const char *recipe) |
| Save a Polarimetry spectrum. | |
| int cr2res_io_convert_order_idx_to_idxp | ( | int | order_idx | ) |
Convert the order_idx to the order_idxp.
| order_idx | Order (-49 to 50) |
Definition at line 583 of file cr2res_io.c.
Referenced by cr2res_dfs_CONVERSION_colname(), cr2res_dfs_POL_INTENS_colname(), cr2res_dfs_POL_INTENS_ERROR_colname(), cr2res_dfs_POL_NULL_colname(), cr2res_dfs_POL_NULL_ERROR_colname(), cr2res_dfs_POL_STOKES_colname(), cr2res_dfs_POL_STOKES_ERROR_colname(), cr2res_dfs_POL_WAVELENGTH_colname(), cr2res_dfs_POSITIONX_colname(), cr2res_dfs_POSITIONY_colname(), cr2res_dfs_SENSITIVITY_colname(), cr2res_dfs_SLIT_FRACTION_colname(), cr2res_dfs_SLIT_FUNC_colname(), cr2res_dfs_SPEC_colname(), cr2res_dfs_SPEC_ERR_colname(), cr2res_dfs_THROUGHPUT_colname(), cr2res_dfs_WAVELENGTH_colname(), cr2res_pfits_get_order_idx(), cr2res_pfits_get_wend(), and cr2res_pfits_get_wstrt().
| char * cr2res_io_create_extname | ( | int | detector, |
| int | data | ||
| ) |
Create Extname.
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
| data | 1 for the data image, 0 for the error |
Definition at line 618 of file cr2res_io.c.
Referenced by cr2res_io_get_ext_idx().
| cpl_frameset * cr2res_io_extract_decker_frameset | ( | const cpl_frameset * | in, |
| const char * | tag, | ||
| cr2res_decker | decker | ||
| ) |
Extract the frames with the given tag and Decker position.
| in | A non-empty frameset |
| tag | The tag of the requested frames |
| decker | CR2RES_DECKER_NONE,CR2RES_DECKER_1_3 or CR2RES_DECKER_2_4 |
The returned frameset must be de allocated with cpl_frameset_delete()
Definition at line 527 of file cr2res_io.c.
References cr2res_pfits_get_decker_position().
| const cpl_frame * cr2res_io_find_BPM | ( | const cpl_frameset * | in | ) |
Get the first CR2RES_BPM_DRSTYPE frame from a frameset.
| set | Input frame set |
Definition at line 369 of file cr2res_io.c.
| cpl_frameset * cr2res_io_find_BPM_all | ( | const cpl_frameset * | in | ) |
Get the CR2RES_BPM_DRSTYPE frames from a frameset.
| set | Input frame set |
Definition at line 397 of file cr2res_io.c.
References cr2res_extract_frameset_several_tags().
| cpl_frameset * cr2res_io_find_EXTRACT_1D_all | ( | const cpl_frameset * | in | ) |
Get the CR2RES_EXTRACT_1D_DRSTYPE frames from a frameset.
| set | Input frame set |
Definition at line 331 of file cr2res_io.c.
References cr2res_extract_frameset_several_tags().
| const cpl_frame * cr2res_io_find_SLIT_FUNC | ( | const cpl_frameset * | in | ) |
Get the first CR2RES_SLIT_FUNC_DRSTYPE frame from a frameset.
| set | Input frame set |
Definition at line 267 of file cr2res_io.c.
| cpl_frame * cr2res_io_find_SLIT_MODEL | ( | const cpl_frameset * | in, |
| const char * | setting_id, | ||
| cr2res_decker | decker | ||
| ) |
Get the first CR2RES_SLIT_MODEL_DRSTYPE frame from a frameset.
| set | Input frame set |
| setting | The setting to match |
| decker | The decker position to match |
Definition at line 167 of file cr2res_io.c.
References cr2res_extract_frameset_several_tags(), cr2res_format_setting(), cr2res_pfits_get_decker_position(), and cr2res_pfits_get_wlen_id().
| const cpl_frame * cr2res_io_find_TRACE_WAVE | ( | const cpl_frameset * | in | ) |
Get the first CR2RES_TW_DRSTYPE frame from a frameset.
| set | Input frame set |
Definition at line 231 of file cr2res_io.c.
| cpl_frameset * cr2res_io_find_TRACE_WAVE_all | ( | const cpl_frameset * | in | ) |
Get the CR2RES_TW_DRSTYPE frames from a frameset.
| set | Input frame set |
Definition at line 293 of file cr2res_io.c.
References cr2res_extract_frameset_several_tags().
| cpl_table * cr2res_io_get_eop_table | ( | ) |
| int cr2res_io_get_ext_idx | ( | const char * | filename, |
| int | detector, | ||
| int | data | ||
| ) |
Get the wished extension number for a detector.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
| data | 1 for the data image, 0 for the error |
Definition at line 644 of file cr2res_io.c.
References cr2res_io_create_extname().
Referenced by cr2res_io_load_BPM(), cr2res_io_load_image(), cr2res_io_load_image_list(), cr2res_io_load_image_list_from_set(), cr2res_trace_add_extra_columns(), and cr2res_wave_get_estimate().
| cpl_image * cr2res_io_load_BPM | ( | const char * | filename, |
| int | detector, | ||
| int | data | ||
| ) |
Load an image from a BPM.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
| data | 1 for the data image, 0 for the error |
Definition at line 957 of file cr2res_io.c.
References cr2res_io_get_ext_idx().
Referenced by cr2res_bpm_set_and_correct_image().
| hdrl_imagelist * cr2res_io_load_DETLIN_COEFFS | ( | const char * | filename, |
| int | detector | ||
| ) |
Load the detlin coefficients.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 1034 of file cr2res_io.c.
References cr2res_io_load_image_list().
Referenced by cr2res_calib_image().
| cpl_bivector * cr2res_io_load_EMISSION_LINES | ( | const char * | filename | ) |
Load an EMISSION_LINES bivector.
| filename | The FITS file name |
Definition at line 903 of file cr2res_io.c.
Referenced by cr2res_wave_2d().
| cpl_table * cr2res_io_load_EXTRACT_1D | ( | const char * | filename, |
| int | detector | ||
| ) |
Load a table from a EXTRACT_1D.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 1296 of file cr2res_io.c.
References cr2res_load_table().
| hdrl_image * cr2res_io_load_image | ( | const char * | in, |
| int | detector | ||
| ) |
Load an hdrl image from a image file.
| fname | The input file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 704 of file cr2res_io.c.
References cr2res_io_get_ext_idx(), and hdrl_image_create().
Referenced by cr2res_io_load_MASTER_DARK(), cr2res_io_load_MASTER_FLAT(), cr2res_io_load_SLIT_MODEL(), and cr2res_qc_numsat().
| hdrl_imagelist * cr2res_io_load_image_list | ( | const char * | in, |
| int | detector | ||
| ) |
Load an hdrl image list from a cube file.
| fname | The input file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 754 of file cr2res_io.c.
References cr2res_io_get_ext_idx(), and hdrl_imagelist_create().
Referenced by cr2res_io_load_DETLIN_COEFFS().
| hdrl_imagelist * cr2res_io_load_image_list_from_set | ( | const cpl_frameset * | in, |
| int | detector | ||
| ) |
Load an hdrl image list from an images frameset.
| fset | The input frame set |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 808 of file cr2res_io.c.
References cr2res_io_get_ext_idx(), and hdrl_imagelist_create().
| hdrl_image * cr2res_io_load_MASTER_DARK | ( | const char * | filename, |
| int | detector | ||
| ) |
Load an image from a MASTER_DARK.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 990 of file cr2res_io.c.
References cr2res_io_load_image(), hdrl_image_delete(), hdrl_image_get_error(), hdrl_image_get_image(), and hdrl_image_reject_value().
Referenced by cr2res_calib_image().
| hdrl_image * cr2res_io_load_MASTER_FLAT | ( | const char * | filename, |
| int | detector | ||
| ) |
Load an hdrl image from a MASTER_FLAT.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 1066 of file cr2res_io.c.
References cr2res_io_load_image(), hdrl_image_delete(), hdrl_image_get_error(), hdrl_image_get_image(), and hdrl_image_reject_value().
Referenced by cr2res_calib_image().
| cpl_table * cr2res_io_load_SLIT_FUNC | ( | const char * | filename, |
| int | detector | ||
| ) |
Load a table from a SLIT_FUNC.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 1139 of file cr2res_io.c.
References cr2res_load_table().
| hdrl_image * cr2res_io_load_SLIT_MODEL | ( | const char * | filename, |
| int | detector | ||
| ) |
Load an hdrl image from a SLIT MODEL.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 1169 of file cr2res_io.c.
References cr2res_io_load_image(), hdrl_image_delete(), and hdrl_image_get_error().
| cpl_table * cr2res_io_load_TRACE_WAVE | ( | const char * | filename, |
| int | detector | ||
| ) |
Load a table from a TRACE_WAVE.
| filename | The FITS file name |
| detector | The wished detector (1 to CR2RES_NB_DETECTORS) |
Definition at line 1109 of file cr2res_io.c.
References cr2res_load_table().
| cr2res_decker * cr2res_io_read_decker_positions | ( | const cpl_frameset * | in | ) |
Get the decker positions from a frame set.
| set | Input frame set |
Definition at line 491 of file cr2res_io.c.
References cr2res_pfits_get_decker_position().
| cpl_vector * cr2res_io_read_dits | ( | const cpl_frameset * | in | ) |
Get the DITS from a frame set.
| set | Input frame set |
Definition at line 432 of file cr2res_io.c.
References cr2res_pfits_get_dit().
| cpl_vector * cr2res_io_read_ndits | ( | const cpl_frameset * | in | ) |
Get the NDITs from a frame set.
| set | Input frame set |
Definition at line 462 of file cr2res_io.c.
References cr2res_pfits_get_ndit().
| int cr2res_io_save_BPM | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_image ** | bpms, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a BPM.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| bpms | The BPMs (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1555 of file cr2res_io.c.
References hdrl_image_create(), and hdrl_image_delete().
| int cr2res_io_save_CALIBRATED | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_image ** | calib_collapsed, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a CALIBRATED frame.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| calib_collapsed | The data/error (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1608 of file cr2res_io.c.
| int cr2res_io_save_COMBINED | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_image ** | data, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a COMBINED.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| data | The data images to save (DATA and ERROR per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1854 of file cr2res_io.c.
| int cr2res_io_save_DETLIN_COEFFS | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_imagelist ** | coeffs, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a DETLIN COEFFS.
| filename | The file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| filename | The FITS file name |
| parlist | The recipe input parameters |
| coeffs | The detlin coefficients (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1523 of file cr2res_io.c.
| int cr2res_io_save_EMISSION_LINES | ( | const char * | filename, |
| cpl_table * | out_table, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_frameset * | set, | ||
| const char * | recipe, | ||
| const char * | setting_string | ||
| ) |
Save EMISSION_LINES file.
| filename | The file name |
| table | The table to save |
| parlist | The recipe input parameters |
| set | The recipe input frames |
| recipe | The recipe name |
| setting_string | NULL or Y22, H14,... |
Definition at line 1435 of file cr2res_io.c.
References cr2res_mjd_obs_now().
| int cr2res_io_save_EXTRACT_1D | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_table ** | tables, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a 1D extracted spectrum.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| tables | The tables to save (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1732 of file cr2res_io.c.
| int cr2res_io_save_EXTRACT_2D | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_table ** | tables, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a 2D extracted spectrum.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| tables | The tables to save (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 2009 of file cr2res_io.c.
| int cr2res_io_save_LINES_DIAGNOSTICS | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_table ** | tables, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a LINES_DIAGNOSTICS.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| tables | The tables to save (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1701 of file cr2res_io.c.
| int cr2res_io_save_MASTER_DARK | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_image ** | master_darks, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a MASTER_DARK.
| filename | The file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| filename | The FITS file name |
| parlist | The recipe input parameters |
| master_darks | The data/error master darks (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1491 of file cr2res_io.c.
| int cr2res_io_save_MASTER_FLAT | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_image ** | master_flats, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a MASTER_FLAT.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| master_flats | The data/error FLATs (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1639 of file cr2res_io.c.
| int cr2res_io_save_PHOTO_FLUX | ( | const char * | filename, |
| cpl_table * | out_table, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_frameset * | set, | ||
| const char * | recipe | ||
| ) |
Save PHOTO_FLUX file.
| filename | The file name |
| table | The table to save |
| parlist | The recipe input parameters |
| set | The recipe input frames |
| recipe | The recipe name |
Definition at line 1389 of file cr2res_io.c.
References cr2res_mjd_obs_now().
| int cr2res_io_save_POL_SPEC | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_table ** | tables, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a Polarimetry spectrum.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| tables | The tables to save (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 2039 of file cr2res_io.c.
| int cr2res_io_save_SLIT_CURV_MAP | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_image ** | data, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a SLIT_CURV_MAP.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| data | The data images to save (DATA and ERROR per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1947 of file cr2res_io.c.
| int cr2res_io_save_SLIT_FUNC | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_table ** | slit_func, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a SLIT_FUNC.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| data | The tables to save (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1792 of file cr2res_io.c.
| int cr2res_io_save_SLIT_MODEL | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_image ** | data, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a SLIT_MODEL.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| data | The data images to save (DATA and ERROR per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1823 of file cr2res_io.c.
| int cr2res_io_save_SPLICED_1D | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_table * | spliced_1d, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist * | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a SPLICED_1D.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| spliced_1d | The table to save |
| qc_list | The QC parameters |
| ext_plist | The extension property list |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1978 of file cr2res_io.c.
| int cr2res_io_save_THROUGHPUT | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_table ** | tables, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a THROUGHPUT table.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| tables | The tables to save (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1762 of file cr2res_io.c.
| int cr2res_io_save_TRACE_MAP | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_image ** | data, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a TRACE_MAP.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| data | The data images to save (DATA and ERROR per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1885 of file cr2res_io.c.
| int cr2res_io_save_TRACE_WAVE | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| cpl_table ** | tables, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a TRACE_WAVE.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| tables | The tables to save (1 per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1670 of file cr2res_io.c.
| int cr2res_io_save_WAVE_MAP | ( | const char * | filename, |
| cpl_frameset * | allframes, | ||
| cpl_frameset * | inframes, | ||
| const cpl_parameterlist * | parlist, | ||
| hdrl_image ** | data, | ||
| const cpl_propertylist * | qc_list, | ||
| cpl_propertylist ** | ext_plist, | ||
| const char * | procatg, | ||
| const char * | recipe | ||
| ) |
Save a WAVE_MAP.
| filename | The FITS file name |
| allframes | The recipe input frames |
| inframes | The recipe used input frames |
| parlist | The recipe input parameters |
| data | The data images to save (DATA and ERROR per detector) |
| qc_list | The QC parameters |
| ext_plist | The extensions property lists |
| procatg | The PRO CATG value |
| recipe | The recipe name |
Definition at line 1916 of file cr2res_io.c.
| cpl_table * cr2res_load_table | ( | const char * | in, |
| int | det_nr, | ||
| int | pmin, | ||
| int | pmax | ||
| ) |
Load the table accordingly.
| in | the input file |
| det_nr | the detector number |
| pmin | the first pixel to load (-1 if all) |
| pmax | the last pixel to load (-1 if all) |
Definition at line 862 of file cr2res_io.c.
Referenced by cr2res_io_load_EXTRACT_1D(), cr2res_io_load_SLIT_FUNC(), and cr2res_io_load_TRACE_WAVE().