LSSTApplications  11.0-22-g33de520,13.0+153,14.0+52,14.0+57,14.0-1-g013352c+36,14.0-1-g13ef843+9,14.0-1-g4b114ac+14,14.0-1-g7257b6a+12,14.0-1-g8b7e855+51,14.0-13-g7a60b79+2,14.0-14-g87d16e8+10,14.0-14-gbf7a6f8a,14.0-17-g4f4ea82+5,14.0-2-g319577b+11,14.0-2-ga5af9b6+10,14.0-22-gc48c03f+3,14.0-3-g20413be+3,14.0-46-g76222d5f+3,14.0-47-g0a51fac97,14.0-5-g744ff5f+2,14.0-5-g86eb1bd+31,14.0-6-gd5b81a9+6,14.0-6-ge2c9487+42,14.0-8-g7f6dd6b+6,14.0-8-gb81b6e9+4,14.0-9-g11010eb,14.0-9-g330837b+5
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Typedefs | Functions | Variables
Wcs.cc File Reference
#include <iostream>
#include <sstream>
#include <cmath>
#include <cstring>
#include <limits>
#include "boost/format.hpp"
#include "wcslib/wcs.h"
#include "wcslib/wcsfix.h"
#include "wcslib/wcshdr.h"
#include "lsst/daf/base.h"
#include "lsst/daf/base/Citizen.h"
#include "lsst/afw/formatters/Utils.h"
#include "lsst/afw/formatters/WcsFormatter.h"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/image/ImageUtils.h"
#include "lsst/afw/image/Wcs.h"
#include "lsst/afw/coord/Coord.h"
#include "lsst/afw/geom/Angle.h"
#include "lsst/afw/table/io/OutputArchive.h"
#include "lsst/afw/table/io/InputArchive.h"
#include "lsst/afw/table/io/CatalogVector.h"
#include "lsst/afw/table/aggregates.h"

Go to the source code of this file.

Classes

class  lsst::afw::image::WcsFactory
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst::afw::image
 
 lsst::afw::image::detail
 

Macros

#define CHECK_NULLS(a, b)
 

Typedefs

typedef lsst::daf::base::PropertySet PropertySet
 
typedef lsst::daf::base::PropertyList PropertyList
 
typedef lsst::afw::geom::Point2D GeomPoint
 
typedef std::shared_ptr< lsst::afw::coord::CoordCoordPtr
 

Functions

std::shared_ptr< lsst::daf::base::PropertyListlsst::afw::image::detail::createTrivialWcsAsPropertySet (std::string const &wcsName, int const x0, int const y0)
 
geom::Point2I lsst::afw::image::detail::getImageXY0FromMetadata (std::string const &wcsName, daf::base::PropertySet *metadata)
 
int lsst::afw::image::detail::stripWcsKeywords (std::shared_ptr< daf::base::PropertySet > const &metadata, std::shared_ptr< Wcs const > const &wcs)
 

Variables

const int STRLEN = 72
 
const int lsst::afw::image::lsstToFitsPixels = +1
 
const int lsst::afw::image::fitsToLsstPixels = -1
 

Macro Definition Documentation

◆ CHECK_NULLS

#define CHECK_NULLS (   a,
  b 
)
Value:
do { \
if ((a) == NULL) { \
if ((b) == NULL) return true; \
return false; \
} \
if ((b) == NULL) return false; \
} while (false)
table::Key< int > b
table::Key< int > a

Definition at line 493 of file Wcs.cc.

Typedef Documentation

◆ CoordPtr

Definition at line 58 of file Wcs.cc.

◆ GeomPoint

Definition at line 57 of file Wcs.cc.

◆ PropertyList

Definition at line 56 of file Wcs.cc.

◆ PropertySet

Definition at line 55 of file Wcs.cc.

Variable Documentation

◆ cd

table::Key<table::Array<double> > cd

Definition at line 936 of file Wcs.cc.

◆ crpix

table::PointKey<double> crpix

Definition at line 935 of file Wcs.cc.

◆ crval

table::PointKey<double> crval

Definition at line 934 of file Wcs.cc.

◆ ctype1

table::Key<std::string> ctype1

Definition at line 937 of file Wcs.cc.

◆ ctype2

table::Key<std::string> ctype2

Definition at line 938 of file Wcs.cc.

◆ cunit1

table::Key<std::string> cunit1

Definition at line 941 of file Wcs.cc.

◆ cunit2

table::Key<std::string> cunit2

Definition at line 942 of file Wcs.cc.

◆ equinox

table::Key<double> equinox

Definition at line 939 of file Wcs.cc.

◆ radesys

table::Key<std::string> radesys

Definition at line 940 of file Wcs.cc.

◆ schema

table::Schema schema

Definition at line 933 of file Wcs.cc.

◆ STRLEN

const int STRLEN = 72

Definition at line 61 of file Wcs.cc.