i3assist.Transform¶
-
class
i3assist.Transform(transform_line)[source]¶ A single particle transform in new I3.
For more information refer to the subvolume tutorial document for I3.
Parameters: transformLine ( str) – A string with the transform data.Methods
__init__(transform_line)add_rotation(rotation[, inplace])Adds a rotation in addition to particles current orientation. add_shift([shift_x, shift_y, shift_z, inplace])Adjusts the particles defined center by an arbitrary vector. copy()Returns a copy of the transform. scale(scale_factor[, inplace])Scale the transform to handle binning. to_pos()Return the equivalent old I3 position. Attributes
class_numberintClass number that the particle belongs to.coordinateslistofintParticles integer coordinates in tomogram.rotationi3assist.RotationMatrixParticles rotation matrix to orient.scorefloatCorrelation score of particle alignment to reference.shiftslistoffloatParticle displacements from coordinates.subsetstrSubset identifier for particle.