Exemplo n.º 1
0
    def __init__(self,
                 signal=None,
                 data=None,
                 axis=None,
                 long_name=None,
                 title=None):
        XSData.__init__(self, )

        checkType("XSDataNexusArrayGroup",
                  "Constructor of XSDataNexusArrayGroup", title,
                  "XSDataString")
        self._title = title
        checkType("XSDataNexusArrayGroup",
                  "Constructor of XSDataNexusArrayGroup", long_name,
                  "XSDataString")
        self._long_name = long_name
        if axis is None:
            self._axis = []
        else:
            checkType("XSDataNexusArrayGroup",
                      "Constructor of XSDataNexusArrayGroup", axis, "list")
            self._axis = axis
        checkType("XSDataNexusArrayGroup",
                  "Constructor of XSDataNexusArrayGroup", data, "XSDataArray")
        self._data = data
        checkType("XSDataNexusArrayGroup",
                  "Constructor of XSDataNexusArrayGroup", signal,
                  "XSDataInteger")
        self._signal = signal
Exemplo n.º 2
0
	def __init__(self, atom=None):
		XSData.__init__(self, )
		if atom is None:
			self.__atom = []
		else:
			checkType("XSDataAtomicComposition", "Constructor of XSDataAtomicComposition", atom, "list")
			self.__atom = atom
Exemplo n.º 3
0
	def __init__(self, graph=None, ytitle=None, xtitle=None, keypos=None, ymax=None, xmax=None, ymin=None, xmin=None, ysize=None, xsize=None, subTitle=None, title=None, plotType=None):
		XSData.__init__(self, )
		checkType("XSDataPlot", "Constructor of XSDataPlot", plotType, "string")
		self.__plotType = plotType
		checkType("XSDataPlot", "Constructor of XSDataPlot", title, "string")
		self.__title = title
		checkType("XSDataPlot", "Constructor of XSDataPlot", subTitle, "string")
		self.__subTitle = subTitle
		checkType("XSDataPlot", "Constructor of XSDataPlot", xsize, "double")
		self.__xsize = xsize
		checkType("XSDataPlot", "Constructor of XSDataPlot", ysize, "double")
		self.__ysize = ysize
		checkType("XSDataPlot", "Constructor of XSDataPlot", xmin, "double")
		self.__xmin = xmin
		checkType("XSDataPlot", "Constructor of XSDataPlot", ymin, "double")
		self.__ymin = ymin
		checkType("XSDataPlot", "Constructor of XSDataPlot", xmax, "double")
		self.__xmax = xmax
		checkType("XSDataPlot", "Constructor of XSDataPlot", ymax, "double")
		self.__ymax = ymax
		checkType("XSDataPlot", "Constructor of XSDataPlot", keypos, "string")
		self.__keypos = keypos
		checkType("XSDataPlot", "Constructor of XSDataPlot", xtitle, "string")
		self.__xtitle = xtitle
		checkType("XSDataPlot", "Constructor of XSDataPlot", ytitle, "string")
		self.__ytitle = ytitle
		if graph is None:
			self.__graph = []
		else:
			checkType("XSDataPlot", "Constructor of XSDataPlot", graph, "list")
			self.__graph = graph
Exemplo n.º 4
0
	def __init__(self, plot=None):
		XSData.__init__(self, )
		if plot is None:
			self.__plot = []
		else:
			checkType("XSDataPlotSet", "Constructor of XSDataPlotSet", plot, "list")
			self.__plot = plot
Exemplo n.º 5
0
    def __init__(self,
                 axisData=None,
                 long_name=None,
                 units=None,
                 primary=None,
                 axis=None,
                 title=None):
        XSData.__init__(self, )

        checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", title,
                  "XSDataString")
        self._title = title
        checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", axis,
                  "XSDataInteger")
        self._axis = axis
        checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", primary,
                  "XSDataInteger")
        self._primary = primary
        checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", units,
                  "XSDataString")
        self._units = units
        checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis",
                  long_name, "XSDataString")
        self._long_name = long_name
        checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis",
                  axisData, "XSDataArray")
        self._axisData = axisData
