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:
configlsst.ip.diffim.PsfMatchConfigAL

Configuration object.

targetFwhmPixfloat, optional

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

referenceFwhmPixfloat, optional

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

basisDegGausslist of int, optional

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

basisSigmaGausslist of int, optional

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

metadatalsst.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.