<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US"> <head> <title>(IUCr) CIF Definition save__array_intensities.linearity</title> <link rel="stylesheet" type="text/css" href="../../itg.css" /> </head> <body> <!-- begin masthead --> <div class="masthead"> <table class="masthead"> <tr> <td class="masthead" width="30%"> <p class="title">DRAFT DICTIONARY</p> <p class="title"><font class="smalltitle"></font>CBF/imgCIF Extensions Dictionary</p> </td> <td class="masthead"> <p class="title">Draft version 1.5 for comment</p> </td> </tr> </table> </div> <!-- end masthead --> <hr> <H1> <a href="http://www.iucr.org/iucr-top/welcome.html"> <img alt="[IUCr Home Page]" src="../html_graphics/iucrhome.jpg" ALIGN=MIDDLE></a> <a href="http://www.iucr.org/iucr-top/cif/home.html"> <img alt="[CIF Home Page]" src="../html_graphics/cifhome.jpg" ALIGN=MIDDLE></a> <a href="cbf_definition_rev.html"><IMG SRC="../html_graphics/CBFbutton.jpg" ALT="[CBF/imgCIF]" ALIGN=MIDDLE></a> <a href="CBFlib.html"><IMG SRC="../html_graphics/cbflibbutton.jpg" ALT="[CBFlib]" ALIGN=MIDDLE></a> </H1> <hr> <!-- begin navbar --> <div class="navbar"> <table class="navbar"> <tr> <td><a class="navbar" href="index.html">Contents</a></td> </tr> </table> </div> <!-- end navbar --> <p class="index"><a class="index" href="index.html">Index</a></p> <h5>Image dictionary (imgCIF) version 1.5.4</h5> <h1>_array_intensities.linearity</h1><b>Name:</b><br /><tt class="cifdefinition">'_array_intensities.linearity'</tt> <p><b>Definition:</b></p><pre class="cifdefinition"> The intensity linearity scaling method used to convert from the raw intensity to the stored element value: 'linear' is linear. 'offset' means that the value defined by <a href="Iarray_intensities.offset.html" class="itemlink">_array_intensities.offset</a> should be added to each element value. 'scaling' means that the value defined by <a href="Iarray_intensities.scaling.html" class="itemlink">_array_intensities.scaling</a> should be multiplied with each element value. 'scaling_offset' is the combination of the two previous cases, with the scale factor applied before the offset value. 'sqrt_scaled' means that the square root of raw intensities multiplied by <a href="Iarray_intensities.scaling.html" class="itemlink">_array_intensities.scaling</a> is calculated and stored, perhaps rounded to the nearest integer. Thus, linearization involves dividing the stored values by <a href="Iarray_intensities.scaling.html" class="itemlink">_array_intensities.scaling</a> and squaring the result. 'logarithmic_scaled' means that the logarithm base 10 of raw intensities multiplied by <a href="Iarray_intensities.scaling.html" class="itemlink">_array_intensities.scaling</a> is calculated and stored, perhaps rounded to the nearest integer. Thus, linearization involves dividing the stored values by <a href="Iarray_intensities.scaling.html" class="itemlink">_array_intensities.scaling</a> and calculating 10 to the power of this number. 'raw' means that the data are a set of raw values straight from the detector. </pre> <p><b>Type:</b> code</p> <p class="pack"><b>Mandatory item:</b> yes</p> <br /><b>The data value must be one of the following:</b><br /><br /> <table width="100%"><tr class="cifexample"><td width="50%"> <br /><tt>linear</tt> </td><td width="50%"> . </td></tr></table> <table width="100%"><tr class="cifexample"><td width="50%"> <br /><tt>offset</tt> </td><td width="50%"> The value defined by _array_intensities.offset should be added to each element value. </td></tr></table> <table width="100%"><tr class="cifexample"><td width="50%"> <br /><tt>scaling</tt> </td><td width="50%"> The value defined by _array_intensities.scaling should be multiplied with each element value. </td></tr></table> <table width="100%"><tr class="cifexample"><td width="50%"> <br /><tt>scaling_offset</tt> </td><td width="50%"> The combination of the scaling and offset with the scale factor applied before the offset value. </td></tr></table> <table width="100%"><tr class="cifexample"><td width="50%"> <br /><tt>sqrt_scaled</tt> </td><td width="50%"> The square root of raw intensities multiplied by _array_intensities.scaling is calculated and stored, perhaps rounded to the nearest integer. Thus, linearization involves dividing the stored values by _array_intensities.scaling and squaring the result. </td></tr></table> <table width="100%"><tr class="cifexample"><td width="50%"> <br /><tt>logarithmic_scaled</tt> </td><td width="50%"> The logarithm base 10 of raw intensities multiplied by _array_intensities.scaling is calculated and stored, perhaps rounded to the nearest integer. Thus, linearization involves dividing the stored values by _array_intensities.scaling and calculating 10 to the power of this number. </td></tr></table> <table width="100%"><tr class="cifexample"><td width="50%"> <br /><tt>raw</tt> </td><td width="50%"> The array consists of raw values to which no corrections have been applied. While the handling of the data is similar to that given for 'linear' data with no offset, the meaning of the data differs in that the number of incident photons is not necessarily linearly related to the number of counts reported. This value is intended for use either in calibration experiments or to allow for handling more complex data-fitting algorithms than are allowed for by this data item. </td></tr></table> <p class="pack"><b>Category:</b> <a href="Carray_intensities.html" class="catlink">array_intensities</a></p> <h4 align=left> HTML version of draft dictionary created by modified version of makedicthtml by B. McMahon from modified version of imgCIF dcitionary 1.3.2 which is subject to the following copyright: </h4> <!-- begin copyright --> <div class="copyright"> <p class="copyright">Copyright © 2005 International Union of Crystallography</p> </div> <!-- end copyright --> </body> </html>