Fix saving lists of arrays with recent versions of numpy
[qpms.git] / oldtests / tmatrixgens.py
blobb5042db8ffd4b92ae330ae86a5bd895b51278f0a
1 from qpms import *
2 lMax = 3
3 spec = BaseSpec(lMax=lMax)
5 ω = 1.5*eV/
7 gensphere_arc = TMatrixGenerator.sphere_asarc(outside=EpsMu(2.3104,1), inside=lorentz_drude['Au'], r=50e-9)
8 np.diag(gensphere_arc(spec,ω)[...])