summaryrefslogtreecommitdiff
path: root/help/en_US/fwhmjlt.xml
blob: c0933858826bd34ac69a160f0f2bc532dd1874de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>

<!--
 *
 * This help file was generated from fwhmjlt.sci using help_from_sci().
 *
 -->

<refentry version="5.0-subset Scilab" xml:id="fwhmjlt" xml:lang="en"
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg"
          xmlns:ns3="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:scilab="http://www.scilab.org"
          xmlns:db="http://docbook.org/ns/docbook">

  <refnamediv>
    <refname>fwhmjlt</refname>
    <refpurpose>This function Computes peak full-width at half maximum</refpurpose>
  </refnamediv>

<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
  f = fwhm (y)
  f = fwhm (x, y)
  f = fwhm (…, "zero")
  f = fwhm (…, "min")
  f = fwhm (…, "alevel", level)
  f = fwhm (…, "rlevel", level)
   </synopsis>
</refsynopsisdiv>



<refsection>
   <title>Description</title>
   <para>
Compute peak full-width at half maximum (FWHM) or at another level of peak maximum for vector or matrix    data y, optionally sampled as y(x). If y is a matrix, return FWHM for each column as a row vector.<para></para>The default option "zero" computes fwhm at half maximum, i.e. 0.5*max(y). The option "min" computes fwhm at the middle curve, i.e. 0.5*(min(y)+max(y)). <para></para>The option "rlevel" computes full-width at the given relative level of peak profile<para></para>The option "alevel" computes full-width at the given absolute level of y.
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
t=-50:0.01:50;
y=(1/(2*sqrt(2*%pi)))*exp(-(t.^2)/8);
z=fwhmjlt(y)
//Expected Output
//470.96442
   ]]></programlisting>
</refsection>


</refentry>