File library.h

Defines

RTLD_DEEPBIND
namespace lsst

Remove all non-astronomical counts from the Chunk Exposure’s pixels.

Class for a simple mapping implementing a generic AstrometryTransform.

It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.

Forward declarations for lsst::utils::Cache

For details on the Cache class, see the Cache.h file.

A base class for image defects

Numeric constants used by the Integrate.h integrator routines.

Compute Image Statistics

Note

Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.

Note

The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.

namespace base

Functions

std::string libraryExtension()

Return filename extension for libraries

Typically “.so” for Linux and “.dylib” for Mac.

std::string getLibraryFilename(std::string const &name)

Get filename for library

We’ll add the typical filename extension for the platform unless the user specifies a “.so” or “.dylib” extension.

bool canLoadLibrary(std::string const &libName)

Parameters
  • libName: Library name

Return whether we can load a library

The proper filename extension will be added to the library name unless one is specified.

template<typename T>
T *loadSymbol(std::string const &libName, std::string const &symName)

Parameters
  • libName: Library name (NOT including “.so” or “.dylib”)

  • symName: Symbol name

Load a symbol from a dynamic library

The proper filename extension will be added to the library name unless one is specified.

No mangling is performed on the symbol name.

class LibraryException : public runtime_error
#include <library.h>

Unable to load library.

Public Functions

LibraryException(std::string const &name)
LibraryException(std::string const &lib, std::string const &func)