コード例 #1
0
    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)
コード例 #2
0
 def _defineCtfParamsDict(self):
     ProtCTFMicrographs._defineCtfParamsDict(self)
     self._ctfProgram = ProgramCtffind(self)
コード例 #3
0
 def _defineCtfParamsDict(self):
     ProtCTFMicrographs._defineCtfParamsDict(self)
     self._gctfProgram = ProgramGctf(self)