LSSTApplications
20.0.0
LSSTDataManagementBasePackage
stack
1a1d771
Linux64
jointcal
20.0.0
python
lsst
jointcal
jointcalControl.cc
Go to the documentation of this file.
1
// -*- LSST-C++ -*-
2
/*
3
* This file is part of jointcal.
4
*
5
* Developed for the LSST Data Management System.
6
* This product includes software developed by the LSST Project
7
* (https://www.lsst.org).
8
* See the COPYRIGHT file at the top-level directory of this distribution
9
* for details of code ownership.
10
*
11
* This program is free software: you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation, either version 3 of the License, or
14
* (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program. If not, see <https://www.gnu.org/licenses/>.
23
*/
24
25
#include "pybind11/pybind11.h"
26
27
#include "
lsst/jointcal/JointcalControl.h
"
28
#include "
lsst/pex/config/python.h
"
// for LSST_DECLARE_CONTROL_FIELD
29
30
namespace
py
=
pybind11
;
31
using namespace
pybind11::literals;
32
33
namespace
lsst
{
34
namespace
jointcal
{
35
namespace
{
36
37
void
declareJointcalControl(
py::module
&mod) {
38
py::class_<JointcalControl, std::shared_ptr<JointcalControl>>
cls
(mod,
"JointcalControl"
);
39
cls
.def(py::init<std::string>(),
"sourceFluxField"
_a =
"slot_CalibFlux"
);
40
41
LSST_DECLARE_CONTROL_FIELD
(
cls
, JointcalControl, sourceFluxField);
42
}
43
44
PYBIND11_MODULE
(jointcalControl, mod) { declareJointcalControl(mod); }
45
}
// namespace
46
}
// namespace jointcal
47
}
// namespace lsst
lsst::afw::geom.transform.transformContinued.cls
cls
Definition:
transformContinued.py:33
lsst::jointcal
Definition:
Associations.h:49
lsst
A base class for image defects.
Definition:
imageAlgorithm.dox:1
python.h
JointcalControl.h
LSST_DECLARE_CONTROL_FIELD
#define LSST_DECLARE_CONTROL_FIELD(WRAPPER, CLASS, NAME)
Macro used to wrap fields declared by LSST_CONTROL_FIELD using Pybind11.
Definition:
python.h:50
pybind11
Definition:
_GenericMap.cc:40
lsst::meas::modelfit.psf.psfContinued.module
module
Definition:
psfContinued.py:42
lsst::afw::cameraGeom::PYBIND11_MODULE
PYBIND11_MODULE(camera, mod)
Definition:
camera.cc:133
Generated on Wed Jun 24 2020 18:10:07 for LSSTApplications by
1.8.18