22 #ifndef MUSE_POSTPROC_H 23 #define MUSE_POSTPROC_H 30 #include "muse_autocalib.h" 31 #include "muse_flux.h" 33 #include "muse_lsf_params.h" 34 #include "muse_pixtable.h" 35 #include "muse_processing.h" 36 #include "muse_resampling.h" 37 #include "muse_rvcorrect.h" 39 #include "muse_table.h" 41 #include "muse_xcombine.h" 60 MUSE_POSTPROC_SCIPOST = 0,
61 MUSE_POSTPROC_STANDARD,
62 MUSE_POSTPROC_ASTROMETRY
71 MUSE_POSTPROC_SKYMETHOD_NONE = 0,
72 MUSE_POSTPROC_SKYMETHOD_MODEL,
73 MUSE_POSTPROC_SKYMETHOD_SIMPLE
82 MUSE_POSTPROC_DARCHECK_NONE = 0,
83 MUSE_POSTPROC_DARCHECK_CHECK,
84 MUSE_POSTPROC_DARCHECK_CORRECT
111 #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_autocalib_type autocalib
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
cpl_error_code muse_postproc_correct_raman(muse_pixtable *, muse_postproc_properties *, const cpl_table *, muse_datacube **)
Set up and run Raman-light removal.
void muse_postproc_offsets_scale(muse_pixtable *, const cpl_table *, const char *)
Apply spatial offsets and flux scale to a pixel table (of a single exposure)
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.
Structure definition of MUSE three extension FITS file.
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_image * muse_postproc_whitelight(muse_pixtable *, double)
Create a white-light image of the field of view.
muse_postproc_darcheck
Method of DAR checking/correction to do.
muse_lsf_cube ** lsf_cube
void * muse_postproc_process_exposure(muse_postproc_properties *, unsigned int, muse_postproc_autocal_outputs *, muse_datacube **, muse_postproc_sky_outputs *, const cpl_table *)
Merge and process pixel tables from one exposure.
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.
Structure definition of the post-processing output auto-calibration.
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.
muse_autocalib_type
Type of autocalibration to use (if any)