pint.templates.lcprimitives.approx_gradient

pint.templates.lcprimitives.approx_gradient(func, phases, log10_ens=None, eps=1e-06)[source]

Return a numerical gradient for LCPrimitive and LCTemplate objects.

This is “dTemplate/dParam”.