1#ifndef LSST_GAUSS2D_FIT_GSL_H
2#define LSST_GAUSS2D_FIT_GSL_H
4#ifdef LSST_GAUSS2D_FIT_HAS_GSL
6#include <unordered_map>
8#include <gsl/gsl_interp.h>
10#include "interpolation.h"
12namespace lsst::gauss2d::fit {
18static const std::unordered_map<InterpType, const gsl_interp_type*> GSLInterpTypes{
19 {InterpType::linear, gsl_interp_linear},
20 {InterpType::polynomial, gsl_interp_polynomial},
21 {InterpType::cspline, gsl_interp_cspline},
22 {InterpType::akima, gsl_interp_akima}};