pwem.objects.data_flexhub module

class pwem.objects.data_flexhub.AtomStructFlex(progName='', **kwargs)[source]

Bases: AtomStruct

AtomStruct with flexibility information stored

copyInfo(other)[source]
getFlexInfo()[source]
getSamplingRate()[source]
getZFlex()[source]
getZRed()[source]
setAlignment(sr)[source]
setFlexInfo(flexInfo)[source]
setLocation(*args)[source]

Set the image location, see getLocation. Params:

First argument can be:
  1. a tuple with (index, filename)

  2. a index, this implies a second argument with filename

  3. a filename, this implies index=NO_INDEX

setSamplingRate(sr)[source]
setZFlex(zFlex)[source]
setZRed(zRed)[source]
class pwem.objects.data_flexhub.ClassFlex(progName='', **kwargs)[source]

Bases: SetOfParticlesFlex

Class3D with flexibility information stored

REP_TYPE

alias of VolumeFlex

clone()[source]

Override the clone defined in Object to avoid copying _mapperPath property

close()[source]
copyInfo(other)[source]

Copy basic information (id and other properties) but not _mapperPath or _size from other set of micrographs to current one.

class pwem.objects.data_flexhub.ClassStructFlex(progName='', **kwargs)[source]

Bases: SetOfParticlesFlex

Class3D with flexibility information stored for structures

REP_TYPE

alias of AtomStructFlex

clone()[source]

Override the clone defined in Object to avoid copying _mapperPath property

close()[source]
copyInfo(other)[source]

Copy basic information (id and other properties) but not _mapperPath or _size from other set of micrographs to current one.

class pwem.objects.data_flexhub.FlexInfo(progName='', **kwargs)[source]

Bases: EMObject

Object storing any information needed by other protocols/plugins to work properly such us neural network paths, basis degrees…

copyInfo(other)[source]
getAttr(attrName)[source]
getProgName()[source]
setAttr(attrName, value)[source]
setProgName(progName)[source]
class pwem.objects.data_flexhub.ParticleFlex(progName='', **kwargs)[source]

Bases: Particle

Particle with flexibility information stored

Params:

Parameters

location – Could be a valid location: (index, filename)

or filename

copyInfo(other)[source]

Copy basic information

getFlexInfo()[source]
getZFlex()[source]
getZRed()[source]
setFlexInfo(flexInfo)[source]
setZFlex(zFlex)[source]
setZRed(zRed)[source]
class pwem.objects.data_flexhub.SetOfAtomStructFlex(progName='', **kwargs)[source]

Bases: SetOfAtomStructs

Set containing AtomStructFlex items.

EXPOSE_ITEMS = True
ITEM_TYPE

alias of AtomStructFlex

copyInfo(other)[source]

Define a dummy copyInfo function to be used for some generic operations on sets.

getFlexInfo()[source]
getSamplingRate()[source]
setAlignment(sr)[source]
setFlexInfo(flexInfo)[source]
setSamplingRate(sr)[source]
class pwem.objects.data_flexhub.SetOfClassesFlex(**kwargs)[source]

Bases: SetOfClasses

SetOfClasses3D with flexibility information stored

ITEM_TYPE

alias of ClassFlex

REP_SET_TYPE

alias of SetOfVolumesFlex

REP_TYPE

alias of VolumeFlex

class pwem.objects.data_flexhub.SetOfClassesStructFlex(**kwargs)[source]

Bases: SetOfClasses

SetOfClasses3D with flexibility information stored for structures

ITEM_TYPE

alias of ClassStructFlex

REP_SET_TYPE

alias of SetOfAtomStructFlex

REP_TYPE

alias of AtomStructFlex

class pwem.objects.data_flexhub.SetOfParticlesFlex(progName='', **kwargs)[source]

Bases: SetOfParticles

SetOfParticles with flexibility information stored

ITEM_TYPE

alias of ParticleFlex

copyInfo(other)[source]

Copy basic information (voltage, spherical aberration and sampling rate) from other set of micrographs to current one.

getFlexInfo()[source]
setFlexInfo(flexInfo)[source]
class pwem.objects.data_flexhub.SetOfVolumesFlex(progName='', **kwargs)[source]

Bases: SetOfImages

Represents a set of Volumes with flexibility information stored

EXPOSE_ITEMS = True
ITEM_TYPE

alias of VolumeFlex

REP_TYPE

alias of VolumeFlex

getFlexInfo()[source]
setFlexInfo(flexInfo)[source]
class pwem.objects.data_flexhub.VolumeFlex(progName='', **kwargs)[source]

Bases: Volume

Volume with flexibility information stored

Params:

Parameters

location – Could be a valid location: (index, filename)

or filename

copyInfo(other)[source]

Copy basic information

getFlexInfo()[source]
getZFlex()[source]
getZRed()[source]
setFlexInfo(flexInfo)[source]
setZFlex(zFlex)[source]
setZRed(zRed)[source]