Exemplo n.º 6
0
	def __init__(self, symbol=None, numberOf=None, concentration=None):
		XSData.__init__(self, )
		checkType("XSDataAtom", "Constructor of XSDataAtom", concentration, "XSDataDouble")
		self.__concentration = concentration
		checkType("XSDataAtom", "Constructor of XSDataAtom", numberOf, "XSDataDouble")
		self.__numberOf = numberOf
		checkType("XSDataAtom", "Constructor of XSDataAtom", symbol, "XSDataString")
		self.__symbol = symbol
	def __init__(self, removeItems=None, item=None):
		XSData.__init__(self, )
		if item is None:
			self.__item = []
		else:
			checkType("XSDataQuery", "Constructor of XSDataQuery", item, "list")
			self.__item = item
		checkType("XSDataQuery", "Constructor of XSDataQuery", removeItems, "XSDataBoolean")
		self.__removeItems = removeItems
	def __init__(self, integratedData=None, fileDirectory=None, fileName=None):
		XSData.__init__(self, )
	
	
		checkType("XSDataGridScreeningResultIntegration", "Constructor of XSDataGridScreeningResultIntegration", fileName, "string")
		self._fileName = fileName
		checkType("XSDataGridScreeningResultIntegration", "Constructor of XSDataGridScreeningResultIntegration", fileDirectory, "string")
		self._fileDirectory = fileDirectory
		checkType("XSDataGridScreeningResultIntegration", "Constructor of XSDataGridScreeningResultIntegration", integratedData, "string")
		self._integratedData = integratedData
Exemplo n.º 9
0
	def __init__(self, XSDataXDSRange=None, name_template_of_data_frames=None, data_range=None, background_range=None):
		XSData.__init__(self, )
		checkType("XSDataXDSSubWedge", "Constructor of XSDataXDSSubWedge", background_range, "XSDataXDSRange")
		self.__background_range = background_range
		checkType("XSDataXDSSubWedge", "Constructor of XSDataXDSSubWedge", data_range, "XSDataXDSRange")
		self.__data_range = data_range
		checkType("XSDataXDSSubWedge", "Constructor of XSDataXDSSubWedge", name_template_of_data_frames, "XSDataString")
		self.__name_template_of_data_frames = name_template_of_data_frames
		checkType("XSDataXDSSubWedge", "Constructor of XSDataXDSSubWedge", XSDataXDSRange, "XSDataXDSRange")
		self.__XSDataXDSRange = XSDataXDSRange
Exemplo n.º 10
0
	def __init__(self, IoverSigma=None, centroidY=None, centroidX=None, centroidFrame=None):
		XSData.__init__(self, )
		checkType("XSDataXDSSpot", "Constructor of XSDataXDSSpot", centroidFrame, "XSDataDouble")
		self.__centroidFrame = centroidFrame
		checkType("XSDataXDSSpot", "Constructor of XSDataXDSSpot", centroidX, "XSDataDouble")
		self.__centroidX = centroidX
		checkType("XSDataXDSSpot", "Constructor of XSDataXDSSpot", centroidY, "XSDataDouble")
		self.__centroidY = centroidY
		checkType("XSDataXDSSpot", "Constructor of XSDataXDSSpot", IoverSigma, "XSDataDouble")
		self.__IoverSigma = IoverSigma
Exemplo n.º 11
0
 def __init__(self, removeItems=None, item=None):
     XSData.__init__(self, )
     if item is None:
         self.__item = []
     else:
         checkType("XSDataQuery", "Constructor of XSDataQuery", item,
                   "list")
         self.__item = item
     checkType("XSDataQuery", "Constructor of XSDataQuery", removeItems,
               "XSDataBoolean")
     self.__removeItems = removeItems
Exemplo n.º 12
0
 def __init__(self, rMaxAbsTol=None, rMaxIntervals=None, rMaxStop=None, rMaxStart=None):
     XSData.__init__(self, )
 
 
     checkType("XSDataSolutionScatteringSettings", "Constructor of XSDataSolutionScatteringSettings", rMaxStart, "XSDataDouble")
     self._rMaxStart = rMaxStart
     checkType("XSDataSolutionScatteringSettings", "Constructor of XSDataSolutionScatteringSettings", rMaxStop, "XSDataDouble")
     self._rMaxStop = rMaxStop
     checkType("XSDataSolutionScatteringSettings", "Constructor of XSDataSolutionScatteringSettings", rMaxIntervals, "XSDataInteger")
     self._rMaxIntervals = rMaxIntervals
     checkType("XSDataSolutionScatteringSettings", "Constructor of XSDataSolutionScatteringSettings", rMaxAbsTol, "XSDataDouble")
     self._rMaxAbsTol = rMaxAbsTol
Exemplo n.º 13
0
	def __init__(self, scanId2=None, scanId1=None, motorPosition2=None, motorPosition1=None):
		XSData.__init__(self, )
	
	
		checkType("XSDataGridScreeningFileNameParameters", "Constructor of XSDataGridScreeningFileNameParameters", motorPosition1, "XSDataString")
		self._motorPosition1 = motorPosition1
		checkType("XSDataGridScreeningFileNameParameters", "Constructor of XSDataGridScreeningFileNameParameters", motorPosition2, "XSDataString")
		self._motorPosition2 = motorPosition2
		checkType("XSDataGridScreeningFileNameParameters", "Constructor of XSDataGridScreeningFileNameParameters", scanId1, "XSDataString")
		self._scanId1 = scanId1
		checkType("XSDataGridScreeningFileNameParameters", "Constructor of XSDataGridScreeningFileNameParameters", scanId2, "XSDataString")
		self._scanId2 = scanId2
Exemplo n.º 14
0
	def __init__(self, qy=None, qx=None, ny=None, nx=None, image_format=None, detector_name=None):
		XSData.__init__(self, )
		checkType("XSDataXDSDetector", "Constructor of XSDataXDSDetector", detector_name, "XSDataString")
		self.__detector_name = detector_name
		checkType("XSDataXDSDetector", "Constructor of XSDataXDSDetector", image_format, "XSDataString")
		self.__image_format = image_format
		checkType("XSDataXDSDetector", "Constructor of XSDataXDSDetector", nx, "XSDataInteger")
		self.__nx = nx
		checkType("XSDataXDSDetector", "Constructor of XSDataXDSDetector", ny, "XSDataInteger")
		self.__ny = ny
		checkType("XSDataXDSDetector", "Constructor of XSDataXDSDetector", qx, "XSDataDouble")
		self.__qx = qx
		checkType("XSDataXDSDetector", "Constructor of XSDataXDSDetector", qy, "XSDataDouble")
		self.__qy = qy
Exemplo n.º 15
0
 def __init__(self,
              length_c=None,
              length_b=None,
              length_a=None,
              angle_gamma=None,
              angle_beta=None,
              angle_alpha=None):
     XSData.__init__(self, )
     if angle_alpha is None:
         self._angle_alpha = None
     elif angle_alpha.__class__.__name__ == "XSDataAngle":
         self._angle_alpha = angle_alpha
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'angle_alpha' is not XSDataAngle but %s" % self._angle_alpha.__class__.__name__
         raise BaseException(strMessage)
     if angle_beta is None:
         self._angle_beta = None
     elif angle_beta.__class__.__name__ == "XSDataAngle":
         self._angle_beta = angle_beta
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'angle_beta' is not XSDataAngle but %s" % self._angle_beta.__class__.__name__
         raise BaseException(strMessage)
     if angle_gamma is None:
         self._angle_gamma = None
     elif angle_gamma.__class__.__name__ == "XSDataAngle":
         self._angle_gamma = angle_gamma
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'angle_gamma' is not XSDataAngle but %s" % self._angle_gamma.__class__.__name__
         raise BaseException(strMessage)
     if length_a is None:
         self._length_a = None
     elif length_a.__class__.__name__ == "XSDataLength":
         self._length_a = length_a
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'length_a' is not XSDataLength but %s" % self._length_a.__class__.__name__
         raise BaseException(strMessage)
     if length_b is None:
         self._length_b = None
     elif length_b.__class__.__name__ == "XSDataLength":
         self._length_b = length_b
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'length_b' is not XSDataLength but %s" % self._length_b.__class__.__name__
         raise BaseException(strMessage)
     if length_c is None:
         self._length_c = None
     elif length_c.__class__.__name__ == "XSDataLength":
         self._length_c = length_c
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'length_c' is not XSDataLength but %s" % self._length_c.__class__.__name__
         raise BaseException(strMessage)
Exemplo n.º 16
0
	def __init__(self, length_c=None, length_b=None, length_a=None, angle_gamma=None, angle_beta=None, angle_alpha=None):
		XSData.__init__(self, )
		checkType("XSDataCell", "Constructor of XSDataCell", angle_alpha, "XSDataAngle")
		self.__angle_alpha = angle_alpha
		checkType("XSDataCell", "Constructor of XSDataCell", angle_beta, "XSDataAngle")
		self.__angle_beta = angle_beta
		checkType("XSDataCell", "Constructor of XSDataCell", angle_gamma, "XSDataAngle")
		self.__angle_gamma = angle_gamma
		checkType("XSDataCell", "Constructor of XSDataCell", length_a, "XSDataLength")
		self.__length_a = length_a
		checkType("XSDataCell", "Constructor of XSDataCell", length_b, "XSDataLength")
		self.__length_b = length_b
		checkType("XSDataCell", "Constructor of XSDataCell", length_c, "XSDataLength")
		self.__length_c = length_c
Exemplo n.º 17
0
    def __init__(self, integratedData=None, fileDirectory=None, fileName=None):
        XSData.__init__(self, )

        checkType("XSDataGridScreeningResultIntegration",
                  "Constructor of XSDataGridScreeningResultIntegration",
                  fileName, "string")
        self._fileName = fileName
        checkType("XSDataGridScreeningResultIntegration",
                  "Constructor of XSDataGridScreeningResultIntegration",
                  fileDirectory, "string")
        self._fileDirectory = fileDirectory
        checkType("XSDataGridScreeningResultIntegration",
                  "Constructor of XSDataGridScreeningResultIntegration",
                  integratedData, "string")
        self._integratedData = integratedData
Exemplo n.º 18
0
 def __init__(self, matrixU=None, matrixA=None):
     XSData.__init__(self, )
     if matrixA is None:
         self._matrixA = None
     elif matrixA.__class__.__name__ == "XSDataMatrixDouble":
         self._matrixA = matrixA
     else:
         strMessage = "ERROR! XSDataXOalignOrientation constructor argument 'matrixA' is not XSDataMatrixDouble but %s" % self._matrixA.__class__.__name__
         raise BaseException(strMessage)
     if matrixU is None:
         self._matrixU = None
     elif matrixU.__class__.__name__ == "XSDataMatrixDouble":
         self._matrixU = matrixU
     else:
         strMessage = "ERROR! XSDataXOalignOrientation constructor argument 'matrixU' is not XSDataMatrixDouble but %s" % self._matrixU.__class__.__name__
         raise BaseException(strMessage)
Exemplo n.º 19
0
 def __init__(self, matrixU=None, matrixA=None):
     XSData.__init__(self, )
     if matrixA is None:
         self._matrixA = None
     elif matrixA.__class__.__name__ == "XSDataMatrixDouble":
         self._matrixA = matrixA
     else:
         strMessage = "ERROR! XSDataXOalignOrientation constructor argument 'matrixA' is not XSDataMatrixDouble but %s" % self._matrixA.__class__.__name__
         raise BaseException(strMessage)
     if matrixU is None:
         self._matrixU = None
     elif matrixU.__class__.__name__ == "XSDataMatrixDouble":
         self._matrixU = matrixU
     else:
         strMessage = "ERROR! XSDataXOalignOrientation constructor argument 'matrixU' is not XSDataMatrixDouble but %s" % self._matrixU.__class__.__name__
         raise BaseException(strMessage)
Exemplo n.º 20
0
	def __init__(self, axisData=None, long_name=None, units=None, primary=None, axis=None, title=None):
		XSData.__init__(self, )
	
	
		checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", title, "XSDataString")
		self._title = title
		checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", axis, "XSDataInteger")
		self._axis = axis
		checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", primary, "XSDataInteger")
		self._primary = primary
		checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", units, "XSDataString")
		self._units = units
		checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", long_name, "XSDataString")
		self._long_name = long_name
		checkType("XSDataNexusAxis", "Constructor of XSDataNexusAxis", axisData, "XSDataArray")
		self._axisData = axisData
Exemplo n.º 21
0
	def __init__(self, data=None, markerColor=None, markerType=None, label=None, lineColor=None, lineWidth=None, lineStyle=None):
		XSData.__init__(self, )
		checkType("XSDataGraph", "Constructor of XSDataGraph", lineStyle, "string")
		self.__lineStyle = lineStyle
		checkType("XSDataGraph", "Constructor of XSDataGraph", lineWidth, "double")
		self.__lineWidth = lineWidth
		checkType("XSDataGraph", "Constructor of XSDataGraph", lineColor, "string")
		self.__lineColor = lineColor
		checkType("XSDataGraph", "Constructor of XSDataGraph", label, "string")
		self.__label = label
		checkType("XSDataGraph", "Constructor of XSDataGraph", markerType, "string")
		self.__markerType = markerType
		checkType("XSDataGraph", "Constructor of XSDataGraph", markerColor, "string")
		self.__markerColor = markerColor
		checkType("XSDataGraph", "Constructor of XSDataGraph", data, "XSDataArray")
		self.__data = data
Exemplo n.º 22
0
	def __init__(self, labelitScreenSolution=None, selectedSolutionNumber=None, mosaicity=None, distance=None, beamCentreY=None, beamCentreX=None):
		XSData.__init__(self, )
		checkType("XSDataLabelitScreenOutput", "Constructor of XSDataLabelitScreenOutput", beamCentreX, "XSDataLength")
		self.__beamCentreX = beamCentreX
		checkType("XSDataLabelitScreenOutput", "Constructor of XSDataLabelitScreenOutput", beamCentreY, "XSDataLength")
		self.__beamCentreY = beamCentreY
		checkType("XSDataLabelitScreenOutput", "Constructor of XSDataLabelitScreenOutput", distance, "XSDataLength")
		self.__distance = distance
		checkType("XSDataLabelitScreenOutput", "Constructor of XSDataLabelitScreenOutput", mosaicity, "XSDataAngle")
		self.__mosaicity = mosaicity
		checkType("XSDataLabelitScreenOutput", "Constructor of XSDataLabelitScreenOutput", selectedSolutionNumber, "XSDataInteger")
		self.__selectedSolutionNumber = selectedSolutionNumber
		if labelitScreenSolution is None:
			self.__labelitScreenSolution = []
		else:
			checkType("XSDataLabelitScreenOutput", "Constructor of XSDataLabelitScreenOutput", labelitScreenSolution, "XSDataLabelitScreenSolution")
			self.__labelitScreenSolution = labelitScreenSolution
Exemplo n.º 23
0
	def __init__(self, signal=None, data=None, axis=None, long_name=None, title=None):
		XSData.__init__(self, )
	
	
		checkType("XSDataNexusArrayGroup", "Constructor of XSDataNexusArrayGroup", title, "XSDataString")
		self._title = title
		checkType("XSDataNexusArrayGroup", "Constructor of XSDataNexusArrayGroup", long_name, "XSDataString")
		self._long_name = long_name
		if axis is None:
			self._axis = []
		else:
			checkType("XSDataNexusArrayGroup", "Constructor of XSDataNexusArrayGroup", axis, "list")
			self._axis = axis
		checkType("XSDataNexusArrayGroup", "Constructor of XSDataNexusArrayGroup", data, "XSDataArray")
		self._data = data
		checkType("XSDataNexusArrayGroup", "Constructor of XSDataNexusArrayGroup", signal, "XSDataInteger")
		self._signal = signal
Exemplo n.º 24
0
 def __init__(self, length_c=None, length_b=None, length_a=None, angle_gamma=None, angle_beta=None, angle_alpha=None):
     XSData.__init__(self, )
     if angle_alpha is None:
         self._angle_alpha = None
     elif angle_alpha.__class__.__name__ == "XSDataAngle":
         self._angle_alpha = angle_alpha
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'angle_alpha' is not XSDataAngle but %s" % self._angle_alpha.__class__.__name__
         raise BaseException(strMessage)
     if angle_beta is None:
         self._angle_beta = None
     elif angle_beta.__class__.__name__ == "XSDataAngle":
         self._angle_beta = angle_beta
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'angle_beta' is not XSDataAngle but %s" % self._angle_beta.__class__.__name__
         raise BaseException(strMessage)
     if angle_gamma is None:
         self._angle_gamma = None
     elif angle_gamma.__class__.__name__ == "XSDataAngle":
         self._angle_gamma = angle_gamma
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'angle_gamma' is not XSDataAngle but %s" % self._angle_gamma.__class__.__name__
         raise BaseException(strMessage)
     if length_a is None:
         self._length_a = None
     elif length_a.__class__.__name__ == "XSDataLength":
         self._length_a = length_a
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'length_a' is not XSDataLength but %s" % self._length_a.__class__.__name__
         raise BaseException(strMessage)
     if length_b is None:
         self._length_b = None
     elif length_b.__class__.__name__ == "XSDataLength":
         self._length_b = length_b
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'length_b' is not XSDataLength but %s" % self._length_b.__class__.__name__
         raise BaseException(strMessage)
     if length_c is None:
         self._length_c = None
     elif length_c.__class__.__name__ == "XSDataLength":
         self._length_c = length_c
     else:
         strMessage = "ERROR! XSDataXOalignCell constructor argument 'length_c' is not XSDataLength but %s" % self._length_c.__class__.__name__
         raise BaseException(strMessage)
Exemplo n.º 25
0
 def __init__(self,
              toN=None,
              fromN=None,
              templateN=None,
              dirN=None,
              idN=None):
     XSData.__init__(self, )
     if idN is None:
         self._idN = None
     elif idN.__class__.__name__ == "XSDataString":
         self._idN = idN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'idN' is not XSDataString but %s" % self._idN.__class__.__name__
         raise BaseException(strMessage)
     if dirN is None:
         self._dirN = None
     elif dirN.__class__.__name__ == "XSDataFile":
         self._dirN = dirN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'dirN' is not XSDataFile but %s" % self._dirN.__class__.__name__
         raise BaseException(strMessage)
     if templateN is None:
         self._templateN = None
     elif templateN.__class__.__name__ == "XSDataString":
         self._templateN = templateN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'templateN' is not XSDataString but %s" % self._templateN.__class__.__name__
         raise BaseException(strMessage)
     if fromN is None:
         self._fromN = None
     elif fromN.__class__.__name__ == "XSDataInteger":
         self._fromN = fromN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'fromN' is not XSDataInteger but %s" % self._fromN.__class__.__name__
         raise BaseException(strMessage)
     if toN is None:
         self._toN = None
     elif toN.__class__.__name__ == "XSDataInteger":
         self._toN = toN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'toN' is not XSDataInteger but %s" % self._toN.__class__.__name__
         raise BaseException(strMessage)
