29#include "moo_params.h"
30#include "moo_detector.h"
32#include "moo_molectable.h"
33#include "moo_telluric.h"
35#define MOO_DEBUG_MOLECFIT_MODEL 0
36#define MOO_DEBUG_MOLECFIT_CALCTRANS 0
38#define MOO_MOLECFIT__WAVE "WAVE"
45 const cpl_frame *molecules,
46 const cpl_frame *winclude,
47 moo_molectable **mt_atm_fitted,
48 moo_molectable **mt_best_fitted_model,
49 moo_molecfit_model_params *molecfit_model_params);
53 const cpl_frame *molecules,
55 const cpl_frame *best_fit,
56 const cpl_frame *kenrel_lib,
57 moo_molecfit_calctrans_params *params);
moo_telluric * moo_molecfit_calctrans(const cpl_frame *science, const char *modename, const cpl_frame *molecules, const cpl_frame *atm, const cpl_frame *best_fit, const cpl_frame *kenrel_lib, moo_molecfit_calctrans_params *params)
Apply the molcecfit calctrans to the RBN to compute telle telluric correction.
moo_molectable * moo_molecfit_model(const cpl_frame *sci, const char *modename, const cpl_frame *molecules, const cpl_frame *winclude, moo_molectable **mt_atm_fitted, moo_molectable **mt_best_fitted_model, moo_molecfit_model_params *molecfit_model_params)
Apply the relative flux calibration to 1D rebinned spectra.