LSSTApplications  11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
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
 Remove all non-astronomical counts from the Chunk Exposure's pixels.
 
 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::image::Wcs Wcs
 
typedef lsst::afw::geom::Point2D GeomPoint
 
typedef boost::shared_ptr
< lsst::afw::coord::Coord
CoordPtr
 
typedef
lsst::afw::image::XYTransformFromWcsPair 
XYTransformFromWcsPair
 

Functions

boost::shared_ptr
< lsst::daf::base::PropertyList
lsst::afw::image::detail::createTrivialWcsAsPropertySet (std::string const &wcsName, int const x0, int const y0)
 Define a trivial WCS that maps the lower left corner (LLC) pixel of an image to a given value. More...
 
afwGeom::Point2I lsst::afw::image::detail::getImageXY0FromMetadata (std::string const &wcsName, lsst::daf::base::PropertySet *metadata)
 Return a Point2I(x0, y0) given a PropertySet containing a suitable WCS (e.g. More...
 
int lsst::afw::image::detail::stripWcsKeywords (boost::shared_ptr< lsst::daf::base::PropertySet > const &metadata, boost::shared_ptr< Wcs const > const &wcs)
 Strip keywords from the input metadata that are related to the generated Wcs. More...
 

Variables

const int STRLEN = 72
 
const int lsstToFitsPixels = +1
 
const int fitsToLsstPixels = -1
 

Macro Definition Documentation

#define CHECK_NULLS (   a,
  b 
)
Value:
do { \
if ((a) == NULL) { \
if ((b) == NULL) return true; \
return false; \
} \
if ((b) == NULL) return false; \
} while (false)
if(width!=gim.getWidth()||height!=gim.getHeight()||x0!=gim.getX0()||y0!=gim.getY0())
Definition: saturated.cc:47
afw::table::Key< double > b

Definition at line 523 of file Wcs.cc.

Typedef Documentation

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

Definition at line 63 of file Wcs.cc.

Definition at line 62 of file Wcs.cc.

Definition at line 60 of file Wcs.cc.

Definition at line 59 of file Wcs.cc.

Definition at line 61 of file Wcs.cc.

Definition at line 64 of file Wcs.cc.

Variable Documentation

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

Definition at line 1032 of file Wcs.cc.

table::PointKey<double> crpix

Definition at line 1031 of file Wcs.cc.

table::PointKey<double> crval

Definition at line 1030 of file Wcs.cc.

table::Key<std::string> ctype1

Definition at line 1033 of file Wcs.cc.

table::Key<std::string> ctype2

Definition at line 1034 of file Wcs.cc.

table::Key<std::string> cunit1

Definition at line 1037 of file Wcs.cc.

table::Key<std::string> cunit2

Definition at line 1038 of file Wcs.cc.

table::Key<double> equinox

Definition at line 1035 of file Wcs.cc.

const int fitsToLsstPixels = -1

Definition at line 81 of file Wcs.cc.

const int lsstToFitsPixels = +1

Definition at line 80 of file Wcs.cc.

table::Key<std::string> radesys

Definition at line 1036 of file Wcs.cc.

table::Schema schema

Definition at line 1029 of file Wcs.cc.

const int STRLEN = 72

Definition at line 67 of file Wcs.cc.