LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Namespaces | Macros
psfImpl.cc File Reference
#include "boost/format.hpp"
#include "lsst/pex/exceptions.h"
#include "lsst/meas/extensions/psfex/psf.hh"
#include "ndarray.h"

Go to the source code of this file.

Namespaces

 lsst
 A base class for image defects.
 
 lsst::meas
 
 lsst::meas::extensions
 
 lsst::meas::extensions::psfex
 

Macros

#define RETURN_IMAGE_FIELD(NAME, CNAME, SIZE)
 

Macro Definition Documentation

◆ RETURN_IMAGE_FIELD

#define RETURN_IMAGE_FIELD (   NAME,
  CNAME,
  SIZE 
)
Value:
ndarray::Array<float,2,2> \
NAME() const \
{ \
ndarray::Array<float,2,2>::Index shape = ndarray::makeVector(SIZE[0], SIZE[1]); \
ndarray::Array<float,2,2>::Index strides = ndarray::makeVector(1, SIZE[0]); \
\
return ndarray::external(impl->CNAME, shape, strides); \
}

Definition at line 8 of file psfImpl.cc.