#include <math.h>
#include <xsh_drl.h>
#include <xsh_data_rec.h>
#include <xsh_data_localization.h>
#include <xsh_data_pre.h>
#include <xsh_data_order.h>
#include <xsh_dfs.h>
#include <xsh_pfits.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_fit.h>
#include <xsh_ifu_defs.h>
#include <xsh_data_slice_offset.h>
#include <xsh_data_atmos_ext.h>
#include <cpl.h>
#include <xsh_utils.h>
#include <gsl/gsl_integration.h>
#include <xsh_data_star_flux.h>
#include <xsh_data_spectrum.h>
#include <gsl/gsl_spline.h>
Go to the source code of this file.
Defines | |
#define | USE_SPLINE |
Functions | |
static void | init_interpolate (double *x, double *yf, int nb, gsl_spline **spline, gsl_interp_accel **accel) |
static double | do_interpolation (double x, gsl_spline *spline, gsl_interp_accel *accel) |
static void | clear_interpolate (void) |
static double | myfunc (double x, void *params) |
static double | compute_Lx (double slit_width, double seeing) |
static xsh_spectrum * | do_calib_spectrum (xsh_spectrum *spectrum_in, xsh_star_flux_list *response_list, xsh_atmos_ext_list *atmos_ext_list, double airmass_ratio, double Lx) |
cpl_frame * | xsh_calibrate_flux (cpl_frame *spectrum_frame, cpl_frame *respon_frame, cpl_frame *atmos_ext_frame, const char *fname, xsh_instrument *instrument) |
Variables | |
static gsl_interp_accel * | AcceleratorResp |
static gsl_interp_accel * | AcceleratorAtmos |
static gsl_spline * | SplineResp |
static gsl_spline * | SplineAtmos |