from jeputils import * 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