Files
musrfit/doc/technical/html/PFourier_8h.html
T
2026-07-29 11:05:16 +00:00

244 lines
14 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>musrfit: /workspace/LMU/musrfit/src/include/PFourier.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">musrfit<span id="projectnumber">&#160;1.10.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',false,false,'search.php','Search',true);
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('PFourier_8h.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> </div>
<div class="headertitle"><div class="title">PFourier.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;vector&gt;</code><br />
<code>#include &quot;fftw3.h&quot;</code><br />
<code>#include &lt;TH1F.h&gt;</code><br />
<code>#include &quot;Minuit2/FCNBase.h&quot;</code><br />
<code>#include &quot;<a class="el" href="PMusr_8h_source.html">PMusr.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for PFourier.h:</div>
<div class="dyncontent">
<div class="center"><img src="PFourier_8h__incl.png" border="0" usemap="#a_2workspace_2LMU_2musrfit_2src_2include_2PFourier_8h" alt=""/></div>
<map name="a_2workspace_2LMU_2musrfit_2src_2include_2PFourier_8h" id="a_2workspace_2LMU_2musrfit_2src_2include_2PFourier_8h">
<area shape="rect" title=" " alt="" coords="97,5,268,50"/>
<area shape="rect" title=" " alt="" coords="5,174,64,201"/>
<area shape="poly" title=" " alt="" coords="164,52,59,164,55,160,161,48"/>
<area shape="rect" title=" " alt="" coords="88,174,152,201"/>
<area shape="poly" title=" " alt="" coords="167,52,151,74,138,99,129,129,125,159,119,158,124,128,133,97,147,71,162,49"/>
<area shape="rect" title=" " alt="" coords="241,98,305,126"/>
<area shape="poly" title=" " alt="" coords="208,48,249,85,245,89,205,52"/>
<area shape="rect" title=" " alt="" coords="329,98,465,126"/>
<area shape="poly" title=" " alt="" coords="240,48,350,90,348,95,239,53"/>
<area shape="rect" href="PMusr_8h.html" title=" " alt="" coords="148,98,217,126"/>
<area shape="poly" title=" " alt="" coords="185,50,185,82,180,82,180,50"/>
<area shape="poly" title=" " alt="" coords="157,129,75,169,73,164,155,124"/>
<area shape="poly" title=" " alt="" coords="173,128,143,164,139,160,169,124"/>
<area shape="rect" title=" " alt="" coords="176,174,224,201"/>
<area shape="poly" title=" " alt="" coords="188,126,196,158,191,159,183,127"/>
<area shape="rect" title=" " alt="" coords="248,174,325,201"/>
<area shape="poly" title=" " alt="" coords="203,124,258,163,254,167,200,128"/>
</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="PFourier_8h__dep__incl.png" border="0" usemap="#a_2workspace_2LMU_2musrfit_2src_2include_2PFourier_8hdep" alt=""/></div>
<map name="a_2workspace_2LMU_2musrfit_2src_2include_2PFourier_8hdep" id="a_2workspace_2LMU_2musrfit_2src_2include_2PFourier_8hdep">
<area shape="rect" title=" " alt="" coords="436,5,607,50"/>
<area shape="rect" href="PFourier_8cpp.html" title=" " alt="" coords="5,106,177,151"/>
<area shape="poly" title=" " alt="" coords="422,50,310,73,189,101,160,109,159,103,188,95,308,67,421,45"/>
<area shape="rect" href="PMusrCanvas_8cpp.html" title=" " alt="" coords="200,106,400,151"/>
<area shape="poly" title=" " alt="" coords="460,59,350,108,348,103,458,54"/>
<area shape="rect" href="PRunSingleHistoRRF_8cpp.html" title=" " alt="" coords="424,98,619,160"/>
<area shape="poly" title=" " alt="" coords="524,65,524,98,519,98,519,65"/>
<area shape="rect" href="PFourierCanvas_8h.html" title=" " alt="" coords="644,106,845,151"/>
<area shape="poly" title=" " alt="" coords="585,54,697,103,695,108,583,59"/>
<area shape="rect" href="musrFT_8cpp.html" title=" " alt="" coords="798,208,968,252"/>
<area shape="poly" title=" " alt="" coords="622,35,691,44,761,56,820,74,843,84,860,96,877,122,886,152,889,182,888,207,883,207,883,182,881,153,872,124,856,100,840,89,818,79,760,62,691,49,622,40"/>
<area shape="rect" href="PFourierCanvas_8cpp.html" title=" " alt="" coords="560,208,774,252"/>
<area shape="poly" title=" " alt="" coords="720,165,686,209,682,206,716,162"/>
<area shape="poly" title=" " alt="" coords="788,158,854,205,851,209,785,162"/>
</map>
</div>
</div>
<p><a href="PFourier_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPFTPhaseCorrection.html">PFTPhaseCorrection</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPFourier.html">PFourier</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a7ad07a445e01e899ac23638b0fa1f2c4" id="r_a7ad07a445e01e899ac23638b0fa1f2c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7ad07a445e01e899ac23638b0fa1f2c4">F_APODIZATION_NONE</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:a7ad07a445e01e899ac23638b0fa1f2c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">No apodization (rectangular window) <br /></td></tr>
<tr class="separator:a7ad07a445e01e899ac23638b0fa1f2c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a150af5e514df766e1b13a810242da5b9" id="r_a150af5e514df766e1b13a810242da5b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a150af5e514df766e1b13a810242da5b9">F_APODIZATION_WEAK</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:a150af5e514df766e1b13a810242da5b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Weak apodization (gentle roll-off at edges) <br /></td></tr>
<tr class="separator:a150af5e514df766e1b13a810242da5b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6d7ff876c52e8c487c57174cbff0567" id="r_ac6d7ff876c52e8c487c57174cbff0567"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac6d7ff876c52e8c487c57174cbff0567">F_APODIZATION_MEDIUM</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:ac6d7ff876c52e8c487c57174cbff0567"><td class="mdescLeft">&#160;</td><td class="mdescRight">Medium apodization (moderate roll-off) <br /></td></tr>
<tr class="separator:ac6d7ff876c52e8c487c57174cbff0567"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b87bd9f20b5c62e7e4bbd995dc43a4c" id="r_a1b87bd9f20b5c62e7e4bbd995dc43a4c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1b87bd9f20b5c62e7e4bbd995dc43a4c">F_APODIZATION_STRONG</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:a1b87bd9f20b5c62e7e4bbd995dc43a4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Strong apodization (heavy roll-off for best frequency resolution) <br /></td></tr>
<tr class="separator:a1b87bd9f20b5c62e7e4bbd995dc43a4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ac6d7ff876c52e8c487c57174cbff0567" name="ac6d7ff876c52e8c487c57174cbff0567"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6d7ff876c52e8c487c57174cbff0567">&#9670;&#160;</a></span>F_APODIZATION_MEDIUM</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define F_APODIZATION_MEDIUM&#160;&#160;&#160;3</td>
</tr>
</table>
</div><div class="memdoc">
<p>Medium apodization (moderate roll-off) </p>
<p class="definition">Definition at line <a class="el" href="PFourier_8h_source.html#l00057">57</a> of file <a class="el" href="PFourier_8h_source.html">PFourier.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="PFourier_8cpp_source.html#l01226">PFourier::ApodizeData()</a>, and <a class="el" href="musrFT_8cpp_source.html#l00989">main()</a>.</p>
</div>
</div>
<a id="a7ad07a445e01e899ac23638b0fa1f2c4" name="a7ad07a445e01e899ac23638b0fa1f2c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ad07a445e01e899ac23638b0fa1f2c4">&#9670;&#160;</a></span>F_APODIZATION_NONE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define F_APODIZATION_NONE&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p>No apodization (rectangular window) </p>
<p>Apodization (windowing) strength constants.</p>
<p>Apodization applies a window function to time-domain data before Fourier transformation to reduce spectral leakage (Gibbs phenomenon). Stronger apodization improves frequency resolution but reduces amplitude accuracy. </p>
<p class="definition">Definition at line <a class="el" href="PFourier_8h_source.html#l00053">53</a> of file <a class="el" href="PFourier_8h_source.html">PFourier.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="PFourier_8cpp_source.html#l01226">PFourier::ApodizeData()</a>, <a class="el" href="musrFT_8cpp_source.html#l00989">main()</a>, and <a class="el" href="PFourier_8cpp_source.html#l00482">PFourier::PFourier()</a>.</p>
</div>
</div>
<a id="a1b87bd9f20b5c62e7e4bbd995dc43a4c" name="a1b87bd9f20b5c62e7e4bbd995dc43a4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b87bd9f20b5c62e7e4bbd995dc43a4c">&#9670;&#160;</a></span>F_APODIZATION_STRONG</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define F_APODIZATION_STRONG&#160;&#160;&#160;4</td>
</tr>
</table>
</div><div class="memdoc">
<p>Strong apodization (heavy roll-off for best frequency resolution) </p>
<p class="definition">Definition at line <a class="el" href="PFourier_8h_source.html#l00059">59</a> of file <a class="el" href="PFourier_8h_source.html">PFourier.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="PFourier_8cpp_source.html#l01226">PFourier::ApodizeData()</a>, <a class="el" href="PRunSingleHistoRRF_8cpp_source.html#l01553">PRunSingleHistoRRF::GetMainFrequency()</a>, and <a class="el" href="musrFT_8cpp_source.html#l00989">main()</a>.</p>
</div>
</div>
<a id="a150af5e514df766e1b13a810242da5b9" name="a150af5e514df766e1b13a810242da5b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a150af5e514df766e1b13a810242da5b9">&#9670;&#160;</a></span>F_APODIZATION_WEAK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define F_APODIZATION_WEAK&#160;&#160;&#160;2</td>
</tr>
</table>
</div><div class="memdoc">
<p>Weak apodization (gentle roll-off at edges) </p>
<p class="definition">Definition at line <a class="el" href="PFourier_8h_source.html#l00055">55</a> of file <a class="el" href="PFourier_8h_source.html">PFourier.h</a>.</p>
<p class="reference">Referenced by <a class="el" href="PFourier_8cpp_source.html#l01226">PFourier::ApodizeData()</a>, and <a class="el" href="musrFT_8cpp_source.html#l00989">main()</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b0856f6b0d80ccb263b2f415c91f9e17.html">include</a></li><li class="navelem"><a class="el" href="PFourier_8h.html">PFourier.h</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>
</html>