pwem.viewers.viewers_data module

class pwem.viewers.viewers_data.BasicMDViewer(**kwargs)[source]

Bases: DataViewer

Viewer to show sets in the metadataviewer to allow manual subsets when DataViewer shows it in a different way: e.g: Coordinates2D.

class pwem.viewers.viewers_data.DataViewer(**kwargs)[source]

Bases: Viewer

Wrapper to visualize different type of objects with the Xmipp program xmipp_showj

classmethod registerConfig(type, config=None)[source]

Allow registration of other objects :param type: Class to register –> SetOfXXX :param config: Optional, dictionary with the fields configuration, otherwise all fields will be shown.

Returns

Nothing

class pwem.viewers.viewers_data.RegistryViewerConfig[source]

Bases: object

config = {<class 'pwem.objects.data.SetOfPDBs'>: {'order': 'id _filename ', 'visible': 'id _filename ', 'mode': 'metadata', 'render': 'no'}, <class 'pwem.objects.data.SetOfParticles'>: {'order': 'id enabled _index _filename _xmipp_zScore _xmipp_cumulativeSSNR _sampling _xmipp_scoreByVariance _xmipp_scoreEmptiness _ctfModel._defocusU _ctfModel._defocusV _ctfModel._defocusAngle _transform._matrix', 'visible': 'id enabled _index _filename _xmipp_zScore _xmipp_cumulativeSSNR _sampling _xmipp_scoreByVariance _xmipp_scoreEmptiness _ctfModel._defocusU _ctfModel._defocusV _ctfModel._defocusAngle _transform._matrix', 'sortby': '_xmipp_zScore asc', 'render': '_filename'}, <class 'pwem.objects.data.SetOfVolumes'>: {'order': 'id enabled comment _filename ', 'visible': 'id enabled comment _filename ', 'sortby': '_xmipp_zScore asc', 'render': '_filename'}, <class 'pwem.objects.data.SetOfMovies'>: {'order': 'id _filename _samplingRate _acquisition._dosePerFrame _acquisition._doseInitial ', 'visible': 'id _filename _samplingRate _acquisition._dosePerFrame _acquisition._doseInitial ', 'mode': 'metadata', 'render': 'no'}, <class 'pwem.objects.data_tiltpairs.MicrographsTiltPair'>: {'order': 'id enabled _untilted._filename _tilted._filename', 'visible': 'id enabled _untilted._filename _tilted._filename', 'mode': 'metadata', 'render': '_untilted._filename _tilted._filename'}, <class 'pwem.objects.data_tiltpairs.ParticlesTiltPair'>: {'order': 'id enabled _untilted._filename _tilted._filename', 'visible': 'id enabled _untilted._filename _tilted._filename', 'mode': 'metadata', 'render': '_untilted._filename _tilted._filename'}, <class 'pwem.objects.data.SetOfClasses2D'>: {'order': 'enabled id _size _representative._filename _filename', 'visible': 'enabled id _size _representative._filename _filename', 'render': '_representative._filename', 'sortby': '_size desc', 'labels': 'id _size'}}
classmethod getConfig(type)[source]
classmethod registerConfig(type, config=None)[source]

Allow registration of other objects :param type: Class to register –> SetOfXXX :param config: Optional, dictionary with the fields configuration, otherwise all fields will be shown.

Returns

Nothing