def doSuccessSetMetadata(self, _edPlugin=None): EDVerbose.DEBUG("EDPluginBioSaxsAzimutIntv1_0.doSuccessSetMetadata") self.xsdMetadata = _edPlugin.getDataOutput() self.strProcessLog += "Azimuthal integration of Corrected EDF image '%s'.\n" % (self.correctedImage) xsdiSaxsAngle = XSDataInputSaxsAnglev1_0() xsdiSaxsAngle.setInputDataFile(self.dataInput.getCorrectedImage()) xsdiSaxsAngle.setRegroupedDataFile(self.dataInput.getIntegratedImage()) xsdiSaxsAngle.setOptions(XSDataString('+pass -omod n -rsys normal -da 360_deg -odim = 1')) self.__edPluginSaxsAngle.setDataInput(xsdiSaxsAngle)
def doSuccessGetMetadata(self, _edPlugin=None): EDVerbose.DEBUG("EDPluginBioSaxsAzimutIntv1_1.doSuccessGetMetadata") if _edPlugin is not None: self.xsdMetadata = _edPlugin.getDataOutput() self.lstProcessLog.append("Azimuthal integration of Corrected+Masked EDF image '%s'." % (self.normalizedImage)) xsdiSaxsAngle = XSDataInputSaxsAnglev1_0() xsdiSaxsAngle.setInputDataFile(self.dataInput.normalizedImage) # XSDataFile(XSDataString(self.normalizedImage))) xsdiSaxsAngle.setRegroupedDataFile(self.dataInput.getIntegratedImage()) xsdiSaxsAngle.setOptions(XSDataString('+pass -omod n -rsys normal -da 360_deg -odim = 1')) self.__edPluginSaxsAngle.setDataInput(xsdiSaxsAngle)
def testCheckParameters(self): EDVerbose.DEBUG("EDTestCasePluginUnitExecSaxsAnglev1_0: testCheckParameters") xsDataInput = XSDataInputSaxsAnglev1_0() edPluginExecSaxsAngle = self.createPlugin() edPluginExecSaxsAngle.setDataInput(xsDataInput) edPluginExecSaxsAngle.checkParameters()