25#ifndef LSST_AFW_MATH_KernelPersistenceHelper_h_INCLUDED
26#define LSST_AFW_MATH_KernelPersistenceHelper_h_INCLUDED
49 Kernel const& kernel)
const;
Kernels are used for convolution with MaskedImages and (eventually) Images.
Base class for all records.
A class used as a handle to a particular field in a table.
A FunctorKey used to get or set a lsst::geom::Point from an (x,y) pair of int or double Keys.
Defines the fields and offsets for a table.
An object passed to Persistable::write to allow it to persist itself.
A base class for image defects.
afw::table::PointKey< int > dimensions
afw::table::Key< afw::table::Array< int > > spatialFunctions
afw::table::Schema schema
void writeSpatialFunctions(afw::table::io::OutputArchiveHandle &handle, afw::table::BaseRecord &record, std::vector< SpatialFunctionPtr > const &spatialFunctionList) const
std::shared_ptr< afw::table::BaseRecord > write(afw::table::io::OutputArchiveHandle &handle, Kernel const &kernel) const
std::vector< SpatialFunctionPtr > readSpatialFunctions(afw::table::io::InputArchive const &archive, afw::table::BaseRecord const &record) const
afw::table::PointKey< int > center
PersistenceHelper(int nSpatialFunctions)