Debian Codegraph @

opcodes/specaddm.xml

raw symbols SCIP
1
2 <refentry id="specaddm">
3 <indexterm id="IndexSpecaddm"><primary>specaddm</primary></indexterm>
4 <refentryinfo><title>Spectral Processing:Non-Standard</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>specaddm</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>specaddm</refname>
11 <refpurpose>
12 Perform a weighted add of two input spectra.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Perform a weighted add of two input spectra.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>wsig <command>specaddm</command> wsig1, wsig2 [, imul2]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>imul2</emphasis> (optional, default=0) -- if non-zero, scale the <emphasis>wsig2</emphasis> magnitudes before adding. The default value is 0.
32 </para>
33 </refsect1>
34
35 <refsect1>
36 <title>Performance</title>
37 <para>
38 <emphasis>wsig1</emphasis> -- the first input spectra.
39 </para>
40
41 <para>
42 <emphasis>wsig2</emphasis> -- the second input spectra.
43 </para>
44
45 <para>
46 Do a weighted add of two input spectra. For each channel of the two input spectra, the two magnitudes are combined and written to the output according to:
47 <literallayout>
48 magout = mag1in + mag2in * imul2</literallayout>
49 </para>
50
51 <para>
52 The operation is performed whenever the input <emphasis>wsig1</emphasis> is sensed to be new. This unit will (at Initialization) verify the consistency of the two spectra (equal size, equal period, equal mag types).
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>See Also</title>
58 <para>
59 <link linkend="specdiff"><citetitle>specdiff</citetitle></link>,
60 <link linkend="specfilt"><citetitle>specfilt</citetitle></link>,
61 <link linkend="spechist"><citetitle>spechist</citetitle></link>,
62 <link linkend="specscal"><citetitle>specscal</citetitle></link>
63 </para>
64 </refsect1>
65 </refentry>