Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
mag-core
Commits
79d2591f
Commit
79d2591f
authored
Oct 22, 2018
by
Tobias WEBER
Browse files
a3 conventions
parent
95eb57c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/misc/tascalc.py
View file @
79d2591f
...
...
@@ -10,8 +10,13 @@ import numpy.linalg as la
use_scipy
=
False
#a3_offs = np.pi
a3_offs
=
0.
# -----------------------------------------------------------------------------
# choose an a3 convention
#a3_offs = 0.
#a3_offs = np.pi/2. # for takin
a3_offs
=
np
.
pi
# for nomad
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
...
...
@@ -205,9 +210,9 @@ if __name__ == "__main__":
# --------------------------------------------------------------------------
# measurement position and instrument configuration input
# --------------------------------------------------------------------------
Q_rlu
=
np
.
array
([
1
,
-
1
,
0
])
Q_rlu
=
np
.
array
([
1
,
-
2
,
0
])
E
=
0.5
kf
=
1.4
kf
=
2.662
dmono
=
3.355
dana
=
3.355
# --------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
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