lsst.gauss2d.fit
g199a45376c+7362695278
Toggle main menu visibility
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
7
namespace
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
14
typedef
std::vector<std::shared_ptr<Component>> Components;
15
22
class
ComponentMixture
:
public
ParametricModel
{
23
public
:
24
virtual
Components get_components()
const
= 0;
25
};
26
27
}
// namespace lsst::gauss2d::fit
28
29
#endif
lsst::gauss2d::fit::ComponentMixture
A list of related Component instances.
Definition
componentmixture.h:22
lsst::gauss2d::fit::ParametricModel
Definition
parametricmodel.h:25
include
lsst
gauss2d
fit
componentmixture.h
Generated by
1.17.0