Files
dev/script/GaussFit_wrapper.py
2018-01-19 10:56:53 +01:00

7 lines
266 B
Python
Executable File

from jeputils import *
def profile_gauss_stats(x, y, off=None, amp=None, com=None, sigma=None):
ret = call_jep("cpython/GaussFit", "profile_gauss_stats", [to_npa(x), to_npa(y), off, amp, com, sigma])
return ret if ret is None or is_list(ret) else ret.data