10 lines
439 B
Python
10 lines
439 B
Python
from jeputils import *
|
|
|
|
def hfitoff(data, xdeg):
|
|
ret = call_jep("CPython/hfitoff", "hfitoff", [to_npa(data),to_npa(xdeg)])
|
|
print ret
|
|
return (ret[0], ret[1], ret[2],ret[3], ret[4], ret[5].data,ret[6].data)
|
|
|
|
def gfitoff(x, y, off=None, amp=None, com=None, sigma=None):
|
|
ret = call_jep("CPython/gfitoff", "gfitoff", [to_npa(x), to_npa(y), off, amp, com, sigma])
|
|
return ret if ret is None or is_list(ret) else ret.data |