Startup
This commit is contained in:
10
script/CPython/wrapper.py
Normal file
10
script/CPython/wrapper.py
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user