repo.or.cz
/
qpms.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix saving lists of arrays with recent versions of numpy
[qpms.git]
/
oldtests
/
tmatrixgens.py
blob
b5042db8ffd4b92ae330ae86a5bd895b51278f0a
1
from
qpms
import
*
2
lMax
=
3
3
spec
=
BaseSpec
(
lMax
=
lMax
)
4
5
ω
=
1.5
*
eV
/
ℏ
6
7
gensphere_arc
=
TMatrixGenerator
.
sphere_asarc
(
outside
=
EpsMu
(
2.3104
,
1
),
inside
=
lorentz_drude
[
'Au'
],
r
=
50e-9
)
8
np
.
diag
(
gensphere_arc
(
spec
,
ω
)[...])
9