|
X-shooter Pipeline Reference Manual 3.8.15
|
Macros | |
| #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 |
Function ...
| #define USE_SPLINE |
Definition at line 65 of file xsh_calibrate_flux.c.
|
static |
Definition at line 115 of file xsh_calibrate_flux.c.
References AcceleratorAtmos, AcceleratorResp, SplineAtmos, and SplineResp.
Referenced by do_calib_spectrum().
|
static |
Definition at line 150 of file xsh_calibrate_flux.c.
References M_PI, and myfunc().
Referenced by xsh_calibrate_flux().
|
static |
Definition at line 176 of file xsh_calibrate_flux.c.
References AcceleratorAtmos, AcceleratorResp, check, clear_interpolate(), do_interpolation(), init_interpolate(), lambda_step, QFLAG_GOOD_PIXEL, xsh_atmos_ext_list::size, xsh_star_flux_list::size, SplineAtmos, SplineResp, xsh_atmos_ext_list_get_K(), xsh_atmos_ext_list_get_lambda(), xsh_msg, xsh_spectrum_duplicate(), xsh_spectrum_get_flux(), xsh_spectrum_get_lambda_min(), xsh_spectrum_get_lambda_step(), xsh_spectrum_get_qual(), xsh_spectrum_get_size_lambda(), xsh_spectrum_get_size_slit(), xsh_star_flux_list_get_flux(), and xsh_star_flux_list_get_lambda().
Referenced by xsh_calibrate_flux().
|
static |
Definition at line 105 of file xsh_calibrate_flux.c.
Referenced by do_calib_spectrum().
|
static |
Definition at line 83 of file xsh_calibrate_flux.c.
Referenced by do_calib_spectrum().
|
static |
| cpl_frame * xsh_calibrate_flux | ( | cpl_frame * | spectrum_frame, |
| cpl_frame * | respon_frame, | ||
| cpl_frame * | atmos_ext_frame, | ||
| const char * | fname, | ||
| xsh_instrument * | instrument | ||
| ) |
Definition at line 293 of file xsh_calibrate_flux.c.
References check, compute_Lx(), do_calib_spectrum(), xsh_spectrum::flux_header, xsh_star_flux_list::header, instrument, WIDTH_SLIT_IFU, XSH_ASSURE_NOT_NULL, xsh_atmos_ext_list_load(), xsh_instrument_get_mode(), XSH_MODE_IFU, xsh_msg, xsh_msg_warning, xsh_pfits_get_airm_end(), xsh_pfits_get_airm_start(), xsh_pfits_get_seeing_end(), xsh_pfits_get_seeing_start(), xsh_pfits_get_slit_width(), xsh_phys_spectrum_save(), xsh_spectrum_load(), and xsh_star_flux_list_load().
|
static |
Definition at line 80 of file xsh_calibrate_flux.c.
Referenced by clear_interpolate(), and do_calib_spectrum().
|
static |
Definition at line 80 of file xsh_calibrate_flux.c.
Referenced by clear_interpolate(), and do_calib_spectrum().
|
static |
Definition at line 81 of file xsh_calibrate_flux.c.
Referenced by clear_interpolate(), and do_calib_spectrum().
|
static |
Definition at line 81 of file xsh_calibrate_flux.c.
Referenced by clear_interpolate(), and do_calib_spectrum().