23 #ifndef MUSE_PROCESSING_H
24 #define MUSE_PROCESSING_H
27 #include "muse_image.h"
28 #include "muse_mask.h"
38 } muse_framecounter_s;
118 typedef cpl_error_code
119 muse_processing_prepare_header_func(
const char *, cpl_propertylist *);
121 typedef cpl_frame_level
122 muse_processing_get_frame_level_func(
const char *);
125 muse_processing_get_frame_mode_func(
const char *);
127 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.
muse_framecounter_s * framecounter
int muse_processing_save_mask(muse_processing *, int, muse_mask *, const char *)
Save a computed MUSE mask to disk.
Structure definition of MUSE three extension FITS file.
muse_mask * muse_processing_mask_load(muse_processing *, const char *)
Load a mask file and its FITS header.
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.
muse_processing * muse_processing_new(const char *recipeName, cpl_recipe *recipe)
Create a new processing structure.
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.
cpl_frameset * outputFrames
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.
int muse_processing_save_image(muse_processing *, int, muse_image *, const char *)
Save a computed MUSE image to disk.
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.
cpl_frameset * inputFrames
cpl_frameset * usedFrames
cpl_parameterlist * parameters
cpl_error_code muse_processing_prepare_property(cpl_propertylist *, const char *, cpl_type, const char *)
Prepare and check the specified property.