makeKernelBasisList

lsst.ip.diffim.makeKernelBasisList(config, targetFwhmPix=None, referenceFwhmPix=None, basisDegGauss=None, basisSigmaGauss=None, metadata=None)

Generate the delta function or Alard-Lupton kernel bases depending on the Config. Wrapper to call either lsst.ip.diffim.makeDeltaFunctionBasisList or lsst.ip.diffim.generateAlardLuptonBasisList.

Parameters:
config : lsst.ip.diffim.PsfMatchConfigAL

Configuration object.

targetFwhmPix : float, optional

Passed on to lsst.ip.diffim.generateAlardLuptonBasisList. Not used for delta function basis sets.

referenceFwhmPix : float, optional

Passed on to lsst.ip.diffim.generateAlardLuptonBasisList. Not used for delta function basis sets.

basisDegGauss : list of int, optional

Passed on to lsst.ip.diffim.generateAlardLuptonBasisList. Not used for delta function basis sets.

basisSigmaGauss : list of int, optional

Passed on to lsst.ip.diffim.generateAlardLuptonBasisList. Not used for delta function basis sets.

metadata : lsst.daf.base.PropertySet, optional

Passed on to lsst.ip.diffim.generateAlardLuptonBasisList. Not used for delta function basis sets.

Returns:
basisList: list of lsst.afw.math.kernel.FixedKernel

List of basis kernels.

Raises:
ValueError

If config.kernelBasisSet has an invalid value (not “alard-lupton” or “delta-function”).

Notes

See lsst.ip.diffim.generateAlardLuptonBasisList and lsst.ip.diffim.makeDeltaFunctionBasisList for more information.