<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to PolyXSim</title><link>https://sourceforge.net/p/fable/wiki/PolyXSim/</link><description>Recent changes to PolyXSim</description><atom:link href="https://sourceforge.net/p/fable/wiki/PolyXSim/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 07 Jul 2014 17:27:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/fable/wiki/PolyXSim/feed" rel="self" type="application/rss+xml"/><item><title>PolyXSim modified by &lt;REDACTED&gt;</title><link>https://sourceforge.net/p/fable/wiki/PolyXSim/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="polyxsim-3dxrd-far-field-simulation-of-polycrystals"&gt;PolyXSim - 3DXRD far-field simulation of polycrystals&lt;/h1&gt;
&lt;p&gt;&lt;img alt="Imported from wikispaces" src="/raw-attachment/wiki/MiscWikiFiles/300px-Difimage.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PolyXSim (formerly simul_farfield)&lt;/strong&gt; is a program which simulates &lt;a class="" href="http://www.risoe.dk/Research/sustainable_energy/new_energy_technologies/projects/synchrotron/3DXRD_microscope.aspx" rel="nofollow"&gt;3DXRD&lt;/a&gt; diffraction patterns of polycrystalline (multiphase) materials for the “far-field” case, e.g. with the detector far away from the sample. The potential use is twofold: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To simulate 3DXRD diffraction patterns for debugging of indexing, overlap and integration routines &lt;/li&gt;
&lt;li&gt;To simulate patterns for a specific material to estimate the degree of spot overlap, and thereby feasibility, before an actual experiment is performed. This implies some statistics on the images – to be handled by a separate module. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The geometry is idealized as follows: a horizontal monochromatic beam of no divergence/ energy-spread; data acquisition while rotating sample around one axis (the omega-axis) in equidistant steps; detector perpendicular or tilted relative to the beam in a fixed distance to the centre-of-rotation; detector accounting for spatial distortion, point-spread function and flood field. Coordinate systems as defined &lt;a class="" href="http://www.totalcryst.dk/documents/Geometry_version_1.0.2.pdf" rel="nofollow"&gt;here&lt;/a&gt; and in H.F. Poulsen.&lt;span&gt;[1]&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;The 3DXRD diffraction patterns can be simulated for a multi-phase material with any number of grains. The sample geometry can be either cylindrical or box shaped, and it is possible to simulate the resulting diffraction patterns both when assuming that all grains are fully illuminated at all times, and when the beam width is smaller than the sample dimensions. The space groups and lattice parameters for each phase must be given in the input file along with the maximum value of theta for which to generate reflections ![2]. Alternatively the crystallographic information can be read from a &lt;a class="" href="http://ww1.iucr.org/cif/index.html" rel="nofollow"&gt;crystallographic information file&lt;/a&gt; (.cif) or a &lt;a class="" href="http://www.wwpdb.org/docs.html" rel="nofollow"&gt;protein data bank&lt;/a&gt; (.pdb) file. &lt;/p&gt;
&lt;p&gt;For each grain the centre-of-mass position, orientation, strain tensor and grain size must be specified by the user or randomly generated by the program according to the following scheme: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Positions can be randomly generated within a specified sample volume (box or cylinder). &lt;/li&gt;
&lt;li&gt;Orientations can be randomly generated assuming no texture of the sample. &lt;/li&gt;
&lt;li&gt;Strain tensors, given in the Cartesian grain coordinate system, can be randomly generated using a normal distribution with a specified mean and spread. Different distributions can be used for the axial and shear components. &lt;/li&gt;
&lt;li&gt;Grain sizes are attributed according to a scale-independent log-normal size-distribution. The user must specify the mean of the distribution, and optionally also the min and max cut-offs. The grains are assumed to be spherical, so the intensity of the reflections corresponding to a specific grain will be proportional to the cube of the grain size as well as to the flux of the incoming beam which can also be specified. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The reflection profiles can be simulated in a number of ways: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;As spikes &lt;/li&gt;
&lt;li&gt;Gaussian shape, 2D Gaussian on the detector and 1D Gaussian for the rocking curve &lt;/li&gt;
&lt;li&gt;Using an orientation distribution function, presently the same ODF is used for all grains and phases. &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="running-polyxsim"&gt;Running PolyXSim&lt;/h2&gt;
&lt;p&gt;A graphical user interface exists for PolyXSim, see &lt;a class="" href="../PolyXSim%20-%20gui"&gt;PolyXSim - gui&lt;/a&gt;. Presently not all functionalities are supported. &lt;/p&gt;
&lt;p&gt;To access all functionalities PolyXSim can be run from the command line specifying an input file in which the parameters being used by simulator has been given. The format of the input file is found &lt;a class="" href="../PolyXSim%20-%20input"&gt;here&lt;/a&gt;. If the file e.g. is called simul.inp the simulation is started as follows &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="n"&gt;PolyXSim&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;py&lt;/span&gt; &lt;span class="err"&gt;–&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="n"&gt;simul&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;inp&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;PolyXSim makes a new input file (stem.res) if grain specific parameters is generated by the simulator. This input file can be used to redo the simulation with the same grain orientation, strain etc. &lt;/p&gt;
&lt;p&gt;The PolyXSim &lt;a class="" href="../PolyXSim%20-%20input"&gt;input file format&lt;/a&gt; is the same for both the GUI and the command-line versions. &lt;/p&gt;
&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;
&lt;p&gt;PolyXSim can be downloaded as part of the &lt;a class="" href="/p/fable/wiki/fable%20workbench/"&gt;Fable GUI&lt;/a&gt;. &lt;br /&gt;
A stand-alone version can be dowloaded and installed following these &lt;a class="" href="/p/fable/wiki/PolyXSim%20-%20installation/"&gt;instructions&lt;/a&gt;. &lt;/p&gt;
&lt;h2 id="input"&gt;Input&lt;/h2&gt;
&lt;p&gt;An extensive description of all input parameters and syntax for the PolyXSim input file can be seen &lt;a class="" href="../PolyXSim%20-%20input"&gt;here.&lt;/a&gt; &lt;br /&gt;
Example input file?. &lt;br /&gt;
&lt;em&gt;Warning:&lt;/em&gt; I you are using Windows wordpad editing the input file the file gets DOS linebreaks. This prevents the file from being loaded properly in the FABLE GUI. We recommend to edit the input files using &lt;a class="" href="http://notepad-plus.sourceforge.net/uk/site.htm"&gt;Notepad++&lt;/a&gt; instead (notepad++ can also change a windows type file to a unix type file). &lt;/p&gt;
&lt;h2 id="output"&gt;Output&lt;/h2&gt;
&lt;p&gt;The program returns the following files: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;stem.gff which is a column file containing the information about the simulated grains (grain file format) &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;The&lt;/span&gt; &lt;span class="n"&gt;columns&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt; &lt;span class="n"&gt;comprise&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
    &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;grain&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;
    &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;phase&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;
    &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;grain&lt;/span&gt; &lt;span class="n"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mm&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;grain&lt;/span&gt; &lt;span class="n"&gt;volume&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mm&lt;/span&gt;&lt;span class="err"&gt;³&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;grain&lt;/span&gt; &lt;span class="n"&gt;cms&lt;/span&gt; &lt;span class="n"&gt;position&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;
 &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;orientation&lt;/span&gt; &lt;span class="n"&gt;matrix&lt;/span&gt; &lt;span class="n"&gt;elements&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;order&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
       &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="mi"&gt;17&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;ubi&lt;/span&gt; &lt;span class="n"&gt;matrix&lt;/span&gt; &lt;span class="n"&gt;elements&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;order&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
       &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;UBI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="mi"&gt;26&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;strain&lt;/span&gt; &lt;span class="n"&gt;tensor&lt;/span&gt; &lt;span class="n"&gt;elements&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;order&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
       &lt;span class="n"&gt;eps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;eps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;eps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;eps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;eps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;eps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;stem_gr####_set0000.ref reflection file for grain number #### (OBS: In the newest SVN version of PolyXSim - the parameter '.ref' should be provided using the output keyword in order to output the .ref file) &lt;/p&gt;
&lt;p&gt;Column Value&lt;br /&gt;
 1: Grain number (yyyy)&lt;br /&gt;
 2: Reflection number for this grain - reflection id&lt;br /&gt;
 3: Reflection number for all grains - spot id&lt;br /&gt;
 4: h&lt;br /&gt;
 5: k&lt;br /&gt;
 6: l&lt;br /&gt;
 7: 2θ - 2 theta angle&lt;br /&gt;
 8: ω  - omega angle&lt;br /&gt;
 9: η  - eta angle&lt;br /&gt;
10: dety  - detector y coordinate&lt;br /&gt;
11: detz  - detector z coordinate&lt;br /&gt;
12: detyd - detector y coordinate spatially distorted using a spline file&lt;br /&gt;
13: detzd - detector z coordinate spatially distorted using a spline file&lt;br /&gt;
14: g-vector component along x&lt;br /&gt;
15: g-vector component along y&lt;br /&gt;
16: g-vector component along z&lt;br /&gt;
17: Lorentz factor&lt;br /&gt;
18: Polarization factor&lt;br /&gt;
19: F² - structure factor squared&lt;br /&gt;
20: I - Integrated intensity&lt;br /&gt;
21: 0 - Reserved for later use&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;stem.res resimulation input file, similar to the original input file except all the generated grain parameters are explicitly given. &lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Optional output files - a number of files can be generated on request by the user (specificed with the output keyword in the input file) &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;stem.ubi which contains the inverse of the UB-matrix for each grain in the standard &lt;a class="" href="../imaged11%20-%20file%20formats"&gt;format&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;stem.par (or stem_phase_X.par, X being the phase number if a multiphase material is simulated) is a detector.par (see &lt;a class="" href="../imaged11%20-%20file%20formats"&gt;format&lt;/a&gt;) file containing detector and lattice information for use in &lt;a class="" href="/p/fable/wiki/imaged11/"&gt;ImageD11&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;stem.flt filtered peaks file in the same &lt;a class="" href="../imaged11%20-%20file%20formats"&gt;format&lt;/a&gt; as given by &lt;a class="alink" href="/p/fable/wiki/peaksearch/"&gt;[peaksearch]&lt;/a&gt; but with the true values of dety, detz and omega. &lt;/li&gt;
&lt;li&gt;stem.gve (or stem_phase_X.gve, X being the phase number if a multiphase material is simulated) gvector file. The &lt;a class="" href="../imaged11%20-%20file%20formats"&gt;format&lt;/a&gt; of g-vector file is that of &lt;a class="" href="/p/fable/wiki/imaged11/"&gt;ImageD11&lt;/a&gt;. This enables one to run e.g. &lt;a class="" href="/p/fable/wiki/grainspotter/"&gt;GrainSpotter&lt;/a&gt; without doing &lt;a class="" href="/p/fable/wiki/imaged11%20-%20peaksearching/"&gt;peaksearch&lt;/a&gt; first. &lt;/li&gt;
&lt;li&gt;stem.ini is an input file for &lt;a class="" href="/p/fable/wiki/grainspotter/"&gt;GrainSpotter&lt;/a&gt;. The simulated data can be indexed directly using this file and the stem.gve file, if generated. &lt;/li&gt;
&lt;li&gt;stem#### diffraction images. Formats: .edf or .tif &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;NB! If the detector orientation (o11,o12,o21,o22) is not specified in the input file, they are by default set to o11=o22=1, o12=o21=0. &lt;br /&gt;
Definitions for all the parameters can be found in the geometry document: &lt;span&gt;[file:Geometry_version_1.0.7.pdf]&lt;/span&gt; &lt;/p&gt;
&lt;h2 id="history"&gt;History&lt;/h2&gt;
&lt;p&gt;PolyXSim is an implementation and further development of &lt;a class="" href="/p/fable/wiki/farfield%20simulation%20matlab/"&gt;simul_farfield&lt;/a&gt;. &lt;br /&gt;
Simul_farfiel itself was a generalization of the reflection MATLAB simulator for cubic space groups by H.F. Poulsen. The original code is found on the &lt;a class="" href="http://fable.svn.sourceforge.net/viewvc/fable/matlab/trunk/"&gt;SVN online&lt;/a&gt; &lt;br /&gt;
The algorithm to determine the omega value(s) at which the reflections are in diffraction condition was originally written by Søren Schmidt. &lt;/p&gt;
&lt;h2 id="license"&gt;License&lt;/h2&gt;
&lt;p&gt;Copyright (c) 2006, Henning Osholm Sørensen, Risø National Laboratory, DK-4000 Roskilde, Denmark &lt;br /&gt;
All rights reserved. &lt;br /&gt;
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Redistributions of source code must retain the above copyright notice, this list of con-ditions and the following disclaimer. &lt;/li&gt;
&lt;li&gt;Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. &lt;/li&gt;
&lt;li&gt;Neither the name of the Risø National Laboratory nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This software is provided by the copyright holders and contributors "AS IS" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect incidential, special, exemplary, or consequential damages (including but not limited to, procurement of substitute goods or services, loss of use, data or profits or business interruption) however caused and on any theory of liability, whether in contract, strict liability or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such. &lt;/p&gt;
&lt;h2 id="references"&gt;References&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Poulsen, H.F., &lt;em&gt;Three-dimensional X-ray diffraction microscopy. Mapping polycrystals and their dynamics.&lt;/em&gt; (Springer Tracts in Modern Physics, v. 205) (Springer, Berlin, 2004) &lt;/li&gt;
&lt;li&gt;Le Page, Y and Gabe, E.J., &lt;em&gt;J. Appl. Cryst.&lt;/em&gt; (1979) &lt;strong&gt;12&lt;/strong&gt;, 454-466. &lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</description><pubDate>Mon, 07 Jul 2014 17:27:05 -0000</pubDate><guid>https://sourceforge.netd9b9778eaa27c6ab518136cc1f5a1cb8f1f5fdcb</guid></item></channel></rss>