<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Phil</id>
	<title>Phil - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Phil"/>
	<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;action=history"/>
	<updated>2026-06-20T20:51:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=976&amp;oldid=prev</id>
		<title>Nicksauter at 16:54, 18 September 2015</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=976&amp;oldid=prev"/>
		<updated>2015-09-18T16:54:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:54, 18 September 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l79&quot;&gt;Line 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 79:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* mosaicity_limit: maximum moisicity before a frame is rejected&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* mosaicity_limit: maximum moisicity before a frame is rejected&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* distl_minimum_number_spots_for_indexing: indexing will not proceed unless there are at least this many good spots found on the image&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* distl_minimum_number_spots_for_indexing: indexing will not proceed unless there are at least this many good spots found on the image&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Subcategory &amp;lt;code&amp;gt;distl&amp;lt;/code&amp;gt;: parameters specific to spot finding.  &amp;#039;&amp;#039;&amp;#039;NOTE:  More extensive documentation on spotfinder and other parameters is at the [http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;adder&lt;/del&gt;.lbl.gov/labelit/html/spotfinder.html spot finder web site]&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Subcategory &amp;lt;code&amp;gt;distl&amp;lt;/code&amp;gt;: parameters specific to spot finding.  &amp;#039;&amp;#039;&amp;#039;NOTE:  More extensive documentation on spotfinder and other parameters is at the [http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cci&lt;/ins&gt;.lbl.gov/labelit/html/spotfinder.html spot finder web site]&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** res.outer: resolution limit for &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; [Note this is #3 of 3 resolution flags that all must be set together]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** res.outer: resolution limit for &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; [Note this is #3 of 3 resolution flags that all must be set together]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** minimum_signal_height: in units of background noise sigma, how much signal is needed for a spot&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** minimum_signal_height: in units of background noise sigma, how much signal is needed for a spot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nicksauter</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=920&amp;oldid=prev</id>
		<title>Aaron at 18:27, 16 March 2015</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=920&amp;oldid=prev"/>
		<updated>2015-03-16T18:27:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:27, 16 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l135&quot;&gt;Line 135:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 135:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** rotations: angles in degrees for each tile (64)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** rotations: angles in degrees for each tile (64)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** translation: x/y translations for each tile (128)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** translation: x/y translations for each tile (128)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Comparing two phil files ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Often phil files are edited repeatedly by users.  cxi.mpi_submit saves copies of phil files as they are used as a record of which trials were processed using which parameters.  Now, say you have two different phil files that you want to see the differences between them.  Due to comments or rearrangements, diffing the two files isn&#039;t making your life easier.  Do this:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; $ cxi.parameters &gt; default.phil&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; $ libtbx.phil --diff default.phil file1.phil &gt; a.txt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; $ libtbx.phil --diff default.phil file2.phil &gt; b.txt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; $ diff a.txt b.txt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This will show the true differences between the phil files.  Note also that cxi.parameters is a useful tool for seeing all the default parameters available in &#039;&#039;cctbx.xfel&#039;&#039;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=569&amp;oldid=prev</id>
		<title>Nicksauter: /* Hitfinding/indexing/integration phil file */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=569&amp;oldid=prev"/>
		<updated>2014-08-22T20:11:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Hitfinding/indexing/integration phil file&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;As described in the [[overview]], &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; files contain parameters used during hitfinding, indexing and integration.  This tutorial uses two &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; files during the indexing and integration step: Ls04-lysozyme.phil and metrology-7.1.phil.  The former specifies parameters specific to the processing run, while the latter specifies whole-pixel and sub-pixel metrology corrections applied to the 64 CSPAD sensor tiles.&lt;br /&gt;
