Example #1
0
 def _prepareParams(self):
     KendersomBaseClassify._prepareParams(self)
     self._params['extraDir'] = self._getExtraPath()
     # we need to convert R1 and R2 to percentage of the radius
     radius = self.inputParticles.get().getDim()[0] / 2
     percent = 100. / radius
     self._params['R1'] = self.spectraInnerRadius.get() * percent
     self._params['R2'] = self.spectraOuterRadius.get() * percent
     self._params['spectraLowHarmonic'] = self.spectraLowHarmonic.get()
     self._params['spectraHighHarmonic'] = self.spectraHighHarmonic.get()
     self._params['vectors'] = self._getExtraPath("rotSpectra.xmd")
 def _prepareParams(self):
     KendersomBaseClassify._prepareParams(self)
     self._params['extraDir'] = self._getExtraPath()
     # we need to convert R1 and R2 to percentage of the radius
     radius = self.inputParticles.get().getDim()[0] / 2
     percent = 100. / radius
     self._params['R1'] = self.spectraInnerRadius.get() * percent
     self._params['R2'] = self.spectraOuterRadius.get() * percent
     self._params['spectraLowHarmonic'] = self.spectraLowHarmonic.get()
     self._params['spectraHighHarmonic'] = self.spectraHighHarmonic.get()
     self._params['vectors'] = self._getExtraPath("rotSpectra.xmd")