def __init__(self, **kwargs): ProtCTFMicrographs.__init__(self, **kwargs) # We need to trace the changes of 'inputType' to # dynamically modify the property of pointerClass # of the 'inputSets' parameter def onChangeInputType(): pointerClass = 'SetOf' + self.getEnumText('inputType') self.inputSetsParam.setPointerClass(pointerClass) # Initial update onChangeInputType() # Now keep track of changes and update self.inputType.trace(onChangeInputType)
def _defineCtfParamsDict(self): ProtCTFMicrographs._defineCtfParamsDict(self) if not hasattr(self, "ctfDict"): self.getPreviousParameters() self._createFilenameTemplates() self._program = 'xmipp_ctf_estimate_from_micrograph' # Mapping between base protocol parameters and the package specific # command options params = self.getCtfParamsDict() self.__params = { 'kV': params['voltage'], 'Cs': params['sphericalAberration'], #'ctfmodelSize': params['windowSize'], 'Q0': params['ampContrast'], 'min_freq': params['lowRes'], 'max_freq': params['highRes'], #'pieceDim': params['windowSize'] } self._prepareArgs(self.__params)
def _defineCtfParamsDict(self): ProtCTFMicrographs._defineCtfParamsDict(self) self._ctfProgram = ProgramCtffind(self)
def __init__(self, **args): ProtCTFMicrographs.__init__(self, **args) self._freqResol = {} self.stepsExecutionMode = params.STEPS_PARALLEL
def __init__(self, **args): ProtCTFMicrographs.__init__(self, **args)
def _summary(self): summary = ProtCTFMicrographs._summary(self) if self.methodsVar.hasValue(): summary.append(self.methodsVar.get()) return summary
def _defineCtfParamsDict(self): ProtCTFMicrographs._defineCtfParamsDict(self) self._gctfProgram = ProgramGctf(self)