Exemplo n.º 26
0
	def __init__(self, volume=None, unitCell=None, solutionNumber=None, rmsd=None, numberOfSpots=None, metricFitValue=None, metricFitCode=None, happy=None, crystalSystem=None, bravaisLattice=None):
		XSData.__init__(self, )
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", bravaisLattice, "XSDataString")
		self.__bravaisLattice = bravaisLattice
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", crystalSystem, "XSDataString")
		self.__crystalSystem = crystalSystem
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", happy, "XSDataBoolean")
		self.__happy = happy
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", metricFitCode, "XSDataString")
		self.__metricFitCode = metricFitCode
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", metricFitValue, "XSDataDouble")
		self.__metricFitValue = metricFitValue
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", numberOfSpots, "XSDataInteger")
		self.__numberOfSpots = numberOfSpots
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", rmsd, "XSDataLength")
		self.__rmsd = rmsd
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", solutionNumber, "XSDataInteger")
		self.__solutionNumber = solutionNumber
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", unitCell, "XSDataCell")
		self.__unitCell = unitCell
		checkType("XSDataLabelitScreenSolution", "Constructor of XSDataLabelitScreenSolution", volume, "XSDataInteger")
		self.__volume = volume
Exemplo n.º 27
0
 def __init__(self, settings=None, phi=None, kappa=None):
     XSData.__init__(self, )
     if kappa is None:
         self._kappa = None
     elif kappa.__class__.__name__ == "XSDataDouble":
         self._kappa = kappa
     else:
         strMessage = "ERROR! XSDataXOalignSolution constructor argument 'kappa' is not XSDataDouble but %s" % self._kappa.__class__.__name__
         raise BaseException(strMessage)
     if phi is None:
         self._phi = None
     elif phi.__class__.__name__ == "XSDataDouble":
         self._phi = phi
     else:
         strMessage = "ERROR! XSDataXOalignSolution constructor argument 'phi' is not XSDataDouble but %s" % self._phi.__class__.__name__
         raise BaseException(strMessage)
     if settings is None:
         self._settings = None
     elif settings.__class__.__name__ == "XSDataString":
         self._settings = settings
     else:
         strMessage = "ERROR! XSDataXOalignSolution constructor argument 'settings' is not XSDataString but %s" % self._settings.__class__.__name__
         raise BaseException(strMessage)
Exemplo n.º 28
0
 def __init__(self, settings=None, phi=None, kappa=None):
     XSData.__init__(self, )
     if kappa is None:
         self._kappa = None
     elif kappa.__class__.__name__ == "XSDataDouble":
         self._kappa = kappa
     else:
         strMessage = "ERROR! XSDataXOalignSolution constructor argument 'kappa' is not XSDataDouble but %s" % self._kappa.__class__.__name__
         raise BaseException(strMessage)
     if phi is None:
         self._phi = None
     elif phi.__class__.__name__ == "XSDataDouble":
         self._phi = phi
     else:
         strMessage = "ERROR! XSDataXOalignSolution constructor argument 'phi' is not XSDataDouble but %s" % self._phi.__class__.__name__
         raise BaseException(strMessage)
     if settings is None:
         self._settings = None
     elif settings.__class__.__name__ == "XSDataString":
         self._settings = settings
     else:
         strMessage = "ERROR! XSDataXOalignSolution constructor argument 'settings' is not XSDataString but %s" % self._settings.__class__.__name__
         raise BaseException(strMessage)
