Sophie

Sophie

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

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>sif.h Source File</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="headertitle">
<div class="title">sif.h</div>  </div>
</div>
<div class="contents">
<a href="sif_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/******************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">  Copyright (c) 2000-2008 Turku PET Centre</span>
<a name="l00004"></a>00004 <span class="comment"></span>
<a name="l00005"></a>00005 <span class="comment">  ift.h</span>
<a name="l00006"></a>00006 <span class="comment"></span>
<a name="l00007"></a>00007 <span class="comment">  Modification history:</span>
<a name="l00008"></a>00008 <span class="comment">  2000-12-13 Vesa Oikonen</span>
<a name="l00009"></a>00009 <span class="comment">  2004-08-23 VO</span>
<a name="l00010"></a>00010 <span class="comment">    Doxygen style comments.</span>
<a name="l00011"></a>00011 <span class="comment">    Functions &quot;renamed&quot; with defines.</span>
<a name="l00012"></a>00012 <span class="comment">  2005-01-12 VO</span>
<a name="l00013"></a>00013 <span class="comment">    Changed and additional comments not affecting compiled code.</span>
<a name="l00014"></a>00014 <span class="comment">  2005-01-15 VO</span>
<a name="l00015"></a>00015 <span class="comment">    SIF related stuff moved from libpet to new libsif.</span>
<a name="l00016"></a>00016 <span class="comment">  2005-01-16 VO</span>
<a name="l00017"></a>00017 <span class="comment">    studynr and isotope_name were added to SIF structure.</span>
<a name="l00018"></a>00018 <span class="comment"></span>
<a name="l00019"></a>00019 <span class="comment"></span>
<a name="l00020"></a>00020 <span class="comment">******************************************************************************/</span>
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef _SIF_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define _SIF_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="comment">/*****************************************************************************/</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;unistd.h&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;math.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;time.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;ctype.h&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;strings.h&gt;</span>
<a name="l00032"></a>00032 <span class="comment">/*****************************************************************************/</span>
<a name="l00033"></a><a class="code" href="sif_8h.html#aead6d915302aed6cb03d80791abd866f">00033</a> <span class="keywordtype">char</span> <a class="code" href="sif_8h.html#aead6d915302aed6cb03d80791abd866f">siferrmsg</a>[128];
<a name="l00034"></a>00034 <span class="comment">/*****************************************************************************/</span>
<a name="l00036"></a><a class="code" href="structSIF.html">00036</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00038"></a><a class="code" href="structSIF.html#a98b5ff616033e728f0edc9bdc7eddce2">00038</a>   time_t <a class="code" href="structSIF.html#a98b5ff616033e728f0edc9bdc7eddce2">scantime</a>;
<a name="l00040"></a><a class="code" href="structSIF.html#a441bd4d1d3825ace8f21d02e9f5d650d">00040</a>   <span class="keywordtype">int</span> <a class="code" href="structSIF.html#a441bd4d1d3825ace8f21d02e9f5d650d">frameNr</a>;
<a name="l00042"></a><a class="code" href="structSIF.html#ae6e05bc7807e015b7a188d88e54c722d">00042</a>   <span class="keywordtype">int</span> <a class="code" href="structSIF.html#ae6e05bc7807e015b7a188d88e54c722d">colNr</a>;
<a name="l00044"></a><a class="code" href="structSIF.html#a48b4293795f15b4c214549e0dad3ce41">00044</a>   <span class="keywordtype">int</span> <a class="code" href="structSIF.html#a48b4293795f15b4c214549e0dad3ce41">version</a>;
<a name="l00046"></a><a class="code" href="structSIF.html#a2d3e6df8c97d55d0c28d83501d12f523">00046</a>   <span class="keywordtype">char</span> studynr[11];
<a name="l00048"></a><a class="code" href="structSIF.html#aaf18449475434d1cf5ab11b2c36780b1">00048</a>   <span class="keywordtype">char</span> isotope_name[8];
<a name="l00050"></a><a class="code" href="structSIF.html#a085f3f1a4b2a77eabe13f52c2010a3c0">00050</a>   <span class="keywordtype">double</span> *<a class="code" href="structSIF.html#a085f3f1a4b2a77eabe13f52c2010a3c0">x1</a>;
<a name="l00052"></a><a class="code" href="structSIF.html#a45001ad49c925e6ae266357b3ab7d8a4">00052</a>   <span class="keywordtype">double</span> *<a class="code" href="structSIF.html#a45001ad49c925e6ae266357b3ab7d8a4">x2</a>;
<a name="l00054"></a><a class="code" href="structSIF.html#a20d6fecbd751d872300c661e19903eed">00054</a>   <span class="keywordtype">double</span> *<a class="code" href="structSIF.html#a20d6fecbd751d872300c661e19903eed">prompts</a>;
<a name="l00056"></a><a class="code" href="structSIF.html#af2fa6ee9e91796baa37261bd866b641f">00056</a>   <span class="keywordtype">double</span> *<a class="code" href="structSIF.html#af2fa6ee9e91796baa37261bd866b641f">randoms</a>;
<a name="l00058"></a><a class="code" href="structSIF.html#afacb83b024d68548311e34263a3319ea">00058</a>   <span class="keywordtype">double</span> *<a class="code" href="structSIF.html#afacb83b024d68548311e34263a3319ea">trues</a>;
<a name="l00060"></a><a class="code" href="structSIF.html#abd4ddd6bc4aa25c3f8ed6d85445dce23">00060</a>   <span class="keywordtype">double</span> *<a class="code" href="structSIF.html#abd4ddd6bc4aa25c3f8ed6d85445dce23">weights</a>;
<a name="l00061"></a>00061 } <a class="code" href="structSIF.html">SIF</a>;
<a name="l00062"></a>00062 <span class="comment">/*****************************************************************************/</span>
<a name="l00063"></a><a class="code" href="sif_8h.html#a78c06628d2bc47f66f573e280c77931e">00063</a> <span class="keywordtype">int</span> <a class="code" href="sif_8h.html#a78c06628d2bc47f66f573e280c77931e">SIF_TEST</a>;
<a name="l00064"></a>00064 <span class="comment">/*****************************************************************************/</span>
<a name="l00065"></a>00065 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="sif_8h.html#a674690863ac3807b034aac54a5060afe">libsif_printdate</a>(FILE *fp);
<a name="l00066"></a>00066 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="sifio_8c.html#ae6c3f31d7cbe31ca6b74760978fd39c7">sifRead</a>(<span class="keywordtype">char</span> *filename, <a class="code" href="structSIF.html">SIF</a> *data);
<a name="l00067"></a>00067 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="sifio_8c.html#a306c8a06e0576bdbe31012da3be1eb40">sifWrite</a>(<a class="code" href="structSIF.html">SIF</a> *data, <span class="keywordtype">char</span> *filename);
<a name="l00068"></a>00068 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="sifio_8c.html#a8ef6e8273b016fde2c629d2bc2ac7127">sifPrint</a>(<a class="code" href="structSIF.html">SIF</a> *data);
<a name="l00069"></a>00069 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="sif_8c.html#ad2378bec7fec69900af6f52737c89784">sifEmpty</a>(<a class="code" href="structSIF.html">SIF</a> *data);
<a name="l00070"></a>00070 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="sif_8c.html#a61c0218e380da8ace65d78f82a8f9f69">sifInit</a>(<a class="code" href="structSIF.html">SIF</a> *data);
<a name="l00071"></a>00071 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="sif_8c.html#ac1ea54c7476aa6b3d0b1835e22798915">sifSetmem</a>(<a class="code" href="structSIF.html">SIF</a> *data, <span class="keywordtype">int</span> frameNr);
<a name="l00072"></a>00072 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="weight_8c.html#aa6dc06574a04b48ac07c37f06c02ec40">sifWeight</a>(<a class="code" href="structSIF.html">SIF</a> *data, <span class="keywordtype">double</span> halflife);
<a name="l00073"></a>00073 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="weight_8c.html#a01c3944a335aaf471139cf0efa6af9bb">sifModerate</a>(<a class="code" href="structSIF.html">SIF</a> *sif, <span class="keywordtype">double</span> limit);
<a name="l00074"></a>00074 <span class="comment">/*****************************************************************************/</span>
<a name="l00075"></a><a class="code" href="sif_8h.html#a5b0ee579a0e16d68df49032b89b058a4">00075</a> <span class="preprocessor">#define readSIF sifRead</span>
<a name="l00076"></a><a class="code" href="sif_8h.html#a7f89c37d1061f882bc6ea41a55cc8294">00076</a> <span class="preprocessor"></span><span class="preprocessor">#define writeSIF sifWrite</span>
<a name="l00077"></a><a class="code" href="sif_8h.html#ab97994fcd9265d70ae929ff5ba8a7c5d">00077</a> <span class="preprocessor"></span><span class="preprocessor">#define printSIF sifPrint</span>
<a name="l00078"></a><a class="code" href="sif_8h.html#ae6ed10812cb974a319c8a56164d8b3f5">00078</a> <span class="preprocessor"></span><span class="preprocessor">#define emptySIF sifEmpty</span>
<a name="l00079"></a><a class="code" href="sif_8h.html#a686d183d87dc6ba5d0cc6fa2e5d895f2">00079</a> <span class="preprocessor"></span><span class="preprocessor">#define weightSIF sifWeight</span>
<a name="l00080"></a><a class="code" href="sif_8h.html#a53ae5e4da54acbf20d8b98c27bb5df24">00080</a> <span class="preprocessor"></span><span class="preprocessor">#define initSIF sifInit</span>
<a name="l00081"></a><a class="code" href="sif_8h.html#a6266ca21b46e57a3610b7515f052e8ab">00081</a> <span class="preprocessor"></span><span class="preprocessor">#define setmemSIF sifSetmem</span>
<a name="l00082"></a>00082 <span class="preprocessor"></span><span class="comment">/*****************************************************************************/</span>
<a name="l00083"></a>00083 <span class="preprocessor">#endif</span>
<a name="l00084"></a>00084 <span class="preprocessor"></span>
</pre></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>