lsst.gauss2d.fit g199a45376c+3b7b3fd841
 
Loading...
Searching...
No Matches
componentmixture.h
1#ifndef LSST_GAUSS2D_FIT_COMPONENTMIXTURE_H
2#define LSST_GAUSS2D_FIT_COMPONENTMIXTURE_H
3
4#include "component.h"
5#include "parametricmodel.h"
6
7namespace lsst::gauss2d::fit {
8
9// Would consider making this a unique_ptr but pybind11 prevents this:
10// e.g. https://github.com/pybind/pybind11/issues/1132
11// and https://github.com/pybind/pybind11/issues/1161
12// So the interface may as well support getting them
13
14typedef std::vector<std::shared_ptr<Component>> Components;
15
23public:
24 virtual Components get_components() const = 0;
25};
26
27} // namespace lsst::gauss2d::fit
28
29#endif
A list of related Component instances.
Definition componentmixture.h:22
Definition parametricmodel.h:25