In [11]:
%load_ext autoreload
%autoreload 2
%matplotlib inline
import sys
sys.path.append("..")
import splitwavepy as sw
import numpy as np
import matplotlib.pyplot as plt
In [36]:
a = sw.Trio(split=(30,1.2),ray=(30,45),delta=0.05)
a.plot()
print(a.rayvecs)
print(a.cmpvecs)
In [45]:
a.rotate2ray()
a.set_window(15,35,tukey=0.1)
a.plot()
print(a.rayvecs)
print(a.cmpvecs)
In [46]:
b = sw.Eig3dM(a)
In [47]:
b.plot()
In [61]:
plt.contourf(b.lags,b.degs,b.lam1/b.lam2)
Out[61]:
In [52]:
np.std(b.lam3)
Out[52]:
In [ ]: