本文整理匯總了Python中XSDataMXv1.XSDataDiffractionPlan.getGoniostatMaxOscillationSpeed方法的典型用法代碼示例。如果您正苦於以下問題:Python XSDataDiffractionPlan.getGoniostatMaxOscillationSpeed方法的具體用法?Python XSDataDiffractionPlan.getGoniostatMaxOscillationSpeed怎麽用?Python XSDataDiffractionPlan.getGoniostatMaxOscillationSpeed使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類XSDataMXv1.XSDataDiffractionPlan
的用法示例。
在下文中一共展示了XSDataDiffractionPlan.getGoniostatMaxOscillationSpeed方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: EDPluginControlInterfacev1_3
# 需要導入模塊: from XSDataMXv1 import XSDataDiffractionPlan [as 別名]
# 或者: from XSDataMXv1.XSDataDiffractionPlan import getGoniostatMaxOscillationSpeed [as 別名]
#.........這裏部分代碼省略.........
self.listImagePaths = []
# Check if XSDataInputInterface is given as input
if self.hasDataInput():
xsDataInputInterface = self.getDataInput()
if xsDataInputInterface.getExperimentalCondition():
self.xsDataExperimentalCodition = xsDataInputInterface.getExperimentalCondition()
if self.xsDataExperimentalCodition.getGoniostat():
if self.xsDataExperimentalCodition.getGoniostat().getMinOscillationWidth():
self.fMinOscillationWidth = self.xsDataExperimentalCodition.getGoniostat().getMinOscillationWidth().getValue()
if self.xsDataExperimentalCodition.getGoniostat().getMaxOscillationSpeed():
self.fMaxOscillationSpeed = self.xsDataExperimentalCodition.getGoniostat().getMaxOscillationSpeed().getValue()
self.xsDataSample = xsDataInputInterface.getSample()
self.xsDataDiffractionPlan = self.getDataInput().getDiffractionPlan()
if self.xsDataDiffractionPlan:
if self.xsDataDiffractionPlan.getForcedSpaceGroup():
self.strForcedSpaceGroup = self.xsDataDiffractionPlan.getForcedSpaceGroup().getValue()
if self.xsDataDiffractionPlan.getMaxExposureTimePerDataCollection():
self.fMaxExposureTimePerDataCollection = self.xsDataDiffractionPlan.getMaxExposureTimePerDataCollection().getValue()
if self.xsDataDiffractionPlan.getAnomalousData():
self.bAnomalousData = self.xsDataDiffractionPlan.getAnomalousData().getValue()
if self.xsDataDiffractionPlan.getStrategyOption():
self.strStrategyOption = self.xsDataDiffractionPlan.getStrategyOption().getValue()
if self.xsDataDiffractionPlan.getComplexity():
self.strComplexity = self.xsDataDiffractionPlan.getComplexity().getValue()
if self.fMinOscillationWidth == None:
if self.xsDataDiffractionPlan.getGoniostatMinOscillationWidth():
self.fMinOscillationWidth = self.xsDataDiffractionPlan.getGoniostatMinOscillationWidth().getValue()
if self.fMaxOscillationSpeed == None:
if self.xsDataDiffractionPlan.getGoniostatMaxOscillationSpeed():
self.fMaxOscillationSpeed = self.xsDataDiffractionPlan.getGoniostatMaxOscillationSpeed().getValue()
self.xsDataSample = xsDataInputInterface.getSample()
if xsDataInputInterface.getImagePath():
for xsDataFile in xsDataInputInterface.getImagePath():
self.listImagePaths.append(xsDataFile.getPath())
if xsDataInputInterface.getFlux():
self.fFlux = xsDataInputInterface.getFlux().getValue()
elif self.xsDataExperimentalCodition != None:
if self.xsDataExperimentalCodition.getBeam() != None:
if self.xsDataExperimentalCodition.getBeam().getFlux() != None:
self.fFlux = self.xsDataExperimentalCodition.getBeam().getFlux().getValue()
if xsDataInputInterface.getMinExposureTimePerImage():
self.fMinExposureTimePerImage = xsDataInputInterface.getMinExposureTimePerImage().getValue()
elif self.xsDataExperimentalCodition != None:
if self.xsDataExperimentalCodition.getBeam() != None:
if self.xsDataExperimentalCodition.getBeam().getMinExposureTimePerImage() != None:
self.fMinExposureTimePerImage = self.xsDataExperimentalCodition.getBeam().getMinExposureTimePerImage().getValue()
if self.fMinExposureTimePerImage == None and xsDataInputInterface.getDiffractionPlan():
if xsDataInputInterface.getDiffractionPlan().getMinExposureTimePerImage() != None:
self.fMinExposureTimePerImage = xsDataInputInterface.getDiffractionPlan().getMinExposureTimePerImage().getValue()
if self.xsDataExperimentalCodition != None:
if self.xsDataExperimentalCodition.getBeam() != None:
if self.xsDataExperimentalCodition.getBeam().getSize() != None:
self.fBeamSizeX = self.xsDataExperimentalCodition.getBeam().getSize().getX().getValue()
self.fBeamSizeY = self.xsDataExperimentalCodition.getBeam().getSize().getY().getValue()
if self.xsDataExperimentalCodition.getBeam().getApertureSize() != None:
示例2: EDPluginControlInterfacev1_2
# 需要導入模塊: from XSDataMXv1 import XSDataDiffractionPlan [as 別名]
# 或者: from XSDataMXv1.XSDataDiffractionPlan import getGoniostatMaxOscillationSpeed [as 別名]
#.........這裏部分代碼省略.........
self.listImagePaths = []
# Check if XSDataInputInterface is given as input
if self.hasDataInput():
xsDataInputInterface = self.getDataInput()
if xsDataInputInterface.getExperimentalCondition():
self.xsDataExperimentalCodition = xsDataInputInterface.getExperimentalCondition()
if self.xsDataExperimentalCodition.getGoniostat():
if self.xsDataExperimentalCodition.getGoniostat().getMinOscillationWidth():
self.fMinOscillationWidth = self.xsDataExperimentalCodition.getGoniostat().getMinOscillationWidth().getValue()
if self.xsDataExperimentalCodition.getGoniostat().getMaxOscillationSpeed():
self.fMaxOscillationSpeed = self.xsDataExperimentalCodition.getGoniostat().getMaxOscillationSpeed().getValue()
self.xsDataSample = xsDataInputInterface.getSample()
self.xsDataDiffractionPlan = self.getDataInput().getDiffractionPlan()
if self.xsDataDiffractionPlan:
if self.xsDataDiffractionPlan.getForcedSpaceGroup():
self.strForcedSpaceGroup = self.xsDataDiffractionPlan.getForcedSpaceGroup().getValue()
if self.xsDataDiffractionPlan.getMaxExposureTimePerDataCollection():
self.fMaxExposureTimePerDataCollection = self.xsDataDiffractionPlan.getMaxExposureTimePerDataCollection().getValue()
if self.xsDataDiffractionPlan.getAnomalousData():
self.bAnomalousData = self.xsDataDiffractionPlan.getAnomalousData().getValue()
if self.xsDataDiffractionPlan.getStrategyOption():
self.strStrategyOption = self.xsDataDiffractionPlan.getStrategyOption().getValue()
if self.xsDataDiffractionPlan.getComplexity():
self.strComplexity = self.xsDataDiffractionPlan.getComplexity().getValue()
if self.fMinOscillationWidth == None:
if self.xsDataDiffractionPlan.getGoniostatMinOscillationWidth():
self.fMinOscillationWidth = self.xsDataDiffractionPlan.getGoniostatMinOscillationWidth().getValue()
if self.fMaxOscillationSpeed == None:
if self.xsDataDiffractionPlan.getGoniostatMaxOscillationSpeed():
self.fMaxOscillationSpeed = self.xsDataDiffractionPlan.getGoniostatMaxOscillationSpeed().getValue()
self.xsDataSample = xsDataInputInterface.getSample()
if xsDataInputInterface.getImagePath():
for xsDataFile in xsDataInputInterface.getImagePath():
self.listImagePaths.append(xsDataFile.getPath())
if xsDataInputInterface.getFlux():
self.fFlux = xsDataInputInterface.getFlux().getValue()
elif self.xsDataExperimentalCodition != None:
if self.xsDataExperimentalCodition.getBeam() != None:
if self.xsDataExperimentalCodition.getBeam().getFlux() != None:
self.fFlux = self.xsDataExperimentalCodition.getBeam().getFlux().getValue()
if xsDataInputInterface.getMinExposureTimePerImage():
self.fMinExposureTimePerImage = xsDataInputInterface.getMinExposureTimePerImage().getValue()
elif self.xsDataExperimentalCodition != None:
if self.xsDataExperimentalCodition.getBeam() != None:
if self.xsDataExperimentalCodition.getBeam().getMinExposureTimePerImage() != None:
self.fMinExposureTimePerImage = self.xsDataExperimentalCodition.getBeam().getMinExposureTimePerImage().getValue()
if self.fMinExposureTimePerImage == None and xsDataInputInterface.getDiffractionPlan():
if xsDataInputInterface.getDiffractionPlan().getMinExposureTimePerImage() != None:
self.fMinExposureTimePerImage = xsDataInputInterface.getdiffractionPlan().getMinExposureTimePerImage().getValue()
if self.xsDataExperimentalCodition != None:
if self.xsDataExperimentalCodition.getBeam() != None:
if self.xsDataExperimentalCodition.getBeam().getSize() != None:
self.fBeamSizeX = self.xsDataExperimentalCodition.getBeam().getSize().getX().getValue()
self.fBeamSizeY = self.xsDataExperimentalCodition.getBeam().getSize().getY().getValue()