488648668508037f84a6ac91017ba2daca223d54,src/biotite/structure/transform.py,,rotate,#Any#Any#,43
Before Change
transformed.coord = np.dot(transformed.coord, rot_y)
transformed.coord = np.dot(transformed.coord, rot_z)
if transformed.box is not None:
transformed.box = np.dot(transformed.box, rot_x)
transformed.box = np.dot(transformed.box, rot_y)
transformed.box = np.dot(transformed.box, rot_z)
return transformed
def rotate_centered(atoms, angles):
After Change
// positions.box = np.dot(positions.box, rot_y)
// positions.box = np.dot(positions.box, rot_z)
return _put_back(atoms, positions)
def rotate_centered(atoms, angles):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: biotite-dev/biotite
Commit Name: 488648668508037f84a6ac91017ba2daca223d54
Time: 2019-11-26
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/transform.py
Class Name:
Method Name: rotate
Project Name: biotite-dev/biotite
Commit Name: 488648668508037f84a6ac91017ba2daca223d54
Time: 2019-11-26
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/transform.py
Class Name:
Method Name: align_vectors
Project Name: biotite-dev/biotite
Commit Name: 488648668508037f84a6ac91017ba2daca223d54
Time: 2019-11-26
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/transform.py
Class Name:
Method Name: translate
Project Name: biotite-dev/biotite
Commit Name: 488648668508037f84a6ac91017ba2daca223d54
Time: 2019-11-26
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/transform.py
Class Name:
Method Name: rotate_about_axis