def __init__(self, _strPluginName=None, _strConfigurationFileName=None, _bUseWSGI=False):
     """
     @param _strPluginName: name of control plugin to load
     @type  _strPluginName: string
     @param _strConfigurationFileName: the configuration file to use  
     @type _strConfigurationFileName: string
     """
     EDApplication.__init__(self, _strName=EDApplicationXAFSBatchProcessing.APPLICATION_NAME, \
                             _strVersion=EDApplicationXAFSBatchProcessing.APPLICATION_VERSION, \
                             _strPluginName=_strPluginName, \
                             _strConfigurationFileName=_strConfigurationFileName)
     self.__strDatasetFileName = None
     self.__strDataInputFilePath = None
     
     self.__strNxsEnergy = '/entry1/counterTimer01/Energy'
     self.__strNxsI0 = '/entry1/counterTimer01/I0'
     self.__strNxsIref = '/entry1/counterTimer01/Iref'
     self.__strNxsIt = '/entry1/counterTimer01/It'
     self.__strNxsTime = '/entry1/counterTimer01/Time'
     self.__strNxsLnI0Iref = '/entry1/counterTimer01/lnI0Iref'
     self.__strNxsLnI0It = '/entry1/counterTimer01/lnI0It'
     self.__strNxsScanIndex = '/entry1/entry_identifier'
     
     self.__fRbkg = 1.0
     self.__fftfKmin = 2.0
     self.__fftfKmax = 17.0
     self.__fftfDk = 1.0
     self.__fftfKweight = 2.0
     
     self.__bProcess = True
     self.__bUseWSGI = _bUseWSGI
     
     self.__edPlugin = None
Exemple #2
0
    def __init__(self,
                 _strPluginName=None,
                 _strConfigurationFileName=None,
                 _ccp4DataInputControlPipelineCalcDiffMap=None):
        """
        @param _strPluginName: name of control plugin to load
        @type  _strPluginName: string
        @param _strConfigurationFileName: the configuration file to use  
        @type _strConfigurationFileName: string
        @param _ccp4DataInputControlPipelineCalcDiffMap: the input object to use  
        @type _ccp4DataInputControlPipelineCalcDiffMap: CCP4DataInputControlPipelineCalcDiffMap
        """
        EDApplication.__init__(self, _strName=EDApplicationDimplev0.APPLICATION_NAME, \
                                _strVersion=EDApplicationDimplev0.APPLICATION_VERSION, \
                                _strPluginName=_strPluginName, \
                                _strConfigurationFileName=_strConfigurationFileName)

        self.colLabelI = None
        self.colLabelSIGI = None

        self.strPDBIn = None
        self.strPDBOut = None
        self.strMTZIn = None
        self.strMTZOut = None

        self.inputXMLFile = None
        self.inputXMLFileName = None

        self.ccp4DataInputControlPipelineCalcDiffMap = _ccp4DataInputControlPipelineCalcDiffMap
        self.strPluginName = _strPluginName
        self.strDatasetFileName = None

        self.xsDataOutput = None
    def __init__(self, _strPluginName=None, _strConfigurationFileName=None, _ccp4DataInputControlPipelineCalcDiffMap=None):
        """
        @param _strPluginName: name of control plugin to load
        @type  _strPluginName: string
        @param _strConfigurationFileName: the configuration file to use  
        @type _strConfigurationFileName: string
        @param _ccp4DataInputControlPipelineCalcDiffMap: the input object to use  
        @type _ccp4DataInputControlPipelineCalcDiffMap: CCP4DataInputControlPipelineCalcDiffMap
        """
        EDApplication.__init__(self, _strName=EDApplicationDimplev0.APPLICATION_NAME, \
                                _strVersion=EDApplicationDimplev0.APPLICATION_VERSION, \
                                _strPluginName=_strPluginName, \
                                _strConfigurationFileName=_strConfigurationFileName)
        
        self.colLabelI = None
        self.colLabelSIGI = None

        self.strPDBIn = None
        self.strPDBOut = None
        self.strMTZIn = None
        self.strMTZOut = None

        self.inputXMLFile = None
        self.inputXMLFileName = None

        self.ccp4DataInputControlPipelineCalcDiffMap = _ccp4DataInputControlPipelineCalcDiffMap
        self.strPluginName = _strPluginName
        self.strDatasetFileName = None

        self.xsDataOutput = None
 def __init__(self, _strPluginName=None, _strConfigurationFileName=None):
     """
     @param _strPluginName: name of control plugin to load
     @type  _strPluginName: string
     @param _strConfigurationFileName: the configuration file to use  
     @type _strConfigurationFileName: string
     """
     EDApplication.__init__(self, _strName=EDApplicationSASPipeline.APPLICATION_NAME, \
                             _strVersion=EDApplicationSASPipeline.APPLICATION_VERSION, \
                             _strPluginName=_strPluginName, \
                             _strConfigurationFileName=_strConfigurationFileName)
     self.__strDatasetFileName = None
     self.__strNxsQ = None
     self.__strNxsData = None
     self.__strDatasetFileName = None
     self.__bProcess = True
     self.__strPluginName = None
     self.__strDataInputFilePath = None
     self.__fRMaxStart = 10.0
     self.__fRMaxStop = 200.0
     self.__iRMaxIntervals = 10
     self.__fRMaxAbsTol = 0.1
     
     self.__strMode = "Fast"
     self.__strSymmetry = "P1"
     self.__bOnlyGnom = False
     self.__bPlotFit = False
     self.__iThreads = None
     self.__iUnit = 1
     self.__iColumns = 1
     self.__fQMin = None
     self.__fQMax = None
 def __init__(self,
              _strPluginName=None,
              _strConfigurationFileName=None,
              _xsDataInputCharacterisation=None,
              _strComments=None,
              _strShortComments=None):
     """
     @param _strPluginName: name of control plugin to load
     @type  _strPluginName: string
     @param _strConfigurationFileName: the configuration file to use  
     @type _strConfigurationFileName: string
     @param _xsDataInputCharacterisation: the input characterisation object to use  
     @type _xsDataInputCharacterisation: XSDataInputCharacterisation
     """
     EDApplication.__init__(self, _strName=EDApplicationMXv1Characterisation.APPLICATION_NAME, \
                             _strVersion=EDApplicationMXv1Characterisation.APPLICATION_VERSION, \
                             _strPluginName=_strPluginName, \
                             _strConfigurationFileName=_strConfigurationFileName)
     self.__listImagePaths = None
     self.__strDatasetFileName = None
     self.__fFlux = None
     self.__fMaxExposureTimePerDataCollection = 10000  # s, default MXv1 value
     self.__fMinExposureTimePerImage = None
     self.__fBeamSize = None
     self.__bTemplateMode = False
     self.__strGeneratedTemplateFile = None
     self.__strComplexity = "none"
     self.__strResultsFilePath = None
     self.__strForcedSpaceGroup = None
     self.__bAnomalousData = False
     self.__fBeamPosX = None
     self.__fBeamPosY = None
     self.__strStrategyOption = None
     self.__fDoseLimit = None
     self.__fAimedResolution = None
     self.__fAimedCompleteness = None
     self.__fAimedMultiplicity = None
     self.__bProcess = True
     self.__iDataCollectionId = None
     self.__xsDataInputCharacterisation = _xsDataInputCharacterisation
     self.__strPluginName = None
     self.__strDataInputFilePath = None
     self.__strShortComments = _strShortComments
     self.__strComments = _strComments
     self.__fTransmission = None
 def __init__(self, _strPluginName=None, _strConfigurationFileName=None, _xsDataInputCharacterisation=None, _strComments = None, _strShortComments = None):
     """
     @param _strPluginName: name of control plugin to load
     @type  _strPluginName: string
     @param _strConfigurationFileName: the configuration file to use  
     @type _strConfigurationFileName: string
     @param _xsDataInputCharacterisation: the input characterisation object to use  
     @type _xsDataInputCharacterisation: XSDataInputCharacterisation
     """
     EDApplication.__init__(self, _strName=EDApplicationMXv1Characterisation.APPLICATION_NAME, \
                             _strVersion=EDApplicationMXv1Characterisation.APPLICATION_VERSION, \
                             _strPluginName=_strPluginName, \
                             _strConfigurationFileName=_strConfigurationFileName)
     self.__listImagePaths = None
     self.__strDatasetFileName = None
     self.__fFlux = None
     self.__fMaxExposureTimePerDataCollection = 10000 # s, default MXv1 value
     self.__fMinExposureTimePerImage = None
     self.__fBeamSize = None
     self.__bTemplateMode = False
     self.__strGeneratedTemplateFile = None
     self.__strComplexity = "none"
     self.__strResultsFilePath = None
     self.__strForcedSpaceGroup = None
     self.__bAnomalousData = False
     self.__fBeamPosX = None
     self.__fBeamPosY = None
     self.__strStrategyOption = None
     self.__bProcess = True
     self.__iDataCollectionId = None
     self.__xsDataInputCharacterisation = _xsDataInputCharacterisation
     self.__strPluginName = None
     self.__strDataInputFilePath = None
     self.__strShortComments = _strShortComments
     self.__strComments = _strComments
     self.__fTransmission = None
Exemple #7
0
 def __init__ (self):
     EDApplication.__init__(self)
     self.__edTestCase = None
     EDVerbose.setTestOn()