gctf.protocols.program_gctf module

class gctf.protocols.program_gctf.ProgramGctf(protocol)[source]

Bases: object

Wrapper of Gctf program that will handle parameters definition and also execution of the program with the proper arguments. This class is not a Protocol, but it is related, since it can be used from protocols that perform CTF estimation.

classmethod defineInputParams(form)[source]

Define input parameters from this program into the given form.

classmethod defineProcessParams(form)[source]
getCommand(**kwargs)[source]

Return the program and arguments to be run. The input keywords argument should contain key-values for one micrograph or group of micrographs.

getExt()[source]
classmethod getVersion()[source]
classmethod isVersion118()[source]
parseOutput(filename)[source]

Retrieve defocus U, V and angle from the output file of the program execution.

parseOutputAsCtf(ctfFile, psdFile=None)[source]