LSST Applications 29.2.0,g04e9c324dd+8c5ae1fdc5,g123d84c11c+8c5ae1fdc5,g1567b3d500+b0659b51fd,g1fd858c14a+f0198063e6,g262e1987ae+ddad5971a2,g29a0cc5914+9941618539,g29ae962dfc+65771b1219,g2cef7863aa+aef1011c0b,g35bb328faa+8c5ae1fdc5,g3fd5ace14f+65596d926d,g47891489e3+f62ff855a3,g4d44eb3520+5e59dfe5df,g53246c7159+8c5ae1fdc5,g667e5db04e+cf951d6fc1,g67b6fd64d1+f62ff855a3,g67fd3c3899+c3deb07ab9,g74acd417e5+29806445f4,g786e29fd12+668abc6043,g87389fa792+8856018cbb,g89139ef638+f62ff855a3,g8d7436a09f+1e696a951a,g8ea07a8fe4+72e50bfcbe,g90f42f885a+232124b352,g97be763408+27a7069373,g9dd6db0277+c3deb07ab9,ga1e959baac+5fbc491aed,ga2a72113ab+fe106acc69,gabf8522325+f227d7ba3a,gac2eed3f23+f62ff855a3,gb89ab40317+f62ff855a3,gceab9eb81a+45f7d1ed17,gd14cc1c8cb+796e414499,gd8ff7fe66e+c3deb07ab9,gdab6d2f7ff+29806445f4,gdc713202bf+c3deb07ab9,ge410e46f29+f62ff855a3,geaed405ab2+2322f1d6ea,gffca2db377+8c5ae1fdc5
LSST Data Management Base Package
Loading...
Searching...
No Matches
pybind11.cc
Go to the documentation of this file.
1/*
2 * This file is part of gauss2dfit.
3 *
4 * Developed for the LSST Data Management System.
5 * This product includes software developed by the LSST Project
6 * (https://www.lsst.org).
7 * See the COPYRIGHT file at the top-level directory of this distribution
8 * for details of code ownership.
9 *
10 * This program is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program. If not, see <https://www.gnu.org/licenses/>.
22 */
23
24#include <pybind11/pybind11.h>
25
26#include "pybind11.h"
27
28#define STRINGIFY(x) #x
29#define MACRO_STRINGIFY(x) STRINGIFY(x)
30
31PYBIND11_MODULE(_gauss2d, m) {
32 m.doc() = "Gauss2D Python bindings";
35 bind_ellipse(m);
37 bind_image(m);
38 bind_object(m);
39#ifdef VERSION
40 m.attr("__version__") = MACRO_STRINGIFY(VERSION);
41#else
42 m.attr("__version__") = "dev";
43#endif
44}
#define MACRO_STRINGIFY(x)
Definition pybind11.cc:29
PYBIND11_MODULE(_gauss2d, m)
Definition pybind11.cc:31
void bind_ellipse(py::module &m)
Definition ellipse.cc:40
void bind_image(py::module &m)
Definition image.cc:42
void bind_object(py::module &m)
Definition object.cc:38
void bind_centroid(py::module &m)
Definition centroid.cc:40
void bind_coordinatesystem(py::module &m)
void bind_gaussian(py::module &m)
Definition gaussian.cc:42