ajdmom.mdl_1fsv.cmom.poly2num

ajdmom.mdl_1fsv.cmom.poly2num(poly, par)[source]

Decode poly back to scalar

Parameters:
  • poly (Poly) – poly to be decoded with attribute keyfor = (‘e^{-kh}’,’h’,’k^{-}’,’theta’,’sigma_v’,’rho’,’sqrt(1-rho^2)’).

  • par (dict) – parameters in dict.

Returns:

scalar of the poly.

Return type:

float