&lt;br /&gt;
== Hitfinding/indexing/integration &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file ==&lt;br /&gt;
&lt;br /&gt;
For the tutorial, Ls04-lysozyme.phil, stored in the /reg/d/ffb/cxi/temp/cctbx/tutorials/indexing directory but copied to your ~/myrelease directory during use, contains configuration settings we worked out that best process this data.  The file will look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# -*- mode: Conf -*-&lt;br /&gt;
&lt;br /&gt;
include file metrology-7.1.phil&lt;br /&gt;
&lt;br /&gt;
# From looking at 35 images integrated with detz_offset = 581 and&lt;br /&gt;
# without target_cell set.&lt;br /&gt;
target_cell = 38 79 79 90 90 90&lt;br /&gt;
target_cell_centring_type = P&lt;br /&gt;
known_setting = 9&lt;br /&gt;
&lt;br /&gt;
distl_highres_limit = 2.0&lt;br /&gt;
force_method2_resolution_limit = 2.0&lt;br /&gt;
&lt;br /&gt;
mosaicity_limit = 1&lt;br /&gt;
&lt;br /&gt;
# Set to True to pick up second lattice, if present.&lt;br /&gt;
#outlier_detection_switch = True&lt;br /&gt;
&lt;br /&gt;
# TEST&lt;br /&gt;
distl_minimum_number_spots_for_indexing = 20&lt;br /&gt;
&lt;br /&gt;
distl {&lt;br /&gt;
  res.outer = 2.0&lt;br /&gt;
  minimum_signal_height = 5&lt;br /&gt;
  #minimum_spot_height = 10&lt;br /&gt;
  minimum_spot_height = 5&lt;br /&gt;
  minimum_spot_area = 1&lt;br /&gt;
  spot_area_maximum_factor = 20&lt;br /&gt;
  compactness_filter = False&lt;br /&gt;
  #method2_cutoff_percentage = 5&lt;br /&gt;
  method2_cutoff_percentage = 2.5&lt;br /&gt;
&lt;br /&gt;
  # Avoids intensity filter.&lt;br /&gt;
  #peak_intensity_maximum_factor = 10000&lt;br /&gt;
  peak_intensity_maximum_factor = 100&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
indexing {&lt;br /&gt;
  # Set to True to generate correction vectors.&lt;br /&gt;
  verbose_cv = True&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
integration {&lt;br /&gt;
  background_factor = 2&lt;br /&gt;
&lt;br /&gt;
  #detector_gain = 7.5&lt;br /&gt;
  detector_gain = 1.0&lt;br /&gt;
&lt;br /&gt;
  #model = use_case_3_simulated_annealing_7&lt;br /&gt;
  model = user_supplied&lt;br /&gt;
&lt;br /&gt;
  signal_penetration = 0.5&lt;br /&gt;
  #spot_shape_verbose = False [This time consuming option prints out a detailed shape analysis of every spot]&lt;br /&gt;
  spotfinder_subset = spots_non-ice&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several lines of parameters are given, then a few parameter blocks are specified, enclosed in {} brackets.  The parameters in detail:&lt;br /&gt;
* include file metrology-7.1.phil: this line specifies another &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file to include.  In this case, the included file specifies metrology corrections (see below).&lt;br /&gt;
* target_cell: the known unit cell for this sample.  In the form a, b, c, alpha, beta, gamma.  Must be in the primitive setting, or specify a target_cell_centring_type.  Or, convert the dimensions first to the primitive setting with &amp;#039;&amp;#039;iotbx.lattice_symmetry&amp;#039;&amp;#039;.&lt;br /&gt;
* target_cell_centring_type: the centering type of the Bravais lattice: P (default), C, I, R, or F.&lt;br /&gt;
* known_setting: this is the setting number of the true Bravais symmetry as output by the autoindexing procedure in &amp;#039;&amp;#039;LABELIT&amp;#039;&amp;#039;.  The indexing process fundamentally determines the triclinic cell, but also a list of possible Bravais lattices.  Normally we associate the following setting numbers with the crystal systems:&lt;br /&gt;
**Triclinic=1&lt;br /&gt;
**Monoclinic=2&lt;br /&gt;
**Orthorhombic=5&lt;br /&gt;
**Rhombohedral=5&lt;br /&gt;
**Tetragonal=9&lt;br /&gt;
**Hexagonal=12&lt;br /&gt;
**Cubic=22&lt;br /&gt;
**However, the assumptions break down if there is pseudosymmetry, i.e., if a higher-symmetry Bravais lattice is close to the true Bravais symmetry.  In these cases, a careful inspection of the &amp;#039;&amp;#039;LABELIT&amp;#039;&amp;#039; output is necessary to choose the setting, and it may be necessary to implement new code in &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; for this (contact the authors).&lt;br /&gt;
* distl_highres_limit and force_method2_resolution_limit: only process to this resolution limit.  [Note these are #1 and #2 of 3 resolution flags that all must be set together]&lt;br /&gt;
* mosaicity_limit: maximum moisicity before a frame is rejected&lt;br /&gt;
* distl_minimum_number_spots_for_indexing: indexing will not proceed unless there are at least this many good spots found on the image&lt;br /&gt;
* Subcategory &amp;lt;code&amp;gt;distl&amp;lt;/code&amp;gt;: parameters specific to spot finding.  &amp;#039;&amp;#039;&amp;#039;NOTE:  More extensive documentation on spotfinder and other parameters is at the [http://adder.lbl.gov/labelit/html/spotfinder.html spot finder web site]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** res.outer: resolution limit for &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; [Note this is #3 of 3 resolution flags that all must be set together]&lt;br /&gt;
** minimum_signal_height: in units of background noise sigma, how much signal is needed for a spot&lt;br /&gt;
** minimum_spot_height: minimum height for a pixel to be considered a maximum (after it&amp;#039;s determined to be signal)&lt;br /&gt;
** minimum_spot_area: minimum area in pixels for each spot.  NOTE: there is a longstanding bug in Spotfinder; increment this number by +1 to get the actually-used minimum area.&lt;br /&gt;
** spot_area_maximum_factor: in multiples of minimum spot area, how large spots are allowed to be&lt;br /&gt;
** compactness_filter: (Use False).  This is an experimental algorithm that insists that spots need to be compact; e.g., a line 4 pixels long is not an acceptable spot.  However, it turns out that many XFEL spots are not compact, so this algorithm degrades XFEL performance. &lt;br /&gt;
** method2_cutoff_percentage: Controls how method2 (see the Spotfinder paper) chooses the resolution cutoff.  Synchrotron data: 25 is OK.  XFEL stills: requires low values, try 5.  Lower numbers result in  the determination of more expansive values for the resolution cutoff. &lt;br /&gt;
** peak_intensity_maximum_factor: a peak intensity filter&lt;br /&gt;
* Subcategory &amp;lt;code&amp;gt;indexing&amp;lt;/code&amp;gt;:&lt;br /&gt;
** verbose_cv: if true, correction vectors are generated.  This is verbose output required for the metrology cutoff.  Not for routine users.&lt;br /&gt;
* Subcategory &amp;lt;code&amp;gt;integration&amp;lt;/code&amp;gt;:&lt;br /&gt;
** background_factor: ratio of # pixels used for background subtraction : # pixels in spot&lt;br /&gt;
** detector_gain: ADU units per photon&lt;br /&gt;
** model: &amp;#039;&amp;#039;labelit&amp;#039;&amp;#039; has several integration models, and allows users to provide their own.  The model listed here is custom for these xfel applications&lt;br /&gt;
** signal_penetration: thickness of the CSPAD sensors.&lt;br /&gt;
** spotfinder_subset: which spots found by &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; to use.  Choose from: &amp;lt; add &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Metrology phil ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Update 12/11/13: quad translations and tile translations should no longer be specified in the phil file.  These live in the code for now.  We are re-working the file storage type and in the future we won&amp;#039;t need these at all.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; applies 4 levels of metrology:&lt;br /&gt;
* Optical metrology: this is supplied by LCLS.  The pyana config file specifies a path to a directory where initial tile placements are specified.&lt;br /&gt;
* Quadrant translations: adjustments to each of the 4 quadrants as a whole. &amp;#039;&amp;#039;(12/11/13: specified in the codebase)&amp;#039;&amp;#039;&lt;br /&gt;
* Unit-pixel or whole-pixel metrology: a series of whole-pixel translations applied to each tile. &amp;#039;&amp;#039;(12/11/13: specified in the codebase)&amp;#039;&amp;#039;&lt;br /&gt;
* Sub-pixel metrology: fractional corrections including translations and rotations of each tile.  Used during integration.&lt;br /&gt;
&lt;br /&gt;
Sub-pixel metrology corrections are contained in the metrology &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file.  For this tutorial that is metrology-7.1.phil:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
distl {&lt;br /&gt;
  detector_tiling = None&lt;br /&gt;
  peripheral_margin = 1&lt;br /&gt;
)&lt;br /&gt;
integration {&lt;br /&gt;
  # This is L785_119.&lt;br /&gt;
  subpixel_joint_model {&lt;br /&gt;
    rotations = \&lt;br /&gt;
       0.1056719175    0.1080664532  -0.2151669703  -0.2099097279   \&lt;br /&gt;
       ...&lt;br /&gt;
    translations = \&lt;br /&gt;
       0.2700895641   -0.6117579705  -0.5111648376  -0.8676594815   \&lt;br /&gt;
       ...&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These parameters are in detail:&lt;br /&gt;
* distl subsection: quadrant translations and single-pixel tile translations&lt;br /&gt;
** detector_tiling: &amp;lt; add &amp;gt;&lt;br /&gt;
** peripheral_margin: how many pixels to leave as a border around the final image&lt;br /&gt;
* integration subsection: sub-pixel adjustments applied during reflection integration:&lt;br /&gt;
** subpixel_joint_model: root tag for the sub-pixel corrections&lt;br /&gt;
*** rotations: angles in degrees for each tile (64)&lt;br /&gt;
*** translation: x/y translations for each tile (128)&lt;/div&gt;</summary>
		<author><name>Nicksauter</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=255&amp;oldid=prev</id>
		<title>Aaron: /* Metrology phil */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=255&amp;oldid=prev"/>
		<updated>2013-12-12T01:11:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Metrology phil&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;As described in the [[overview]], &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; files contain parameters used during hitfinding, indexing and integration.  This tutorial uses two &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; files during the indexing and integration step: Ls04-lysozyme.phil and metrology-7.1.phil.  The former specifies parameters specific to the processing run, while the latter specifies whole-pixel and sub-pixel metrology corrections applied to the 64 CSPAD sensor tiles.&lt;br /&gt;
&lt;br /&gt;
== Hitfinding/indexing/integration &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file ==&lt;br /&gt;
&lt;br /&gt;
For the tutorial, Ls04-lysozyme.phil, stored in the /reg/d/ffb/cxi/temp/cctbx/tutorials/indexing directory but copied to your ~/myrelease directory during use, contains configuration settings we worked out that best process this data.  The file will look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# -*- mode: Conf -*-&lt;br /&gt;
&lt;br /&gt;
include file metrology-7.1.phil&lt;br /&gt;
&lt;br /&gt;
# From looking at 35 images integrated with detz_offset = 581 and&lt;br /&gt;
# without target_cell set.&lt;br /&gt;
target_cell = 38 79 79 90 90 90&lt;br /&gt;
target_cell_centring_type = P&lt;br /&gt;
known_setting = 9&lt;br /&gt;
&lt;br /&gt;
distl_highres_limit = 2.0&lt;br /&gt;
force_method2_resolution_limit = 2.0&lt;br /&gt;
&lt;br /&gt;
mosaicity_limit = 1&lt;br /&gt;
&lt;br /&gt;
# Set to True to pick up second lattice, if present.&lt;br /&gt;
#outlier_detection_switch = True&lt;br /&gt;
&lt;br /&gt;
# TEST&lt;br /&gt;
distl_minimum_number_spots_for_indexing = 20&lt;br /&gt;
&lt;br /&gt;
distl {&lt;br /&gt;
  res.outer = 2.0&lt;br /&gt;
  minimum_signal_height = 5&lt;br /&gt;
  #minimum_spot_height = 10&lt;br /&gt;
  minimum_spot_height = 5&lt;br /&gt;
  minimum_spot_area = 1&lt;br /&gt;
  spot_area_maximum_factor = 20&lt;br /&gt;
  compactness_filter = False&lt;br /&gt;
  #method2_cutoff_percentage = 5&lt;br /&gt;
  method2_cutoff_percentage = 2.5&lt;br /&gt;
&lt;br /&gt;
  # Avoids intensity filter.&lt;br /&gt;
  #peak_intensity_maximum_factor = 10000&lt;br /&gt;
  peak_intensity_maximum_factor = 100&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
indexing {&lt;br /&gt;
  # Set to True to generate correction vectors.&lt;br /&gt;
  verbose_cv = True&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
integration {&lt;br /&gt;
  background_factor = 2&lt;br /&gt;
&lt;br /&gt;
  #detector_gain = 7.5&lt;br /&gt;
  detector_gain = 1.0&lt;br /&gt;
&lt;br /&gt;
  #model = use_case_3_simulated_annealing_7&lt;br /&gt;
  model = user_supplied&lt;br /&gt;
&lt;br /&gt;
  signal_penetration = 0.5&lt;br /&gt;
  #spot_shape_verbose = True&lt;br /&gt;
  spotfinder_subset = spots_non-ice&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several lines of parameters are given, then a few parameter blocks are specified, enclosed in {} brackets.  The parameters in detail:&lt;br /&gt;
* include file metrology-7.1.phil: this line specifies another &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file to include.  In this case, the included file specifies metrology corrections (see below).&lt;br /&gt;
* target_cell: the known unit cell for this sample.  In the form a, b, c, alpha, beta, gamma.  Must be in the primitive setting, or specify a target_cell_centring_type.  Or, convert the dimensions first to the primitive setting with &amp;#039;&amp;#039;iotbx.lattice_symmetry&amp;#039;&amp;#039;.&lt;br /&gt;
* target_cell_centring_type: the centering type of the Bravais lattice: P (default), C, I, R, or F.&lt;br /&gt;
* known_setting: this is the setting number of the true Bravais symmetry as output by the autoindexing procedure in &amp;#039;&amp;#039;LABELIT&amp;#039;&amp;#039;.  The indexing process fundamentally determines the triclinic cell, but also a list of possible Bravais lattices.  Normally we associate the following setting numbers with the crystal systems:&lt;br /&gt;
**Triclinic=1&lt;br /&gt;
**Monoclinic=2&lt;br /&gt;
**Orthorhombic=5&lt;br /&gt;
**Rhombohedral=5&lt;br /&gt;
**Tetragonal=9&lt;br /&gt;
**Hexagonal=12&lt;br /&gt;
**Cubic=22&lt;br /&gt;
**However, the assumptions break down if there is pseudosymmetry, i.e., if a higher-symmetry Bravais lattice is close to the true Bravais symmetry.  In these cases, a careful inspection of the &amp;#039;&amp;#039;LABELIT&amp;#039;&amp;#039; output is necessary to choose the setting, and it may be necessary to implement new code in &amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; for this (contact the authors).&lt;br /&gt;
* distl_highres_limit and force_method2_resolution_limit: only process to this resolution limit.  [Note these are #1 and #2 of 3 resolution flags that all must be set together]&lt;br /&gt;
* mosaicity_limit: maximum moisicity before a frame is rejected&lt;br /&gt;
* distl_minimum_number_spots_for_indexing: indexing will not proceed unless there are at least this many good spots found on the image&lt;br /&gt;
* Subcategory distl: parameters specific to spot finding&lt;br /&gt;
** res.outer: resolution limit for &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; [Noet this is #3 of 3 resolution flags that all must be set together]&lt;br /&gt;
** minimum_signal_height: in units of background noise sigma, how much signal is needed for a spot&lt;br /&gt;
** minimum_spot_height: minimum height for a pixel to be considered a maximum (after it&amp;#039;s determined to be signal)&lt;br /&gt;
** minimum_spot_area: minimum area in pixels for each spot.  NOTE: there is a longstanding bug in Spotfinder; increment this number by +1 to get the actually-used minimum area.&lt;br /&gt;
** spot_area_maximum_factor: in multiples of minimum spot area, how large spots are allowed to be&lt;br /&gt;
** compactness_filter: (Use False).  This is an experimental algorithm that insists that spots need to be compact; e.g., a line 4 pixels long is not an acceptable spot.  However, it turns out that many XFEL spots are not compact, so this algorithm degrades XFEL performance. &lt;br /&gt;
** method2_cutoff_percentage: Controls how method2 (see the Spotfinder paper) chooses the resolution cutoff.  Synchrotron data: 25 is OK.  XFEL stills: requires low values, try 5.  Lower numbers result in  the determination of more expansive values for the resolution cutoff. &lt;br /&gt;
** peak_intensity_maximum_factor: a peak intensity filter&lt;br /&gt;
* Subcategory indexing:&lt;br /&gt;
** verbose_cv: if true, correction vectors are generated.  This is verbose output required for the metrology cutoff.  Not for routine users.&lt;br /&gt;
* Subcategory: integration&lt;br /&gt;
** background_factor:&lt;br /&gt;
** detector_gain: ADU units per photon&lt;br /&gt;
** model: &amp;#039;&amp;#039;labelit&amp;#039;&amp;#039; has several integration models, and allows users to provide their own.  The model listed here is custom for these xfel applications&lt;br /&gt;
** signal_penetration: thickness of the CSPAD sensors.&lt;br /&gt;
** spotfinder_subset: which spots found by &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; to use.  Choose from: &amp;lt; add &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Metrology phil ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Update 12/11/13: quad translations and tile translations should no longer be specified in the phil file.  These live in the code for now.  We are re-working the file storage type and in the future we won&amp;#039;t need these at all.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; applies 4 levels of metrology:&lt;br /&gt;
* Optical metrology: this is supplied by LCLS.  The pyana config file specifies a path to a directory where initial tile placements are specified.&lt;br /&gt;
* Quadrant translations: adjustments to each of the 4 quadrants as a whole. &amp;#039;&amp;#039;(12/11/13: specified in the codebase)&amp;#039;&amp;#039;&lt;br /&gt;
* Unit-pixel or whole-pixel metrology: a series of whole-pixel translations applied to each tile. &amp;#039;&amp;#039;(12/11/13: specified in the codebase)&amp;#039;&amp;#039;&lt;br /&gt;
* Sub-pixel metrology: fractional corrections including translations and rotations of each tile.  Used during integration.&lt;br /&gt;
&lt;br /&gt;
Sub-pixel metrology corrections are contained in the metrology &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file.  For this tutorial that is metrology-7.1.phil:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
distl {&lt;br /&gt;
  detector_tiling = None&lt;br /&gt;
  peripheral_margin = 1&lt;br /&gt;
)&lt;br /&gt;
integration {&lt;br /&gt;
  # This is L785_119.&lt;br /&gt;
  subpixel_joint_model {&lt;br /&gt;
    rotations = \&lt;br /&gt;
       0.1056719175    0.1080664532  -0.2151669703  -0.2099097279   \&lt;br /&gt;
       ...&lt;br /&gt;
    translations = \&lt;br /&gt;
       0.2700895641   -0.6117579705  -0.5111648376  -0.8676594815   \&lt;br /&gt;
       ...&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These parameters are in detail:&lt;br /&gt;
* distl subsection: quadrant translations and single-pixel tile translations&lt;br /&gt;
** detector_tiling: &amp;lt; add &amp;gt;&lt;br /&gt;
** peripheral_margin: how many pixels to leave as a border around the final image&lt;br /&gt;
* integration subsection: sub-pixel adjustments applied during reflection integration:&lt;br /&gt;
** subpixel_joint_model: root tag for the sub-pixel corrections&lt;br /&gt;
*** rotations: angles in degrees for each tile (64)&lt;br /&gt;
*** translation: x/y translations for each tile (128)&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=254&amp;oldid=prev</id>
		<title>Aaron: /* Hitfinding/indexing/integration phil file */</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=254&amp;oldid=prev"/>
		<updated>2013-10-03T22:48:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Hitfinding/indexing/integration phil file&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:48, 3 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;known_setting = 9&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;known_setting = 9&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Try 2: change resolution from 1.8 to 3.0 �~E.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Try 2: change resolution from 3.0 to 2.0 �~E.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;distl_highres_limit = 2.0&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;distl_highres_limit = 2.0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;force_method2_resolution_limit = 2.0&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;force_method2_resolution_limit = 2.0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot;&gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Several lines of parameters are given, then a few parameter blocks are specified, enclosed in {} brackets.  The parameters in detail:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Several lines of parameters are given, then a few parameter blocks are specified, enclosed in {} brackets.  The parameters in detail:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* include file metrology-7.1.phil: this line specifies another &#039;&#039;phil&#039;&#039; file to include.  In this case, the included file specifies metrology corrections (see below).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* target_cell: known unit cell for this sample.  In the form a, b, c, alpha, beta, gamma&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* target_cell: known unit cell for this sample.  In the form a, b, c, alpha, beta, gamma&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* known_setting: &amp;lt; Nick will add a description and how to derive this soon &amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* known_setting: &amp;lt; Nick will add a description and how to derive this soon &amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l86&quot;&gt;Line 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** model: &amp;#039;&amp;#039;labelit&amp;#039;&amp;#039; has several integration models, and allows users to provide their own.  The model listed here is custom for these xfel applications&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** model: &amp;#039;&amp;#039;labelit&amp;#039;&amp;#039; has several integration models, and allows users to provide their own.  The model listed here is custom for these xfel applications&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** signal_penetration: thickness of the CSPAD sensors.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** signal_penetration: thickness of the CSPAD sensors.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** spotfinder_subset: which spots found by &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; to use.  Choose from:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** spotfinder_subset: which spots found by &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; to use.  Choose from: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt; add &amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Metrology phil ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;cctbx.xfel&amp;#039;&amp;#039; applies 4 levels of metrology:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Optical metrology: this is supplied by LCLS.  The pyana config file specifies a path to a directory where initial tile placements are specified.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Quadrant translations: adjustments to each of the 4 quadrants as a whole.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Unit-pixel or whole-pixel metrology: a series of whole-pixel translations applied to each tile.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Sub-pixel metrology: fractional corrections including translations and rotations of each tile.  Used during integration.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The latter two corrections are contained in the metrology &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file.  For this tutorial that is metrology-7.1.phil:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;distl {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  detector_format_version = &amp;quot;CXI 7.1&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  detector_tiling = None&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  peripheral_margin = 1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  quad_translations =  2 -6  3 -6 -7  0 -1 -4&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  tile_translations =  2  1  1  1  1  2  0  2  3  0  0  0  4  1  3  1 \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  ...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;integration {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  # This is L785_119.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  subpixel_joint_model {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    rotations = \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       0.1056719175    0.1080664532  -0.2151669703  -0.2099097279   \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       ...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    translations = \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       0.2700895641   -0.6117579705  -0.5111648376  -0.8676594815   \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       ...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;These parameters are in detail:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* distl subsection: quadrant translations and single-pixel tile translations&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** detector_format_version: deprecated.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** detector_tiling: &amp;lt; add &amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** peripheral_margin: how many pixels to leave as a border around the final image&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** quad_translations: set of x/y adjustmants to each quadrant&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** tile_translations: set of x/y adjustments to each tile (128 total)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* integration subsection: sub-pixel adjustments applied during reflection integration:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** subpixel_joint_model: root tag for the sub-pixel corrections&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*** rotations: angles in degrees for each tile (64)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*** translation: x/y translations for each tile (128)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=253&amp;oldid=prev</id>
		<title>Aaron: Created page with &quot;As described in the overview, &#039;&#039;phil&#039;&#039; files contain parameters used during hitfinding, indexing and integration.  This tutorial uses two &#039;&#039;phil&#039;&#039; files during the indexin...&quot;</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Phil&amp;diff=253&amp;oldid=prev"/>
		<updated>2013-10-03T22:22:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;As described in the &lt;a href=&quot;/cctbx.xfel/index.php/Overview&quot; title=&quot;Overview&quot;&gt;overview&lt;/a&gt;, &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; files contain parameters used during hitfinding, indexing and integration.  This tutorial uses two &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; files during the indexin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;As described in the [[overview]], &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; files contain parameters used during hitfinding, indexing and integration.  This tutorial uses two &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; files during the indexing and integration step: Ls04-lysozyme.phil and metrology-7.1.phil.  The former specifies parameters specific to the processing run, while the latter specifies whole-pixel and sub-pixel metrology corrections applied to the 64 CSPAD sensor tiles.&lt;br /&gt;
&lt;br /&gt;
== Hitfinding/indexing/integration &amp;#039;&amp;#039;phil&amp;#039;&amp;#039; file ==&lt;br /&gt;
&lt;br /&gt;
For the tutorial, Ls04-lysozyme.phil, stored in the /reg/d/ffb/cxi/temp/cctbx/tutorials/indexing directory but copied to your ~/myrelease directory during use, contains configuration settings we worked out that best process this data.  The file will look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# -*- mode: Conf -*-&lt;br /&gt;
&lt;br /&gt;
include file metrology-7.1.phil&lt;br /&gt;
&lt;br /&gt;
# From looking at 35 images integrated with detz_offset = 581 and&lt;br /&gt;
# without target_cell set.&lt;br /&gt;
target_cell = 38 79 79 90 90 90&lt;br /&gt;
known_setting = 9&lt;br /&gt;
&lt;br /&gt;
# Try 2: change resolution from 1.8 to 3.0 �~E.&lt;br /&gt;
# Try 2: change resolution from 3.0 to 2.0 �~E.&lt;br /&gt;
distl_highres_limit = 2.0&lt;br /&gt;
force_method2_resolution_limit = 2.0&lt;br /&gt;
&lt;br /&gt;
mosaicity_limit = 1&lt;br /&gt;
&lt;br /&gt;
# Set to True to pick up second lattice, if present.&lt;br /&gt;
#outlier_detection_switch = True&lt;br /&gt;
&lt;br /&gt;
# TEST&lt;br /&gt;
distl_minimum_number_spots_for_indexing = 20&lt;br /&gt;
&lt;br /&gt;
distl {&lt;br /&gt;
  res.outer = 2.0&lt;br /&gt;
  minimum_signal_height = 5&lt;br /&gt;
  #minimum_spot_height = 10&lt;br /&gt;
  minimum_spot_height = 5&lt;br /&gt;
  minimum_spot_area = 1&lt;br /&gt;
  spot_area_maximum_factor = 20&lt;br /&gt;
  compactness_filter = False&lt;br /&gt;
  #method2_cutoff_percentage = 5&lt;br /&gt;
  method2_cutoff_percentage = 2.5&lt;br /&gt;
&lt;br /&gt;
  # Avoids intensity filter.&lt;br /&gt;
  #peak_intensity_maximum_factor = 10000&lt;br /&gt;
  peak_intensity_maximum_factor = 100&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
indexing {&lt;br /&gt;
  # Set to True to generate correction vectors.&lt;br /&gt;
  verbose_cv = True&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
integration {&lt;br /&gt;
  background_factor = 2&lt;br /&gt;
&lt;br /&gt;
  #detector_gain = 7.5&lt;br /&gt;
  detector_gain = 1.0&lt;br /&gt;
&lt;br /&gt;
  #model = use_case_3_simulated_annealing_7&lt;br /&gt;
  model = user_supplied&lt;br /&gt;
&lt;br /&gt;
  signal_penetration = 0.5&lt;br /&gt;
  #spot_shape_verbose = True&lt;br /&gt;
  spotfinder_subset = spots_non-ice&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several lines of parameters are given, then a few parameter blocks are specified, enclosed in {} brackets.  The parameters in detail:&lt;br /&gt;
* target_cell: known unit cell for this sample.  In the form a, b, c, alpha, beta, gamma&lt;br /&gt;
* known_setting: &amp;lt; Nick will add a description and how to derive this soon &amp;gt;&lt;br /&gt;
* distl_highres_limit and force_method2_resolution_limit: only process to this resolution limit.  &lt;br /&gt;
* mosaicity_limit: maximum moisicity before a frame is rejected&lt;br /&gt;
* distl_minimum_number_spots_for_indexing: indexing will not proceed unless there are at least this many good spots found on the image&lt;br /&gt;
* Subcategory distl: parameters specific to spot finding&lt;br /&gt;
** res.outer: resolution limit for &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039;&lt;br /&gt;
** minimum_signal_height: in units of background noise sigma, how much signal is needed for a spot&lt;br /&gt;
** minimum_spot_height: minimum height for a pixel to be considered a maximum (after it&amp;#039;s determined to be signal)&lt;br /&gt;
** minimum_spot_area: minimum area in pixels for each spot&lt;br /&gt;
** spot_area_maximum_factor: in multiples of minimum spot area, how large spots are allowed to be&lt;br /&gt;
** compactness_filter: &amp;lt; Nick to add a description here &amp;gt;&lt;br /&gt;
** method2_cutoff_percentage: &amp;lt; Nick to add a description here &amp;gt;&lt;br /&gt;
** peak_intensity_maximum_factor: a peak intensity filter&lt;br /&gt;
* Subcategory indexing:&lt;br /&gt;
** verbose_cv: if true, correction vectors are generated &amp;lt; more detail here &amp;gt;&lt;br /&gt;
* Subcategory: integration&lt;br /&gt;
** background_factor:&lt;br /&gt;
** detector_gain: ADU units per photon&lt;br /&gt;
** model: &amp;#039;&amp;#039;labelit&amp;#039;&amp;#039; has several integration models, and allows users to provide their own.  The model listed here is custom for these xfel applications&lt;br /&gt;
** signal_penetration: thickness of the CSPAD sensors.&lt;br /&gt;
** spotfinder_subset: which spots found by &amp;#039;&amp;#039;spotfinder&amp;#039;&amp;#039; to use.  Choose from:&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
</feed>