LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Typedefs | Functions | Variables
Wcs.cc File Reference
#include <iostream>
#include <sstream>
#include <cmath>
#include <cstring>
#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
 < multiple inclusion guard macro
 
 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
lsst::afw::coord::Coord::Ptr 
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=0, int const y0=0)
 
geom::Point2I lsst::afw::image::detail::getImageXY0FromMetadata (std::string const &wcsName, lsst::daf::base::PropertySet *metadata)
 
int lsst::afw::image::detail::stripWcsKeywords (boost::shared_ptr< lsst::daf::base::PropertySet > const &metadata, boost::shared_ptr< Wcs const > const &wcs)
 

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 509 of file Wcs.cc.

Typedef Documentation

Definition at line 62 of file Wcs.cc.

Definition at line 61 of file Wcs.cc.

Definition at line 59 of file Wcs.cc.

Definition at line 58 of file Wcs.cc.

Definition at line 60 of file Wcs.cc.

Definition at line 63 of file Wcs.cc.

Variable Documentation

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

Definition at line 1037 of file Wcs.cc.

table::PointKey<double> crpix

Definition at line 1036 of file Wcs.cc.

table::PointKey<double> crval

Definition at line 1035 of file Wcs.cc.

table::Key<std::string> ctype1

Definition at line 1038 of file Wcs.cc.

table::Key<std::string> ctype2

Definition at line 1039 of file Wcs.cc.

table::Key<std::string> cunit1

Definition at line 1042 of file Wcs.cc.

table::Key<std::string> cunit2

Definition at line 1043 of file Wcs.cc.

table::Key<double> equinox

Definition at line 1040 of file Wcs.cc.

const int fitsToLsstPixels = -1

Definition at line 80 of file Wcs.cc.

const int lsstToFitsPixels = +1

Definition at line 79 of file Wcs.cc.

table::Key<std::string> radesys

Definition at line 1041 of file Wcs.cc.

table::Schema schema

Definition at line 1034 of file Wcs.cc.

const int STRLEN = 72

Definition at line 66 of file Wcs.cc.