23 #ifndef MUSE_PROCESSING_H 24 #define MUSE_PROCESSING_H 27 #include "muse_image.h" 28 #include "muse_mask.h" 29 #include "muse_table.h" 125 typedef cpl_error_code
126 muse_processing_prepare_header_func(
const char *, cpl_propertylist *);
128 typedef cpl_frame_level
129 muse_processing_get_frame_level_func(
const char *);
132 muse_processing_get_frame_mode_func(
const char *);
134 void muse_processinginfo_register(cpl_recipe *, cpl_recipeconfig *, muse_processing_prepare_header_func *, muse_processing_get_frame_level_func *, muse_processing_get_frame_mode_func *);
int muse_processing_save_cimage(muse_processing *, int, cpl_image *, cpl_propertylist *, const char *)
Save a computed FITS image to disk.
int muse_processing_get_frame_mode(const cpl_recipe *, const char *)
Get the mode for a product frame with a certain tag.
void muse_processing_delete(muse_processing *)
Free the muse_processing structure.
int muse_processing_save_mask(muse_processing *, int, muse_mask *, const char *)
Save a computed MUSE mask to disk.
muse_processing_framecounter * counter
Structure definition of MUSE three extension FITS file.
cpl_boolean muse_processing_check_intags(muse_processing *, const char *, int)
Check that a tag is part of the input tags of a processing structure.
cpl_frameset * usedframes
muse_processing * muse_processing_new(const char *, cpl_recipe *)
Create a new processing structure.
cpl_error_code muse_processing_prepare_header(const cpl_recipe *, const char *, cpl_propertylist *)
Prepare and check a FITS header for a certain frame tag.
cpl_error_code muse_processing_save_header(muse_processing *, int, cpl_propertylist *, const char *)
Save a FITS header to disk.
cpl_frame * muse_processing_new_frame(muse_processing *, int, cpl_propertylist *, const char *, cpl_frame_type)
Create a new frame for a result file.
cpl_error_code muse_processing_save_cube(muse_processing *, int, void *, const char *, muse_cube_type)
Save a MUSE datacube to disk.
cpl_frame_level muse_processing_get_frame_level(const cpl_recipe *, const char *)
Get the level for a product frame with a certain tag.
muse_table * muse_processing_load_table(muse_processing *, const char *, unsigned char)
Load a MUSE table according to its tag and IFU/channel number.
void muse_processinginfo_delete(cpl_recipe *)
Clear all information from the processing info and from the recipe config.
cpl_recipeconfig * muse_processing_get_recipeconfig(cpl_recipe *)
Get the recipe (frame) configuration.
void muse_processing_append_used(muse_processing *, cpl_frame *, cpl_frame_group, int)
Add a frame to the set of used frames.
Structure to store a table together with a property list.
muse_mask * muse_processing_load_mask(muse_processing *, const char *)
Load a mask file and its FITS header.
int muse_processing_save_image(muse_processing *, int, muse_image *, const char *)
Save a computed MUSE image to disk.
cpl_table * muse_processing_load_ctable(muse_processing *, const char *, unsigned char)
Load a CPL table according to its tag and IFU/channel number.
Handling of "mask" files.
cpl_error_code muse_processing_save_table(muse_processing *, int, void *, cpl_propertylist *, const char *, muse_table_type)
Save a computed table to disk.
cpl_error_code muse_processing_check_input(muse_processing *, unsigned char)
Check the input files for completeness.
void muse_processinginfo_register(cpl_recipe *, cpl_recipeconfig *, muse_processing_prepare_header_func *, muse_processing_get_frame_level_func *, muse_processing_get_frame_mode_func *)
Register extended functionalities for MUSE recipes.
cpl_table * muse_processing_sort_exposures(muse_processing *)
Sort input frames (containing lists of pixel table filenames) into different exposures.
void muse_processing_recipeinfo(cpl_plugin *)
Output main pipeline configuration, inputs, and parameters.
cpl_propertylist * muse_processing_load_header(muse_processing *, const char *)
load a header according to its tag
cpl_parameterlist * parameters
cpl_error_code muse_processing_prepare_property(cpl_propertylist *, const char *, cpl_type, const char *)
Prepare and check the specified property.