Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > ce1f17e7ec5e62f35dbe9f064c5f74d7 > files > 719

libtpcimgio-devel-1.5.10-4.fc15.i686.rpm

<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>imgdecay.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dir_a8d1f883face730575470ec1817ab013.html">include</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">imgdecay.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="img_8h_source.html">img.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for imgdecay.h:</div>
<div class="dyncontent">
<div class="center"><img src="imgdecay_8h__incl.png" border="0" usemap="#imgdecay_8h" alt=""/></div>
<map name="imgdecay_8h" id="imgdecay_8h">
<area shape="rect" id="node3" href="img_8h.html" title="img.h" alt="" coords="23,83,76,112"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="imgdecay_8h__dep__incl.png" border="0" usemap="#imgdecay_8hdep" alt=""/></div>
<map name="imgdecay_8hdep" id="imgdecay_8hdep">
<area shape="rect" id="node3" href="img__ana_8c.html" title="img_ana.c" alt="" coords="5,83,88,112"/><area shape="rect" id="node5" href="img__e63_8c.html" title="img_e63.c" alt="" coords="112,83,195,112"/><area shape="rect" id="node7" href="img__e7_8c.html" title="img_e7.c" alt="" coords="219,83,293,112"/><area shape="rect" id="node9" href="imgdecay_8c.html" title="imgdecay.c" alt="" coords="317,83,405,112"/><area shape="rect" id="node11" href="imgfile_8c.html" title="imgfile.c" alt="" coords="429,83,499,112"/><area shape="rect" id="node13" href="imgio_8h.html" title="imgio.h" alt="" coords="523,83,587,112"/><area shape="rect" id="node15" href="libtpcimgio_8c.html" title="libtpcimgio.c" alt="" coords="452,160,545,189"/><area shape="rect" id="node17" href="micropet_8c.html" title="micropet.c" alt="" coords="569,160,652,189"/></map>
</div>
</div>
<p><a href="imgdecay_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgdecay_8h.html#a9014e4708608b3dc30a8675900ab8e56">imgDecayCorrection</a> (<a class="el" href="structIMG.html">IMG</a> *img, int mode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgdecay_8h.html#a14db419685f526306032a84343eed72c">imgIsotope</a> (<a class="el" href="structIMG.html">IMG</a> *img)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgdecay_8h.html#aae808fa5427e1bf0c499df93073553bf">imgSetDecayCorrFactors</a> (<a class="el" href="structIMG.html">IMG</a> *image, int mode)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a9014e4708608b3dc30a8675900ab8e56"></a><!-- doxytag: member="imgdecay.h::imgDecayCorrection" ref="a9014e4708608b3dc30a8675900ab8e56" args="(IMG *img, int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int imgDecayCorrection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Corrects (mode=1) or removes correction (mode=0) for physical decay. Removal is based on existing decay correction factors, when possible.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>pointer to <a class="el" href="structIMG.html">IMG</a> data </td></tr>
    <tr><td class="paramname">mode</td><td>0=Remove decay correction; 1=Correct for decay </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 if ok, 1 image status is not 'occupied', 2 decay already corrected/not corrected, 3 image frame times missing </dd></dl>

<p>Definition at line <a class="el" href="imgdecay_8c_source.html#l00059">59</a> of file <a class="el" href="imgdecay_8c_source.html">imgdecay.c</a>.</p>

<p>References <a class="el" href="img_8h_source.html#l00184">IMG::decayCorrected</a>, <a class="el" href="img_8h_source.html#l00314">IMG::decayCorrFactor</a>, <a class="el" href="img_8h_source.html#l00259">IMG::dimt</a>, <a class="el" href="img_8h_source.html#l00261">IMG::dimx</a>, <a class="el" href="img_8h_source.html#l00263">IMG::dimy</a>, <a class="el" href="img_8h_source.html#l00265">IMG::dimz</a>, <a class="el" href="img_8h_source.html#l00292">IMG::end</a>, <a class="el" href="img_8h_source.html#l00073">IMG_STATUS_OCCUPIED</a>, <a class="el" href="img_8h_source.html#l00128">IMG_TEST</a>, <a class="el" href="img_8h_source.html#l00182">IMG::isotopeHalflife</a>, <a class="el" href="img_8h_source.html#l00274">IMG::m</a>, <a class="el" href="img_8h_source.html#l00290">IMG::start</a>, and <a class="el" href="img_8h_source.html#l00164">IMG::status</a>.</p>

</div>
</div>
<a class="anchor" id="a14db419685f526306032a84343eed72c"></a><!-- doxytag: member="imgdecay.h::imgIsotope" ref="a14db419685f526306032a84343eed72c" args="(IMG *img)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* imgIsotope </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns pointer to string describing the isotope in image data</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>image stucture </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to string </dd></dl>

<p>Definition at line <a class="el" href="imgdecay_8c_source.html#l00110">110</a> of file <a class="el" href="imgdecay_8c_source.html">imgdecay.c</a>.</p>

<p>References <a class="el" href="img_8h_source.html#l00182">IMG::isotopeHalflife</a>.</p>

<p>Referenced by <a class="el" href="img__e63_8c_source.html#l00886">ecat63AddImg()</a>, <a class="el" href="img__e63_8c_source.html#l00374">ecat63WriteAllImg()</a>, <a class="el" href="img__e63_8c_source.html#l01208">imgSetEcat63MHeader()</a>, and <a class="el" href="img__e7_8c_source.html#l00734">imgSetEcat7MHeader()</a>.</p>

</div>
</div>
<a class="anchor" id="aae808fa5427e1bf0c499df93073553bf"></a><!-- doxytag: member="imgdecay.h::imgSetDecayCorrFactors" ref="aae808fa5427e1bf0c499df93073553bf" args="(IMG *image, int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int imgSetDecayCorrFactors </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets (mode=1) or removes (mode=0) decay correction factors in <a class="el" href="structIMG.html">IMG</a>. <a class="el" href="structIMG.html">IMG</a> pixel data is not changed.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>pointer to <a class="el" href="structIMG.html">IMG</a> data </td></tr>
    <tr><td class="paramname">mode</td><td>factors are calculated for decay correction (1) or for removing decay correction (0) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 if ok, 1 image status is not 'occupied', 2 invalid exponent value, 3 image frame times are missing </dd></dl>

<p>Definition at line <a class="el" href="imgdecay_8c_source.html#l00126">126</a> of file <a class="el" href="imgdecay_8c_source.html">imgdecay.c</a>.</p>

<p>References <a class="el" href="img_8h_source.html#l00184">IMG::decayCorrected</a>, <a class="el" href="img_8h_source.html#l00314">IMG::decayCorrFactor</a>, <a class="el" href="img_8h_source.html#l00259">IMG::dimt</a>, <a class="el" href="img_8h_source.html#l00292">IMG::end</a>, <a class="el" href="img_8h_source.html#l00073">IMG_STATUS_OCCUPIED</a>, <a class="el" href="img_8h_source.html#l00182">IMG::isotopeHalflife</a>, <a class="el" href="img_8h_source.html#l00290">IMG::start</a>, and <a class="el" href="img_8h_source.html#l00164">IMG::status</a>.</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Aug 8 2011 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>