pwem.protocols.protocol_classes_selector module

class pwem.protocols.protocol_classes_selector.ProtClassesSelector(**kwargs)[source]

Bases: EMProtocol

Extracts items from a SetOfClasses based on number of items assigned to the class

extractElements()[source]
pwem.protocols.protocol_classes_selector.createSetFromImages(classesSet, path)[source]

Creates a the corresponding set from the images of a set of classes

pwem.protocols.protocol_classes_selector.createSetFromRepresentative(classesSet, path)[source]

Creates a teh corresponding set from the representative of a set of classes