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
7c8aafe4
Commit
7c8aafe4
authored
Aug 05, 2018
by
Tobias WEBER
Browse files
minor addition: print scattering plane normal
parent
44ed61b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/misc/tascalc.py
View file @
7c8aafe4
...
...
@@ -222,6 +222,7 @@ if __name__ == "__main__":
np
.
set_printoptions
(
suppress
=
True
,
precision
=
4
)
print
(
"B [rlu -> 1/A] =
\n
"
+
str
(
B
))
print
(
"scattering plane normal = "
+
str
(
orient_up_rlu
/
la
.
norm
(
orient_up_rlu
))
+
" rlu"
)
print
(
"a1 = %.4f deg, a2 = %.4f deg, a3 = %.4f deg, a4 = %.4f deg, a5 = %.4f deg, a6 = %.4f deg"
\
%
(
a1
/
np
.
pi
*
180.
,
a2
/
np
.
pi
*
180.
,
a3
/
np
.
pi
*
180.
,
a4
/
np
.
pi
*
180.
,
a5
/
np
.
pi
*
180.
,
a6
/
np
.
pi
*
180.
))
# --------------------------------------------------------------------------
...
...
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