lsst.afw
21.0.0-7-g484459ba0+d6ece73efd
include
lsst
afw
image
ImageFitsReader.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_IMAGEFITSREADER_H
23
#define LSST_AFW_IMAGE_IMAGEFITSREADER_H
24
25
#include "
lsst/afw/image/ImageBaseFitsReader.h
"
26
#include "
lsst/afw/image/Image.h
"
27
28
namespace
lsst
{
namespace
afw {
namespace
image
{
29
39
class
ImageFitsReader
final :
public
ImageBaseFitsReader
{
40
public
:
41
42
using
ImageBaseFitsReader::ImageBaseFitsReader
;
43
57
template
<
typename
PixelT>
58
Image<PixelT>
read
(
lsst::geom::Box2I
const
&
bbox
=
lsst::geom::Box2I
(),
ImageOrigin
origin=
PARENT
,
59
bool
allowUnsafe=
false
);
60
61
};
62
63
}}}
// namespace lsst::afw::image
64
65
#endif // !LSST_AFW_IMAGE_IMAGEFITSREADER_H
lsst::afw::image
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
Definition:
imageAlgorithm.dox:1
lsst::afw::image::ImageFitsReader::read
Image< PixelT > read(lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool allowUnsafe=false)
Read the Image.
Definition:
ImageFitsReader.cc:27
lsst::afw::image::ImageBaseFitsReader::ImageBaseFitsReader
ImageBaseFitsReader(std::string const &fileName, int hdu=fits::DEFAULT_HDU)
Construct a FITS reader object.
Definition:
ImageBaseFitsReader.cc:27
Image.h
lsst::afw::image::ImageFitsReader
A FITS reader class for regular Images.
Definition:
ImageFitsReader.h:39
ImageBaseFitsReader.h
lsst::afw::image::ImageBaseFitsReader
Base class for image FITS readers.
Definition:
ImageBaseFitsReader.h:47
lsst
A base class for image defects.
lsst::geom::Box2I
lsst::afw::image::PARENT
@ PARENT
Definition:
ImageBase.h:94
lsst::afw::image::ImageOrigin
ImageOrigin
Definition:
ImageBase.h:94
lsst::afw::image::Image
A class to represent a 2-dimensional array of pixels.
Definition:
Image.h:58
bbox
AmpInfoBoxKey bbox
Definition:
Amplifier.cc:117
Generated on Thu Dec 17 2020 02:19:10 for lsst.afw by
1.8.18