ajdmom.mdl_srjd.cond2_mom.poly2num

ajdmom.mdl_srjd.cond2_mom.poly2num(poly, par)[source]

Decode poly back to scalar

Parameters:
  • poly (Poly) – poly to be decoded with attribute keyfor = (‘v_0’, ‘k^{-}’, ‘theta’, ‘sigma’, ‘e^{kt}’, ‘l_{1:n}’)

  • par (dict) – parameters in dict, jumptime and jumpsize must also be included

Returns:

scalar of the poly

Return type:

float