deepfinder.objects module

class deepfinder.objects.Coordinate3DWithScore(**kwargs)[source]

Bases: tomo.objects.Coordinate3D

Extension of Coordinate3D adding a score attribute. Useful for automatic particle picking, where algorithms may attribute scores to hits.

getScore()[source]
setScore(x)[source]
class deepfinder.objects.DeepFinderNet(path=None, **kwargs)[source]

Bases: pwem.objects.data.EMObject

Simple class to store the neural network model for DeepFinder.

getNbOfClasses()[source]
getPath()[source]
setNbOfClasses(nclass)[source]
setPath(path)[source]
class deepfinder.objects.DeepFinderSegmentation(**kwargs)[source]

Bases: pwem.objects.data.Volume

Class for storing tomogram segmentation maps. A segmentation should always be linked to its origin tomogram.

getTomoName()[source]
getTomogram()[source]
setTomoName(tomoName)[source]
setTomogram(tomo)[source]
class deepfinder.objects.SetOfCoordinates3DWithScore(**kwargs)[source]

Bases: tomo.objects.SetOfCoordinates3D

Encapsulate the logic of a set of Coordinate3DWithScore.

ITEM_TYPE

alias of Coordinate3DWithScore

class deepfinder.objects.SetOfDeepFinderSegmentations(*args, **kwargs)[source]

Bases: pwem.objects.data.SetOfVolumes

EXPOSE_ITEMS = True
ITEM_TYPE

alias of DeepFinderSegmentation