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
orlsst.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
ofint
, optional Passed on to
lsst.ip.diffim.generateAlardLuptonBasisList
. Not used for delta function basis sets.- basisSigmaGauss
list
ofint
, 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.
- config
- Returns:
- basisList:
list
oflsst.afw.math.kernel.FixedKernel
List of basis kernels.
- basisList:
- Raises:
- ValueError
If
config.kernelBasisSet
has an invalid value (not “alard-lupton” or “delta-function”).
Notes
See
lsst.ip.diffim.generateAlardLuptonBasisList
andlsst.ip.diffim.makeDeltaFunctionBasisList
for more information.