<?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="_bmg2imod_8cpp">
<title>/Users/bernard/b20/bsoft/src/bmg2imod.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/src/bmg2imod.cpp</primary></indexterm>
<para>

<para>Converts between <link linkend="_struct_i_m_o_d">IMOD</link> files and a micrograph parameter file. </para>
 
</para>
<programlisting>#include &quot;mg_processing.h&quot;
#include &quot;mg_img_proc.h&quot;
#include &quot;mg_tomography.h&quot;
#include &quot;rwmg.h&quot;
#include &quot;rwmgIMOD.h&quot;
#include &quot;rwimg.h&quot;
#include &quot;linked_list.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="_bmg2imod_8cpp_1aa0f159248fd731be3e86a7416038ba22">write_IMOD_parameters</link> (<link linkend="_class_bstring">Bstring</link> &amp;imodfile, <link linkend="_struct_bproject">Bproject</link> *<link linkend="_tcltk__bmodel_8cpp_1aea438e09dfc03683a0f49a05e9a69cac">project</link>)</para>
</listitem>
            <listitem><para>int <link linkend="_bmg2imod_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627">main</link> (int argc, char **argv)</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bmg2imod_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></para>
</listitem>
            <listitem><para>const char * <link linkend="_bmg2imod_8cpp_1a4de0ad4c7190962494815c0fa7f948df">use</link> []</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Converts between <link linkend="_struct_i_m_o_d">IMOD</link> files and a micrograph parameter file. </para>

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

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

<para>Created: 20070501 </para>

<para>Modified: 20180322 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bmg2imod_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627"/>    <section>
    <title>main()</title>
<indexterm><primary>main</primary><secondary>bmg2imod.cpp</secondary></indexterm>
<indexterm><primary>bmg2imod.cpp</primary><secondary>main</secondary></indexterm>
<para><computeroutput>int main (int argc, char ** argv)</computeroutput></para><para>
Definition at line 48 of file bmg2imod.cpp.</para>
    </section><anchor xml:id="_bmg2imod_8cpp_1aa0f159248fd731be3e86a7416038ba22"/>    <section>
    <title>write_IMOD_parameters()</title>
<indexterm><primary>write_IMOD_parameters</primary><secondary>bmg2imod.cpp</secondary></indexterm>
<indexterm><primary>bmg2imod.cpp</primary><secondary>write_IMOD_parameters</secondary></indexterm>
<para><computeroutput>int write_IMOD_parameters (<link linkend="_class_bstring">Bstring</link> &amp; imodfile, <link linkend="_struct_bproject">Bproject</link> * project)</computeroutput></para></section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_bmg2imod_8cpp_1a4de0ad4c7190962494815c0fa7f948df"/>    <section>
    <title>use</title>
<indexterm><primary>use</primary><secondary>bmg2imod.cpp</secondary></indexterm>
<indexterm><primary>bmg2imod.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;bmg2imod&#32;[options]&#32;input.mrc&#32;input.xf&#32;input.tlt&#32;input.xyz&quot;</emphasis>,
<emphasis role="stringliteral">&quot;----------------------------------------------------------------&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Converts&#32;between&#32;IMOD&#32;files&#32;and&#32;a&#32;micrograph&#32;parameter&#32;file.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Actions:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-topif&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Flag&#32;to&#32;convert&#32;the&#32;image&#32;file&#32;to&#32;multi-image&#32;PIF&#32;(default&#32;not).&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;-sampling&#32;1.5&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Sampling&#32;(A/pixel).&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;micrograph&#32;parameter&#32;file.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-imod&#32;file.xf&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Output&#32;IMOD&#32;parameter&#32;files.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
NULL
}
</programlisting><para>
Definition at line 27 of file bmg2imod.cpp.</para>
    </section><anchor xml:id="_bmg2imod_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>bmg2imod.cpp</secondary></indexterm>
<indexterm><primary>bmg2imod.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
