updated to scripts

This commit is contained in:
caes 2017-06-22 15:49:27 -04:00
parent 40542a5979
commit 79b6e13a90

View File

@ -77,7 +77,7 @@ Cx = clag.clag('cxd10r',
# a good starting point generally # a good starting point generally
p = np.concatenate( ((p1+p2)*0.5-0.3,p1*0+0.1) ) p = np.concatenate( ((p1+p2)*0.5-0.3,p1*0+0.1) )
p, pe = clag.optimize(Cx, p) p, pe = clag.optimize(Cx, p)
p, pe = clag.errors(Cx, p, pe) #p, pe = clag.errors(Cx, p, pe)
phi, phie = p[nfq:], pe[nfq:] phi, phie = p[nfq:], pe[nfq:]
lag, lage = phi/(2*np.pi*fqd), phie/(2*np.pi*fqd) lag, lage = phi/(2*np.pi*fqd), phie/(2*np.pi*fqd)