i3assist.Position¶
-
class
i3assist.Position(position_line)[source]¶ A single particle transform in old I3.
- The fields in the position are broken down as follows:
- Particle’s X coordinate in the tomogram not used in alignment
- Particle’s Y coordinate in the tomogram not used in alignment
- Particle’s Z coordinate in the tomogram not used in alignment
- Particle’s 4D index in the stack of particles
- Particle’s displacement (shift) along X from center of volume.
- Particle’s displacement (shift) along Y from center of volume.
- Particle’s displacement (shift) along Z from center of volume.
- First euler angle in degrees about Z axis in range [-180, 180].
- Second euler angle in degrees about X axis in range [0, 180].
- Third euler angle in degrees about Z axis in range [-180, 180].
- Class number the particle belongs to.
- Max correlation coefficient between the particle and reference
- Unknown reserved value.
Parameters: positionLine ( str) – A string with the transform data.Methods
__init__(position_line)copy()Returns a copy of the position. to_trf()Returns the equivalent new I3 transform. Attributes
class_numberintClass number that the particle belongs to.coordinateslistofintParticles integer coordinates in tomogram.rotationi3assist.EulerEuler angles rotating reference to particle.scorefloatCorrelation score of particle alignment to reference.shiftslistoffloatParticle displacements from box center.stack_indexintFourth dimension coordinate of particle in stack.