Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
mag-core
Commits
13e1d6fc
Commit
13e1d6fc
authored
Nov 20, 2019
by
Tobias WEBER
Browse files
cleanups
parent
eb97447e
Changes
3
Hide whitespace changes
Inline
Side-by-side
tools/tascalc/cov.py
View file @
13e1d6fc
...
...
@@ -7,7 +7,7 @@
#
import
os
import
tas
calc
as
tas
import
tas
try
:
import
numpy
as
np
...
...
@@ -370,10 +370,10 @@ def check_versions():
#
#
ma
in
#
entry po
in
t
#
if
__name__
==
"__main__"
:
print
(
"This is a covariance matrix calculator using neutron events,
written by T. Weber <tweber@ill.fr>, 30 March 2019.
\n
"
)
def
run_cov
()
:
print
(
"This is a covariance matrix calculator using neutron events,
\n\t
written by T. Weber <tweber@ill.fr>, 30 March 2019.
\n
"
)
check_versions
()
try
:
...
...
@@ -479,3 +479,10 @@ if __name__ == "__main__":
if
options
[
"plot_results"
]
or
outfile
!=
""
:
plot_ellipses
(
outfile
,
Q4
,
w
,
Qmean
,
calcedellis
)
#
# main
#
if
__name__
==
"__main__"
:
run_cov
()
tools/tascalc/tas
calc
.py
→
tools/tascalc/tas.py
View file @
13e1d6fc
File moved
tools/tascalc/tst.py
View file @
13e1d6fc
...
...
@@ -5,7 +5,7 @@
# @license see 'LICENSE' file
#
import
tas
calc
as
tas
import
tas
import
numpy
as
np
import
numpy.linalg
as
la
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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