File FitsWriter.h¶
-
namespace
lsst
Class for a simple mapping implementing a generic AstrometryTransform.
Remove all non-astronomical counts from the Chunk Exposure’s pixels.
Forward declarations for lsst::utils::Cache
For details on the Cache class, see the Cache.h file.
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.
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
afw
-
namespace
table
-
namespace
io
-
class
FitsWriter
- #include <FitsWriter.h>
Writer object for FITS binary tables.
FitsWriter itself provides support for writing FITS binary tables from base containers. Derived record/base pairs should derive their own writer from FitsWriter and reimplement BaseTable::makeFitsWriter to return it. Subclasses will usually delegate most of the work back to FitsWriter.
Public Functions
-
template<typename
ContainerT
>
voidwrite
(ContainerT const &container) Write records in a container to disk.
The given container must have a getTable() member function that returns a shared_ptr to a table, and the iterators returned by begin() and end() must dereference to a type convertible to BaseRecord const &.
-
FitsWriter
(Fits *fits, int flags) Construct from a wrapped cfitsio pointer.
-
FitsWriter
(FitsWriter const&)
-
FitsWriter
(FitsWriter&&)
-
FitsWriter &
operator=
(FitsWriter const&)
-
FitsWriter &
operator=
(FitsWriter&&)
-
virtual
~FitsWriter
()
Public Static Functions
-
template<typename
OutputT
, typenameContainerT
>
static voidapply
(OutputT &output, std::string const &mode, ContainerT const &container, int flags) Driver for writing FITS files.
A container class will usually provide a member function that calls this driver, which opens the FITS file, calls makeFitsWriter on the container’s table, and then calls Writer::write on it.
-
template<typename
ContainerT
>
static voidapply
(Fits &fits, ContainerT const &container, int flags) Low-level driver for writing FITS files, operating on an open FITS file.
Protected Functions
Write a table and its schema.
-
virtual void
_writeRecord
(BaseRecord const &source) Write an individual record.
-
virtual void
_finish
() Finish writing a catalog.
-
template<typename
-
class
-
namespace
-
namespace