22 #ifndef MUSE_POSTPROC_H 23 #define MUSE_POSTPROC_H 30 #include "muse_flux.h" 32 #include "muse_lsf_params.h" 33 #include "muse_pixtable.h" 34 #include "muse_processing.h" 35 #include "muse_resampling.h" 36 #include "muse_rvcorrect.h" 38 #include "muse_table.h" 40 #include "muse_xcombine.h" 59 MUSE_POSTPROC_SCIPOST = 0,
60 MUSE_POSTPROC_STANDARD,
61 MUSE_POSTPROC_ASTROMETRY
70 MUSE_POSTPROC_SKYMETHOD_NONE = 0,
71 MUSE_POSTPROC_SKYMETHOD_MODEL,
72 MUSE_POSTPROC_SKYMETHOD_SIMPLE
81 MUSE_POSTPROC_DARCHECK_NONE = 0,
82 MUSE_POSTPROC_DARCHECK_CHECK,
83 MUSE_POSTPROC_DARCHECK_CORRECT
107 #ifdef USE_LSF_PARAMS
Structure definition of a MUSE datacube.
muse_rvcorrect_type rvtype
cpl_propertylist * muse_postproc_cube_load_output_wcs(muse_processing *)
Find a file with a usable output WCS in the input frameset.
muse_postproc_properties * muse_postproc_properties_new(muse_postproc_type)
Create a post-processing properties object.
muse_flux_selection_type select
muse_postproc_skymethod
Method of sky subtraction to apply.
muse_flux_smooth_type
Type of response curve smoothing to use.
muse_wcs_centroid_type centroid
muse_xcombine_types muse_postproc_get_weight_type(const char *)
Select correct weighting type for weight string.
cpl_error_code muse_postproc_revert_ffspec_maybe(muse_pixtable *, const muse_table *)
Revert correction of on-sky data with the flat-field spectrum.
muse_flux_profile_type
Type of optimal profile to use.
muse_resampling_crstats_type muse_postproc_get_cr_type(const char *)
Select correct cosmic ray rejection type for crtype string.
Data cube/stacked image list containing the LSF for one IFU.
cpl_error_code muse_postproc_qc_fwhm(muse_processing *, muse_datacube *)
Compute QC1 parameters for datacubes and save them in the FITS header.
void * muse_postproc_process_exposure(muse_postproc_properties *, unsigned int, muse_postproc_sky_outputs *)
Merge and process pixel tables from one exposure.
cpl_error_code muse_postproc_cube_resample_and_collapse(muse_processing *, muse_pixtable *, muse_cube_type, muse_resampling_params *, const char *)
High level function to resample to a datacube and collapse that to an image of the field of view and ...
muse_flux_profile_type profile
muse_postproc_skymethod skymethod
muse_lsf_params ** lsf_params
muse_wcs_centroid_type
Type of centroiding algorithm to use.
Structure definition of MUSE pixel table.
muse_cube_type muse_postproc_get_cube_format(const char *)
Select correct cube format for format string.
cpl_boolean muse_postproc_check_save_param(const char *, const char *)
Check the –save parameter contents against allowed options.
muse_resampling_crstats_type
Cosmic ray rejection statistics type.
muse_flux_smooth_type smooth
Structure definition of the post-processing properties.
Structure to define the major settable sky parameters.
void muse_postproc_properties_delete(muse_postproc_properties *)
Free memory taken by a post-processing properties object and all its components.
cpl_table * muse_postproc_load_nearest(const cpl_propertylist *, const cpl_frame *, float, float, double *, double *)
Load the calibration from a multi-table FITS file that is nearest on the sky.
Structure to store a table together with a property list.
muse_postproc_darcheck
Method of DAR checking/correction to do.
muse_lsf_cube ** lsf_cube
muse_postproc_type
Type of per-exposure processing to run.
muse_resampling_type muse_postproc_get_resampling_type(const char *)
Select correct resampling type for resample string.
Handling of "mask" files.
muse_resampling_type
Resampling types.
Structure definition of the post-processing output sky data.
muse_sky_params skymodel_params
Structure definition of detector (slice) parameters.
cpl_table * sky_continuum
muse_postproc_darcheck darcheck
muse_xcombine_types
Xposure combination types.
muse_flux_selection_type
Type of star selection to use.