fix_motion¶
-
libra_py.fix_motion.
measure
(S0, S1)[source]¶ Compute the measure of the two systems’ dis-orientation It is zero if the two systems are ideally parallel to each other
- Parameters
S0 (System) – first system
S1 (System) – second system
- Returns
measure of two systems’ dis-orientation
- Return type
( double )
-
libra_py.fix_motion.
measure2
(S0, S1)[source]¶ Compute the measure of the two systems’ dis-orientation It is zero if the two systems are ideally parallel to each other
- Parameters
S0 (System) – first system
S1 (System) – second system
- Returns
measure of two systems’ dis-orientation
- Return type
( double )
-
libra_py.fix_motion.
permutation
(case)[source]¶ This function returns one of the 6 permutation matrices that describe possible orderings/directions of the 3 coordinate axes.
- Parameters
case (int) – selector of the permutation
- Returns
the matrix that encodes the permutation
- Return type
MATRIX3x3
-
libra_py.fix_motion.
permutation1
(case)[source]¶ This function returns one of the 6 permutation matrices that describe possible orderings/directions of the 3 coordinate axes.
- Parameters
case (int) – selector of the permutation
- Returns
the matrix that encodes the permutation
- Return type
MATRIX3x3
-
libra_py.fix_motion.
permutation2
(case)[source]¶ This function returns one of the 6 permutation matrices that describe possible orderings/directions of the 3 coordinate axes.
- Parameters
case (int) – selector of the permutation
- Returns
the matrix that encodes the permutation
- Return type
MATRIX3x3
-
libra_py.fix_motion.
process_xyz
(filename, PT, itime, ftime, verbose=0)[source]¶ This function will read xyz file to create the coordinates for a range of configurations and it will remove the translation of COM and rotation of the configuration.