ajdmom.mdl_svij.cond2_mom.poly2num¶
- ajdmom.mdl_svij.cond2_mom.poly2num(poly, par)[source]¶
Decode poly back to scalar
- Parameters:
poly (Poly) – poly to be decoded with attribute
keyfor= (‘e^{kt}’,’t’,’k^{-}’,’beta_t’,’mu-theta/2’,’v0-theta’,’theta’,’sigma’, ‘l_{1:n}’, ‘o_{1:n}’, ‘p’, ‘sigma/2k’,’rho-sigma/2k’,’sqrt(1-rho^2)’, ‘lmbd_s’, ‘mu_s’, ‘sigma_s’)par (dict) – parameters in dict,
jumptime(tuple) andjumpsize(tuple) must also be included
- Returns:
scalar of the poly
- Return type: