本文整理汇总了Python中mantid.api.PythonAlgorithm.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python PythonAlgorithm.__init__方法的具体用法?Python PythonAlgorithm.__init__怎么用?Python PythonAlgorithm.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mantid.api.PythonAlgorithm
的用法示例。
在下文中一共展示了PythonAlgorithm.__init__方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
self.tolerance = 1e-2
self.instrument = None
示例2: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
self.tolerance = 0.0
self.wslist = []
示例3: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
PythonAlgorithm.__init__(self)
self._normalizeToFirst = False
self._as_json = None
# properties related to monitor
self._MonNorm = None
# properties related to the chosen reflection
self._reflection = None # entry in the reflections dictionary
self._etBins = None
self._qBins = None
self._maskFile = None
# properties related to division by Vanadium (normalization)
self._doNorm = None # stores the selected item from normalization_types
self._normalizationType = None
self._normRange = None
self._norm_run_list = None
self._normWs = None
self._normMonWs = None
# properties related to saving NSXPE file
self._nsxpe_do = False
self._nxspe_psi_angle_log = None
self._nxspe_offset = 0.0
示例4: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
PythonAlgorithm.__init__(self)
# For the wsPython app underlying GSAS-II
self._gsas2_app = None
self.PROP_INPUT_WORKSPACE = 'InputWorkspace'
self.PROP_WORKSPACE_INDEX = 'WorkspaceIndex'
self.PROP_INSTR_FILE = 'InstrumentFile'
self.PROP_PHASE_INFO_FILE = 'PhaseInfoFile'
self.PROP_PATH_TO_GSASII = 'PathToGSASII'
self.PROP_PAWLEY_DMIN = "PawleyDmin"
self.PROP_PAWLEY_NEG_WEIGHT = "PawleyNegativeWeight"
self.PROP_BACKGROUND_TYPE = 'BackgroundType'
self.PROP_MINX = 'MinX'
self.PROP_MAXX = 'MaxX'
self.PROP_EXPECTED_PEAKS = "ExpectedPeaks"
self.PROP_EXPECTED_PEAKS_FROM_FILE = "ExpectedPeaksFromFile"
self.PROP_OUT_LATTICE_PARAMS = 'LatticeParameters'
self.PROP_OUT_FITTED_PARAMS = 'FittedPeakParameters'
self.PROP_OUT_PROJECT_FILE = 'SaveGSASIIProjectFile'
self.PROP_OUT_GOF = 'GoF'
self.PROP_OUT_RWP = 'Rwp'
self.PROP_REFINE_CENTER = 'RefineCenter'
self.PROP_REFINE_INTENSITY = 'RefineIntensity'
self.PROP_REFINE_ALPHA = 'RefineAlpha'
self.PROP_REFINE_BETA = 'RefineBeta'
self.PROP_REFINE_SIGMA = 'RefineSigma'
self.PROP_REFINE_GAMMA = 'RefineGamma'
self.PROP_METHOD = "Method"
示例5: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
self.input_workspaces = {}
self.sf_outws_name = None
self.nsf_outws_name = None
示例6: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
self.workspace_names = []
self.xaxis = '2theta'
self.outws_name = None
示例7: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
self.dataws = None
self.outws_name = None
self.vanaws = None
self.bkgws = None
self.vana_mean_name = None
示例8: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
self.workspace_names = []
self.wavelength = 0
self.xaxis = '2theta'
self.outws_name = None
self.is_normalized = False
示例9: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
self.tolerance = 1e-2
示例10: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
示例11: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
PythonAlgorithm.__init__(self)
示例12: __init__
# 需要导入模块: from mantid.api import PythonAlgorithm [as 别名]
# 或者: from mantid.api.PythonAlgorithm import __init__ [as 别名]
def __init__(self):
"""
Init
"""
PythonAlgorithm.__init__(self)
self.workspace = None