Loading [MathJax]/extensions/tex2jax.js
LSSTApplications
20.0.0
LSSTDataManagementBasePackage
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
i
k
m
p
r
s
t
v
w
Enumerations
Enumerator
e
f
h
i
l
m
n
o
p
r
s
t
v
x
y
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
i
k
l
m
p
s
t
v
w
Enumerator
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
Related Functions
a
b
c
d
e
f
i
k
m
o
p
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
d
l
p
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Macros
_
a
b
c
d
f
i
k
l
m
n
p
r
s
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
stack
1a1d771
Linux64
afw
20.0.0
python
lsst
afw
math
pixelAreaBoundedField.cc
Go to the documentation of this file.
1
/*
2
* This file is part of afw.
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
#include <pybind11/pybind11.h>
24
25
#include "
lsst/afw/math/PixelAreaBoundedField.h
"
26
27
namespace
py
=
pybind11
;
28
using namespace
py::literals;
29
30
namespace
lsst
{
31
namespace
afw
{
32
namespace
math {
33
namespace
{
34
35
using
PyClass
= py::class_<PixelAreaBoundedField, std::shared_ptr<PixelAreaBoundedField>, BoundedField>;
36
37
PYBIND11_MODULE
(pixelAreaBoundedField, mod) {
38
py::module::import(
"lsst.afw.geom.skyWcs"
);
39
PyClass
cls
(mod,
"PixelAreaBoundedField"
);
40
cls
.def(
41
py::init
<
lsst::geom::Box2I
const
&,
std::shared_ptr<afw::geom::SkyWcs const>
,
42
lsst::geom::AngleUnit
const
&,
double
>(),
43
"bbox"
_a,
"skyWcs"
_a,
"unit"
_a=
lsst::geom::radians
,
"scaling"
_a=1.0
44
);
45
// All other operations are wrapped by the BoundedField base class.
46
}
47
48
}
// namespace
49
}
// namespace math
50
}
// namespace afw
51
}
// namespace lsst
std::shared_ptr
STL class.
lsst::afw
Definition:
imageAlgorithm.dox:1
lsst::afw::geom.transform.transformContinued.cls
cls
Definition:
transformContinued.py:33
PixelAreaBoundedField.h
PyClass
py::class_< ProductBoundedField, std::shared_ptr< ProductBoundedField >, BoundedField > PyClass
Definition:
productBoundedField.cc:32
lsst
A base class for image defects.
Definition:
imageAlgorithm.dox:1
lsst::geom::AngleUnit
A class used to convert scalar POD types such as double to Angle.
Definition:
Angle.h:70
lsst::geom::Box2I
An integer coordinate rectangle.
Definition:
Box.h:55
lsst::geom::radians
constexpr AngleUnit radians
constant with units of radians
Definition:
Angle.h:108
pybind11
Definition:
_GenericMap.cc:40
lsst::utils.tests.init
def init()
Definition:
tests.py:58
lsst::afw::cameraGeom::PYBIND11_MODULE
PYBIND11_MODULE(camera, mod)
Definition:
camera.cc:133
Generated on Wed Jun 24 2020 18:10:02 for LSSTApplications by
1.8.18