LSSTApplications  20.0.0
LSSTDataManagementBasePackage
frameSetUtils.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
2 /*
3  * LSST Data Management System
4  * Copyright 2017 LSST Corporation.
5  *
6  * This product includes software developed by the
7  * LSST Project (http://www.lsst.org/).
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the LSST License Statement and
20  * the GNU General Public License along with this program. If not,
21  * see <http://www.lsstcorp.org/LegalNotices/>.
22  */
23 
24 #ifndef LSST_AFW_GEOM_FRAMESETUTILS_H
25 #define LSST_AFW_GEOM_FRAMESETUTILS_H
26 
27 #include <memory>
28 #include <vector>
29 
30 #include "astshim.h"
31 #include "ndarray.h"
32 
33 #include "lsst/afw/geom/Endpoint.h"
37 
38 namespace lsst {
39 namespace afw {
40 namespace geom {
41 namespace detail {
42 
64 
99 
109 
121  std::set<std::string> const& excludeNames = {},
122  std::string options = "");
123 
124 } // namespace detail
125 } // namespace geom
126 } // namespace afw
127 } // namespace lsst
128 
129 #endif
std::string
STL class.
std::shared_ptr
STL class.
lsst::afw
Definition: imageAlgorithm.dox:1
lsst::afw::geom::detail::getPropertyListFromFitsChan
std::shared_ptr< daf::base::PropertyList > getPropertyListFromFitsChan(ast::FitsChan &fitsChan)
Copy values from an AST FitsChan into a PropertyList.
Definition: frameSetUtils.cc:256
ast::FitsChan
A specialized form of Channel which reads and writes FITS header cards.
Definition: FitsChan.h:202
strip
bool strip
Definition: fits.cc:911
Endpoint.h
Transform.h
astshim.h
lsst::afw::geom::detail::getFitsChanFromPropertyList
ast::FitsChan getFitsChanFromPropertyList(daf::base::PropertySet &metadata, std::set< std::string > const &excludeNames={}, std::string options="")
Construct AST FitsChan from PropertyList.
Definition: frameSetUtils.cc:321
PropertyList.h
lsst::afw::geom::detail::readLsstSkyWcs
std::shared_ptr< ast::FrameDict > readLsstSkyWcs(daf::base::PropertySet &metadata, bool strip=true)
Read an LSST celestial WCS FrameDict from a FITS header.
Definition: frameSetUtils.cc:139
PropertySet.h
lsst::afw::geom::detail::readFitsWcs
std::shared_ptr< ast::FrameSet > readFitsWcs(daf::base::PropertySet &metadata, bool strip=true)
Read a FITS convention WCS FrameSet from FITS metadata.
Definition: frameSetUtils.cc:87
lsst
A base class for image defects.
Definition: imageAlgorithm.dox:1
lsst::geom
Definition: geomOperators.dox:4
lsst::daf::base::PropertySet
Class for storing generic metadata.
Definition: PropertySet.h:67
std::set
STL class.