Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BioHelpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Operate
Terraform modules
Monitor
Incidents
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christian Faber
BioHelpers
Commits
3a98db3c
Commit
3a98db3c
authored
7 months ago
by
Christian Faber
Browse files
Options
Downloads
Patches
Plain Diff
sign error
parent
bf7e672f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/BioHelpers_FABER.egg-info/PKG-INFO
+1
-1
1 addition, 1 deletion
src/BioHelpers_FABER.egg-info/PKG-INFO
src/BioHelpers_FABER/rmsd.py
+1
-1
1 addition, 1 deletion
src/BioHelpers_FABER/rmsd.py
with
2 additions
and
2 deletions
src/BioHelpers_FABER.egg-info/PKG-INFO
+
1
−
1
View file @
3a98db3c
Metadata-Version: 2.1
Name: BioHelpers-FABER
Version: 0.2.
9
Version: 0.2.
10
Summary: Small collection of useful scripts for the computational work with RNA Data.
Home-page: https://gitlab.jsc.fz-juelich.de/faber1/biohelpers
Author: Christian Faber
...
...
This diff is collapsed.
Click to expand it.
src/BioHelpers_FABER/rmsd.py
+
1
−
1
View file @
3a98db3c
...
...
@@ -118,7 +118,7 @@ def rmsd_from_rot_tran(
:rtype: float
"""
num_vec
=
x
.
shape
[
1
]
intermediate
=
np
.
matmul
(
rot
,
x
)
+
trans
[:,
np
.
newaxis
]
+
y
intermediate
=
np
.
matmul
(
rot
,
x
)
+
trans
[:,
np
.
newaxis
]
-
y
squared
=
np
.
trace
(
np
.
matmul
(
np
.
transpose
(
intermediate
),
intermediate
))
/
num_vec
return
np
.
sqrt
(
squared
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment