Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mag-core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scientific Software
Takin
mag-core
Commits
13e1d6fc
Commit
13e1d6fc
authored
Nov 20, 2019
by
Tobias WEBER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanups
parent
eb97447e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
tools/tascalc/cov.py
tools/tascalc/cov.py
+11
-4
tools/tascalc/tas.py
tools/tascalc/tas.py
+0
-0
tools/tascalc/tst.py
tools/tascalc/tst.py
+1
-1
No files found.
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():
#
#
main
#
entry point
#
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
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