tomo.utils module

tomo.utils.existsPlugin(plugin)[source]
tomo.utils.extractVesicles(coordinates, dictVesicles, tomoName)[source]
tomo.utils.fit_ellipsoid(x, y, z)[source]

Fit ellipsoid in the form Ax^2 + By^2 + Cz^2 + 2Dxy + 2Exz + 2Fyz + 2Gx + 2Hy + 2Iz + J = 0 and A + B + C = 3 constraint removing one extra parameter (from Matlab function “Fit Ellipsoid”).

tomo.utils.generatePointCloud(v, tomoDim)[source]
tomo.utils.getNonInterpolatedTsFromRelations(sourceObj, prot)[source]
tomo.utils.getObjFromRelation(sourceObj, prot, targetObj)[source]
tomo.utils.initDictVesicles(coordinates)[source]
tomo.utils.isMatchingByTsId(set1, set2)[source]
tomo.utils.normalFromMatrix(transformation)[source]