Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
semicon
semicon
Commits
7f22cc0a
Commit
7f22cc0a
authored
Dec 11, 2019
by
Bas Nijholt
Browse files
do not use import *
parent
86bc0ac9
Changes
2
Hide whitespace changes
Inline
Side-by-side
semicon/kp_models/explicit_foreman.py
View file @
7f22cc0a
...
...
@@ -20,7 +20,28 @@ import sympy
import
sympy.physics
from
sympy.physics.quantum
import
TensorProduct
as
kr
from
.symbols
import
*
from
.symbols
import
(
Ac
,
Delta
,
E0
,
Ec
,
Ev
,
L
,
M
,
Nm
,
Np
,
P
,
g0
,
g1
,
g2
,
g3
,
hbar
,
kappa
,
kx
,
ky
,
kz
,
m0
,
)
# Helper function definitions
...
...
semicon/kp_models/explicit_zeeman.py
View file @
7f22cc0a
import
sympy
import
sympy.physics.matrices
from
.symbols
import
*
from
.symbols
import
(
Bx
,
By
,
Bz
,
Jx
,
Jy
,
Jz
,
Tx
,
Ty
,
Tz
,
g
,
kappa
,
mu_b
,
q
,
sigma_x
,
sigma_y
,
sigma_z
,
)
def
kill_complex
(
smp
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment