ta/profile.py"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#tatpulsar.data.profile.Profile.pulsefrac" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the pulse fraction of given profile. The algorithm of
calculating pulse fraction is:</p>
<div class="math notranslate nohighlight">
\[PF = (p_{\mathrm{max}} - p_{\mathrm{min}})/(p_{\mathrm{max}} + p_{\mathrm{min}})\]</div>
<p>where <span class="math notranslate nohighlight">\(p\)</span>