<ZCodeParameters>
  <ConographParameters>
    <!-- Parameters for the diffractometer.-->
	  <IsAngleDispersion>
	  <!-- 0:time-of-flight, 1:angle dispersion-->
	  	1
	  </IsAngleDispersion>

	  <ZeroPointShiftParameter>
	  <!-- zero point shift parameter for angle dispersion : Z(deg.). -->
		 0.0
	  </ZeroPointShiftParameter>
  	  <WaveLength>
	  <!-- Wave length(angstrom) for angle dispersion. -->
		  1.19673
	  </WaveLength>

    <!-- Parameters for search.-->
	<SearchLevel>
	<!-- 0:quick search (suitable for unit cells with high symmetries.),
	     1:regular search (suitable for unit cells with low symmetries.).-->
	     		0
	</SearchLevel>

	<MaxNumberOfPeaks>
	<!-- Number of peaks used for calculation.-->
		AUTO
	</MaxNumberOfPeaks>

	<CriticalValueForLinearSum>
	<!-- The criterion c to judge if a linear sum of Q equals zero. ( abs(\sigma_i Q_i) <= c * Err<\sigma_i Q_i> ) -->
		1.0
	</CriticalValueForLinearSum>

	<MinPrimitiveUnitCellVolume>
	<!-- Lower threshold for the volume of primitive unit-cell (A^3) -->
		AUTO
	</MinPrimitiveUnitCellVolume>

	<MaxPrimitiveUnitCellVolume>
	<!-- Upper threshold for the volume of primitive unit-cell (A^3) -->
		AUTO
	</MaxPrimitiveUnitCellVolume>

	<MaxNumberOfTwoDimTopographs>
	<!-- Upper threshold for the number of quadruples (q1,q2,q3,q4) taken from selected topographs.-->
		AUTO
	</MaxNumberOfTwoDimTopographs>

	<MaxNumberOfLatticeCandidates>
	<!-- Upper threshold for the number of (triclinic) solutions. -->
	 	AUTO
	 </MaxNumberOfLatticeCandidates>

  <!-- Bravais lattice determination -->
	<!--Output unit cells belonging to the Bravai type? (0:No, 1:Yes)-->
	<OutputTriclinic> 1 </OutputTriclinic>
	<OutputMonoclinicP> 1 </OutputMonoclinicP>
	<OutputMonoclinicB> 1 </OutputMonoclinicB>
	<OutputOrthorhombicP> 1 </OutputOrthorhombicP>
	<OutputOrthorhombicC> 1 </OutputOrthorhombicC>
	<OutputOrthorhombicI> 1 </OutputOrthorhombicI>
	<OutputOrthorhombicF> 1 </OutputOrthorhombicF>
	<OutputTetragonalP> 1 </OutputTetragonalP>
	<OutputTetragonalI> 1 </OutputTetragonalI>
	<OutputRhombohedral> 1 </OutputRhombohedral>
	<OutputHexagonal> 1 </OutputHexagonal>
	<OutputCubicP> 1 </OutputCubicP>
	<OutputCubicI> 1 </OutputCubicI>
	<OutputCubicF> 1 </OutputCubicF>

    <!-- Parameters for output.-->
	<Resolution>
	<!-- Relative resolution of d^* = 1/d-values.
	 This value is used for detection of almost identical unit cells.-->
		0.03
	</Resolution>

	<MaxNumberOfPeaksForFOM>
	<!-- Number n of peaks used to calculate figures of Merit.-->
		20
	</MaxNumberOfPeaksForFOM>

	<MinFOM>
	<!-- Any indexing solution is output if its value of de Wolff figure of merit M_n is greater than the following value.-->
	    3.0
	</MinFOM>

	<!-- Lower and upper thresholds for the number of distinct computed lines hkl within the range of the first-to-n'th observed lines.-->
	<MinNumberOfMillerIndicesInRange> AUTO </MinNumberOfMillerIndicesInRange>
	<MaxNumberOfMillerIndicesInRange> AUTO </MaxNumberOfMillerIndicesInRange>

	<!-- Lower and upper thresholds for the unit cell parameters a, b, c (angstrom).-->
	<MinUnitCellEdgeABC> 0.0 </MinUnitCellEdgeABC>
	<MaxUnitCellEdgeABC> 1000.0 </MaxUnitCellEdgeABC>

  <!-- Configuration parameters.-->
	<NumberOfThreadsToUse>
		MAX
	</NumberOfThreadsToUse>
	<AxisForRhombohedralSymmetry> <!-- "Rhombohedral" or "Hexagonal" -->
		Hexagonal
	</AxisForRhombohedralSymmetry>
	<AxisForMonoclinicSymmetry> <!-- "A", "B", or "C" -->
		B
	</AxisForMonoclinicSymmetry>
	<ThresholdOnNormM> <!-- Solutions having M^{Wu} less than this value are removed before Bravais lattice determination -->
		1.9
	</ThresholdOnNormM>
	<ThresholdOnRevM> <!-- Solutions having M^{Rev} less than this value are removed before Bravais lattice determination -->
		1.0
	</ThresholdOnRevM>
	<MinDistanceBetweenLatticePoints>
		2.0
	</MinDistanceBetweenLatticePoints>
  </ConographParameters>
</ZCodeParameters>
