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
098c7442
Commit
098c7442
authored
Jul 30, 2019
by
Tobias WEBER
Browse files
transpose
parent
4eb888df
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/tascalc/cov.py
View file @
098c7442
...
@@ -499,7 +499,7 @@ if __name__ == "__main__":
...
@@ -499,7 +499,7 @@ if __name__ == "__main__":
# convert rlu to 1/A
# convert rlu to 1/A
if
len
(
B
)
!=
0
:
if
len
(
B
)
!=
0
:
Q
=
np
.
dot
(
Q
,
B
)
Q
=
np
.
dot
(
Q
,
np
.
transpose
(
B
)
)
if
avec
[
0
]
!=
None
and
avec
[
1
]
!=
None
and
avec
[
2
]
!=
None
and
bvec
[
0
]
!=
None
and
bvec
[
1
]
!=
None
and
bvec
[
2
]
!=
None
:
if
avec
[
0
]
!=
None
and
avec
[
1
]
!=
None
and
avec
[
2
]
!=
None
and
bvec
[
0
]
!=
None
and
bvec
[
1
]
!=
None
and
bvec
[
2
]
!=
None
:
Qpara
=
np
.
array
(
avec
)
Qpara
=
np
.
array
(
avec
)
...
...
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