reliontomo.utils module

reliontomo.utils.genEnumParamDict(keyList)[source]
reliontomo.utils.genOutputPseudoSubtomograms(prot, currentSamplingRate)[source]

Centralized code to generate the output set of pseudosubtomograms for protocols make pseudosubtomograms, auto-refine, CTF refine and frame align

reliontomo.utils.genRelionParticles(extraPath, inOptSet, binningFactor=None, nParticles=None)[source]

Generate a relionParticles object containing the files involved for the next protocol, considering that some protocols don’t generate the optimisation_set.star file. In that case, the input Object which represents it will be copied and, after that, this method will be used to update the corresponding attribute.

reliontomo.utils.getAbsPath(starFilePath, tomoFile)[source]

If the paths of the files pointed from a star file are relative, they’ll be referred to the path of the star file. This method is used to consider that case.

reliontomo.utils.getProgram(program, nMpi)[source]

Get the program name depending on the MPI use or not.

reliontomo.utils.isPseudoSubtomogram(subtomo)[source]
reliontomo.utils.manageDims(fileName, z, n)[source]