Exemplo n.º 29
0
    def __init__(self,
                 scanId2=None,
                 scanId1=None,
                 motorPosition2=None,
                 motorPosition1=None):
        XSData.__init__(self, )

        checkType("XSDataGridScreeningFileNameParameters",
                  "Constructor of XSDataGridScreeningFileNameParameters",
                  motorPosition1, "XSDataString")
        self._motorPosition1 = motorPosition1
        checkType("XSDataGridScreeningFileNameParameters",
                  "Constructor of XSDataGridScreeningFileNameParameters",
                  motorPosition2, "XSDataString")
        self._motorPosition2 = motorPosition2
        checkType("XSDataGridScreeningFileNameParameters",
                  "Constructor of XSDataGridScreeningFileNameParameters",
                  scanId1, "XSDataString")
        self._scanId1 = scanId1
        checkType("XSDataGridScreeningFileNameParameters",
                  "Constructor of XSDataGridScreeningFileNameParameters",
                  scanId2, "XSDataString")
        self._scanId2 = scanId2
Exemplo n.º 30
0
 def __init__(self, toN=None, fromN=None, templateN=None, dirN=None, idN=None):
     XSData.__init__(self, )
     if idN is None:
         self._idN = None
     elif idN.__class__.__name__ == "XSDataString":
         self._idN = idN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'idN' is not XSDataString but %s" % self._idN.__class__.__name__
         raise BaseException(strMessage)
     if dirN is None:
         self._dirN = None
     elif dirN.__class__.__name__ == "XSDataFile":
         self._dirN = dirN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'dirN' is not XSDataFile but %s" % self._dirN.__class__.__name__
         raise BaseException(strMessage)
     if templateN is None:
         self._templateN = None
     elif templateN.__class__.__name__ == "XSDataString":
         self._templateN = templateN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'templateN' is not XSDataString but %s" % self._templateN.__class__.__name__
         raise BaseException(strMessage)
     if fromN is None:
         self._fromN = None
     elif fromN.__class__.__name__ == "XSDataInteger":
         self._fromN = fromN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'fromN' is not XSDataInteger but %s" % self._fromN.__class__.__name__
         raise BaseException(strMessage)
     if toN is None:
         self._toN = None
     elif toN.__class__.__name__ == "XSDataInteger":
         self._toN = toN
     else:
         strMessage = "ERROR! XSDataAutoPROCIdentifier constructor argument 'toN' is not XSDataInteger but %s" % self._toN.__class__.__name__
         raise BaseException(strMessage)
Exemplo n.º 31
0
	def __init__(self, b=None):
		XSData.__init__(self, )
	
	
		checkType("testBoolean", "Constructor of testBoolean", b, "XSDataBoolean")
		self._b = b
	def __init__(self, scanId2=None, scanId1=None, motorPosition2=None, motorPosition1=None):
		XSData.__init__(self, )
		self.__motorPosition1 = motorPosition1
		self.__motorPosition2 = motorPosition2
		self.__scanId1 = scanId1
		self.__scanId2 = scanId2
Exemplo n.º 33
0
    def __init__(self, b=None):
        XSData.__init__(self, )

        checkType("testBoolean", "Constructor of testBoolean", b,
                  "XSDataBoolean")
        self._b = b
Exemplo n.º 34
0
	def __init__(self, upper=None, lower=None):
		XSData.__init__(self, )
		checkType("XSDataXDSRange", "Constructor of XSDataXDSRange", lower, "XSDataInteger")
		self.__lower = lower
		checkType("XSDataXDSRange", "Constructor of XSDataXDSRange", upper, "XSDataInteger")
		self.__upper = upper
Exemplo n.º 35
0
	def __init__(self, uMatrix=None, aMatrix=None):
		XSData.__init__(self, )
		checkType("XSDataLabelitMosflmScriptsOutput", "Constructor of XSDataLabelitMosflmScriptsOutput", aMatrix, "XSDataMatrixDouble")
		self.__aMatrix = aMatrix
		checkType("XSDataLabelitMosflmScriptsOutput", "Constructor of XSDataLabelitMosflmScriptsOutput", uMatrix, "XSDataMatrixDouble")
		self.__uMatrix = uMatrix