pwem.objects.data_tiltpairs module

This modules contains data classes related to Random Conical Tilt workflow.

class pwem.objects.data_tiltpairs.Angles(**args)[source]

Bases: EMObject

Represents a triplet of angles

getAngles()[source]
setAngles(angleY, angleY2, angleTilt)[source]
class pwem.objects.data_tiltpairs.CoordinatesTiltPair(**kwargs)[source]

Bases: TiltPairSet

Represents a Coordinates Tilt Pair

ITEM_TYPE

alias of TiltPair

close()[source]
getAngles()[source]
getBoxSize()[source]
getFiles()[source]

Get all filePaths

getMicsPair()[source]
setAngles(setAngles)[source]
setMicsPair(micsPair)[source]
class pwem.objects.data_tiltpairs.MicrographsTiltPair(**kwargs)[source]

Bases: TiltPairSet

Represents a Micrographs Tilt Pair

ITEM_TYPE

alias of TiltPair

class pwem.objects.data_tiltpairs.ParticlesTiltPair(**kwargs)[source]

Bases: TiltPairSet

Represents a Particles Tilt Pair

ITEM_TYPE

alias of TiltPair

getCoordsPair()[source]
getFiles()[source]

Get all filePaths

setCoordsPair(coordsPair)[source]
class pwem.objects.data_tiltpairs.SetOfAngles(filename=None, prefix='', mapperClass=None, classesDict=None, **kwargs)[source]

Bases: EMSet

Represents a set of Images

ITEM_TYPE

alias of Angles

class pwem.objects.data_tiltpairs.TiltPair(untilted=None, tilted=None, **kwargs)[source]

Bases: EMObject

getTilted()[source]
getUntilted()[source]
setTilted(tilted)[source]
setUntilted(untilted)[source]
class pwem.objects.data_tiltpairs.TiltPairSet(**kwargs)[source]

Bases: EMSet

Base class for Tilt pairs sets.

ITEM_TYPE = None
close()[source]
getFiles()[source]

Get all filePaths

getTilted()[source]
getUntilted()[source]
setTilted(tilted)[source]
setUntilted(untilted)[source]
write(properties=True)[source]

Commit the changes made to the Set underlying database.

Parameters

properties – this flag controls when to write Set attributes to special table ‘Properties’ in the database. False value is use for example in SetOfClasses for not writing each Class2D properties.