31 #include "muse_image.h"
32 #include "muse_pixtable.h"
33 #include "muse_resampling.h"
39 static const char kMuseFluxUnitString[] =
"10**(-20)*erg/s/cm**2/Angstrom";
40 static const char kMuseFluxStatString[] =
"(10**(-20)*erg/s/cm**2/Angstrom)**2";
41 static const double kMuseFluxUnitFactor = 1e20;
42 static const double kMuseFluxStatFactor = 1e40;
65 cpl_table *sensitivity;
Structure definition of a MUSE datacube.
muse_flux_profile_type
Type of optimal profile to use.
cpl_error_code muse_flux_reference_table_check(cpl_table *)
Check and/or adapt the standard flux reference table format.
const muse_cpltable_def muse_response_tellbands_def[]
Table definition for a telluric bands table.
Structure definition of MUSE three extension FITS file.
muse_flux_object * muse_flux_object_new(void)
Allocate memory for a new muse_flux_object object.
cpl_error_code muse_flux_get_telluric_table(muse_flux_object *)
Get the table of the telluric correction.
double muse_flux_response_interpolate(const cpl_table *, double, double *, muse_flux_interpolation_type)
Compute linearly interpolated response of some kind at given wavelength.
cpl_error_code muse_flux_get_response_table(muse_flux_object *)
Get the table of the standard star response function.
Structure definition of MUSE pixel table.
Flux object to store data needed while computing the flux calibration.
cpl_error_code muse_flux_calibrate(muse_pixtable *, const cpl_table *, const cpl_table *, const cpl_table *)
Convert the input pixel table from counts to fluxes.
muse_flux_interpolation_type
Type of table interpolation to use.
cpl_error_code muse_flux_integrate_std(muse_pixtable *, muse_flux_profile_type, muse_flux_object *)
Integrate the flux of the standard star(s) in the field over all wavelengths.
cpl_error_code muse_flux_response_compute(muse_flux_object *, double, const cpl_table *, const cpl_table *, const cpl_table *)
Compare measured flux distribution over wavelength with calibrated stellar fluxes and derive instrume...
Definition of a cpl table structure.
void muse_flux_object_delete(muse_flux_object *aFluxObj)
Deallocate memory associated to a muse_flux_object.