import fourier as fo
f_tsrow = fo.files()['f_tsrow']
f_coef = fo.files()['f_coef']
f_corr = fo.files()['f_corr']
f_xml = fo.files()['f_xml']
ll_tsrow = fo.import_double(f_tsrow)
len(ll_tsrow)
len(ll_tsrow[1])
len(ll_tsrow[2))
len(ll_tsrow[2])
len(ll_tsrow[0])
ll_tsrow[0][:5]
ll_res = fo.multi_fE(ll_tsrow)
n_harm = 14
l_fut = fo.best_fE(ll_tsrow, n_harm)
ll_xml = fo.gen_xml_list(l_fut, '27.7.2020')
fo.gen_xml_file(ll_xml, f_xml)
%hist -f sess_02_07.26.2020.txt
