lsst.afw  13.0-110-ge674a0930
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::Coord > CoordPtr
 

Functions

std::shared_ptr< lsst::daf::base::PropertyList > lsst::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)

Definition at line 488 of file Wcs.cc.

Typedef Documentation

◆ CoordPtr

typedef std::shared_ptr<lsst::afw::coord::Coord> CoordPtr

Definition at line 58 of file Wcs.cc.

◆ GeomPoint

Definition at line 57 of file Wcs.cc.

◆ PropertyList

typedef lsst::daf::base::PropertyList PropertyList

Definition at line 56 of file Wcs.cc.

◆ PropertySet

typedef lsst::daf::base::PropertySet PropertySet

Definition at line 55 of file Wcs.cc.

Variable Documentation

◆ cd

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

Definition at line 931 of file Wcs.cc.

◆ crpix

table::PointKey<double> crpix

Definition at line 930 of file Wcs.cc.

◆ crval

table::PointKey<double> crval

Definition at line 929 of file Wcs.cc.

◆ ctype1

table::Key<std::string> ctype1

Definition at line 932 of file Wcs.cc.

◆ ctype2

table::Key<std::string> ctype2

Definition at line 933 of file Wcs.cc.

◆ cunit1

table::Key<std::string> cunit1

Definition at line 936 of file Wcs.cc.

◆ cunit2

table::Key<std::string> cunit2

Definition at line 937 of file Wcs.cc.

◆ equinox

table::Key<double> equinox

Definition at line 934 of file Wcs.cc.

◆ radesys

table::Key<std::string> radesys

Definition at line 935 of file Wcs.cc.

◆ schema

table::Schema schema

Definition at line 928 of file Wcs.cc.

◆ STRLEN

const int STRLEN = 72

Definition at line 61 of file Wcs.cc.