本文整理汇总了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()