<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_brecadd_8cpp">
<title>/Users/bernard/b20/bsoft/src/brecadd.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/src/brecadd.cpp</primary></indexterm>
<para>

<para>Program to average selected reconstructions. </para>
 
</para>
<programlisting>#include &quot;rwimg.h&quot;
#include &quot;rwmg.h&quot;
#include &quot;mg_reconstruct.h&quot;
#include &quot;mg_processing.h&quot;
#include &quot;mg_particle_select.h&quot;
#include &quot;symmetry.h&quot;
#include &quot;utilities.h&quot;
#include &quot;options.h&quot;
#include &quot;timer.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_brecadd_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627">main</link> (int argc, char **argv)</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_brecadd_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></para>
</listitem>
            <listitem><para>const char * <link linkend="_brecadd_8cpp_1a4de0ad4c7190962494815c0fa7f948df">use</link> []</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Program to average selected reconstructions. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 20070419 </para>

<para>Modified: 20180427 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_brecadd_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627"/>    <section>
    <title>main()</title>
<indexterm><primary>main</primary><secondary>brecadd.cpp</secondary></indexterm>
<indexterm><primary>brecadd.cpp</primary><secondary>main</secondary></indexterm>
<para><computeroutput>int main (int argc, char ** argv)</computeroutput></para><para>
Definition at line 55 of file brecadd.cpp.</para>
</section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_brecadd_8cpp_1a4de0ad4c7190962494815c0fa7f948df"/>    <section>
    <title>use</title>
<indexterm><primary>use</primary><secondary>brecadd.cpp</secondary></indexterm>
<indexterm><primary>brecadd.cpp</primary><secondary>use</secondary></indexterm>
<para><computeroutput>const char* use[]</computeroutput></para><emphasis role="strong">Initial value:</emphasis><programlisting>=&#32;{
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Usage:&#32;brecadd&#32;[options]&#32;input.star&#32;[input.star]&quot;</emphasis>,
<emphasis role="stringliteral">&quot;------------------------------------------------&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Averages&#32;reconstructions&#32;or&#32;subvolumes&#32;of&#32;reconstructions&#32;based&#32;on&quot;</emphasis>,
<emphasis role="stringliteral">&quot;the&#32;selection&#32;in&#32;parameter&#32;files.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Actions:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-all&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Reset&#32;selection&#32;to&#32;all&#32;particles&#32;before&#32;other&#32;selections.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-group&#32;3022&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Select&#32;particles&#32;belonging&#32;to&#32;this&#32;group.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-setnumber&#32;3&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Select&#32;given&#32;selection&#32;number&#32;and&#32;set&#32;others&#32;to&#32;zero.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-multiple&#32;2&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Generate&#32;a&#32;number&#32;of&#32;maps&#32;from&#32;alternating&#32;particle&#32;images&#32;(default&#32;1).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-size&#32;50,50,70&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Specify&#32;a&#32;size&#32;to&#32;extract&#32;new&#32;particles&#32;from&#32;a&#32;map.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-resolution&#32;15&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Specify&#32;a&#32;resolution&#32;to&#32;do&#32;a&#32;reciprocal&#32;space&#32;summation.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-std&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Output&#32;standard&#32;deviation&#32;image&#32;rather&#32;than&#32;variance&#32;image.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-symmetry&#32;C5&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Apply&#32;point&#32;group&#32;symmetry&#32;after&#32;reconstruction.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-rescale&#32;-0.1,5.2&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Rescale&#32;output&#32;images&#32;to&#32;average&#32;and&#32;standard&#32;deviation.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Parameters:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-verbose&#32;7&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Verbosity&#32;of&#32;output.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-datatype&#32;u&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Force&#32;writing&#32;of&#32;a&#32;new&#32;data&#32;type.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-sampling&#32;1.5,1.5,1.5&#32;&#32;&#32;&#32;Sampling&#32;(A/pixel;&#32;default&#32;from&#32;input&#32;file;&#32;a&#32;single&#32;value&#32;can&#32;be&#32;given).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Output:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-output&#32;file.star&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Output&#32;parameter&#32;file.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-average&#32;output.img&#32;&#32;&#32;&#32;&#32;&#32;Output&#32;image&#32;(default&#32;avg.map).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-fom&#32;fom.img&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Output&#32;variance/standard&#32;deviation&#32;image&#32;(default&#32;fom.map).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
NULL
}
</programlisting><para>
Definition at line 24 of file brecadd.cpp.</para>
    </section><anchor xml:id="_brecadd_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>brecadd.cpp</secondary></indexterm>
<indexterm><primary>brecadd.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
