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
include
lsst
afw
image
MaskFitsReader.h
Go to the documentation of this file.
1
/*
2
* Developed for the LSST Data Management System.
3
* This product includes software developed by the LSST Project
4
* (https://www.lsst.org).
5
* See the COPYRIGHT file at the top-level directory of this distribution
6
* for details of code ownership.
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <https://www.gnu.org/licenses/>.
20
*/
21
22
#ifndef LSST_AFW_IMAGE_MASKFITSREADER_H
23
#define LSST_AFW_IMAGE_MASKFITSREADER_H
24
25
#include "
lsst/afw/image/ImageBaseFitsReader.h
"
26
#include "
lsst/afw/image/Mask.h
"
27
28
namespace
lsst
{
namespace
afw
{
namespace
image
{
29
39
class
MaskFitsReader
final :
public
ImageBaseFitsReader
{
40
public
:
41
42
using
ImageBaseFitsReader::ImageBaseFitsReader
;
43
59
template
<
typename
PixelT>
60
Mask<PixelT>
read
(
lsst::geom::Box2I
const
&
bbox
=
lsst::geom::Box2I
(),
ImageOrigin
origin=
PARENT
,
61
bool
conformMasks=
false
,
bool
allowUnsafe=
false
);
62
63
};
64
65
}}}
// namespace lsst::afw::image
66
67
#endif // !LSST_AFW_IMAGE_MASKFITSREADER_H
lsst::afw::image::MaskFitsReader
A FITS reader class for Masks.
Definition:
MaskFitsReader.h:39
lsst::afw::image
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
Definition:
imageAlgorithm.dox:1
lsst::afw::image::Mask
Represent a 2-dimensional array of bitmask pixels.
Definition:
Mask.h:77
lsst::afw
Definition:
imageAlgorithm.dox:1
lsst::afw::image::ImageBaseFitsReader::ImageBaseFitsReader
ImageBaseFitsReader(std::string const &fileName, int hdu=fits::DEFAULT_HDU)
Construct a FITS reader object.
Definition:
ImageBaseFitsReader.cc:27
ImageBaseFitsReader.h
lsst::afw::image::ImageBaseFitsReader
Base class for image FITS readers.
Definition:
ImageBaseFitsReader.h:47
lsst
A base class for image defects.
Definition:
imageAlgorithm.dox:1
Mask.h
lsst::geom::Box2I
An integer coordinate rectangle.
Definition:
Box.h:55
lsst::afw::image::PARENT
@ PARENT
Definition:
ImageBase.h:94
lsst::afw::image::ImageOrigin
ImageOrigin
Definition:
ImageBase.h:94
lsst::afw::image::MaskFitsReader::read
Mask< PixelT > read(lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool allowUnsafe=false)
Read the Mask.
Definition:
MaskFitsReader.cc:28
bbox
AmpInfoBoxKey bbox
Definition:
Amplifier.cc:117
Generated on Wed Jun 24 2020 18:10:00 for LSSTApplications by
1.8.18