<?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="_bshow__param_8tcl">
<title>/Users/bernard/b20/bsoft/tcltk/bshow_param.tcl File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/tcltk/bshow_param.tcl</primary></indexterm>
<para>

<para>Procedures to read and write parameter files. </para>
 
</para>
<simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para><link linkend="_bshow__param_8tcl_1a14176fc1f9fc0ac3f690feb6419ac033">setupParameterMenu</link></para>

<para>Menu for opening and closing parameter files. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a13bc2f49f2e61901e9c57988d62ec537">openParam</link></para>

<para>Opens a micrograph parameter file for reading. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1ad50ceef2a92a7542901c048ce98f88d9">loadParam</link> file</para>

<para>Opens a micrograph parameter file for reading. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a11fbc3cedada693609c1fc932a3a0230">appendParam</link></para>

<para>Appends one or more micrograph parameter files. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a311d389345eef732dc983f7adfcc2e8c">tag_line</link> w</para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a836a1eb38029df7cd1cab9d6a45a4dd4">selectAFile</link></para>

<para>Dialog box to select an image file. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1ab9a193e00947ae18d7c7c91155d4ef2e">setSelectionAndDestroy</link></para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a8218c095d4dd935525d94588f0114880">updateClassParam</link></para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1aa8aef9a8b78c99583c29ccbcee6acc56">updateParametersAndImage</link></para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a5601e8d9a42a4f0e39604d0f48e6410d">getNeighborImageOfType</link> dir</para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a725ec64ad35c943496accfcac5a947f6">getNeighborImageOfType2</link> dir</para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a7805742205a30a58e5cdfb086ebc067b">setupMicrographID</link> w</para>

<para>Sets up micrograph id and total. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a00577ca40c20c9e2af33718c4e36ffaf">setupMicrographButtons</link> w typelabel</para>

<para>Sets up micrograph navigation and selection buttons. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a4d59bcb953853b9fde701c5accab5a4f">createMgParam</link></para>

<para>Creates micrograph parameters from the image. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a0673d1cb695ce0e8e76e5ce81499cb8a">micrographItem</link> n</para>

<para>Returns the current project item. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1aeb0bf9150f184efbcb09ce4c9bc1a514">selectMicrograph</link></para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a118eb469e46114d3ee71177979ddad6b">setMgParam</link></para>

<para>Updates an existing project for micrograph parameters in memory. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a32bb9c99255905b08f748459ccb7c814">writeParam</link></para>

<para>Saves the micrograph data base to a parameter file. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a78048444f6eb73785a1a6b83ebcf2621">editParam</link></para>

<para>Edits a text parameter file. </para>
</listitem>
            <listitem><para><link linkend="_bshow__param_8tcl_1a78367eb4be18986628954bda9e0f18f0">checkParamFile</link></para>

<para>Checks if the parameter file exist, otherwise save it. </para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Procedures to read and write parameter files. </para>

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

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

<para>Created: 20010516 </para>

<para>Modified: 20190911 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bshow__param_8tcl_1a11fbc3cedada693609c1fc932a3a0230"/>    <section>
    <title>appendParam()</title>
<indexterm><primary>appendParam</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>appendParam</secondary></indexterm>
<para><computeroutput>appendParam</computeroutput></para><para>

<para>Appends one or more micrograph parameter files. </para>
</para>
<para>
Definition at line 101 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a78367eb4be18986628954bda9e0f18f0"/>    <section>
    <title>checkParamFile()</title>
<indexterm><primary>checkParamFile</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>checkParamFile</secondary></indexterm>
<para><computeroutput>checkParamFile</computeroutput></para><para>

<para>Checks if the parameter file exist, otherwise save it. </para>
</para>
<para>
Definition at line 608 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a4d59bcb953853b9fde701c5accab5a4f"/>    <section>
    <title>createMgParam()</title>
<indexterm><primary>createMgParam</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>createMgParam</secondary></indexterm>
<para><computeroutput>createMgParam</computeroutput></para><para>

<para>Creates micrograph parameters from the image. </para>
</para>
<para>
Definition at line 447 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a78048444f6eb73785a1a6b83ebcf2621"/>    <section>
    <title>editParam()</title>
<indexterm><primary>editParam</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>editParam</secondary></indexterm>
<para><computeroutput>editParam</computeroutput></para><para>

<para>Edits a text parameter file. </para>
</para>
<para>
Definition at line 600 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a5601e8d9a42a4f0e39604d0f48e6410d"/>    <section>
    <title>getNeighborImageOfType()</title>
<indexterm><primary>getNeighborImageOfType</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>getNeighborImageOfType</secondary></indexterm>
<para><computeroutput>getNeighborImageOfType dir </computeroutput></para><para>
Definition at line 280 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a725ec64ad35c943496accfcac5a947f6"/>    <section>
    <title>getNeighborImageOfType2()</title>
<indexterm><primary>getNeighborImageOfType2</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>getNeighborImageOfType2</secondary></indexterm>
<para><computeroutput>getNeighborImageOfType2 dir </computeroutput></para><para>
Definition at line 340 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1ad50ceef2a92a7542901c048ce98f88d9"/>    <section>
    <title>loadParam()</title>
<indexterm><primary>loadParam</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>loadParam</secondary></indexterm>
<para><computeroutput>loadParam file </computeroutput></para><para>

<para>Opens a micrograph parameter file for reading. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>file</entry>
                                <entry>
<para>parameter file name. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 86 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a0673d1cb695ce0e8e76e5ce81499cb8a"/>    <section>
    <title>micrographItem()</title>
<indexterm><primary>micrographItem</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>micrographItem</secondary></indexterm>
<para><computeroutput>micrographItem n </computeroutput></para><para>

<para>Returns the current project item. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>n</entry>
                                <entry>
<para>micrograph index (first = 0) </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 492 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a13bc2f49f2e61901e9c57988d62ec537"/>    <section>
    <title>openParam()</title>
<indexterm><primary>openParam</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>openParam</secondary></indexterm>
<para><computeroutput>openParam</computeroutput></para><para>

<para>Opens a micrograph parameter file for reading. </para>
</para>
<para>
Definition at line 66 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a836a1eb38029df7cd1cab9d6a45a4dd4"/>    <section>
    <title>selectAFile()</title>
<indexterm><primary>selectAFile</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>selectAFile</secondary></indexterm>
<para><computeroutput>selectAFile</computeroutput></para><para>

<para>Dialog box to select an image file. </para>
</para>
<para>
Definition at line 129 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1aeb0bf9150f184efbcb09ce4c9bc1a514"/>    <section>
    <title>selectMicrograph()</title>
<indexterm><primary>selectMicrograph</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>selectMicrograph</secondary></indexterm>
<para><computeroutput>selectMicrograph</computeroutput></para><para>
Definition at line 515 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a118eb469e46114d3ee71177979ddad6b"/>    <section>
    <title>setMgParam()</title>
<indexterm><primary>setMgParam</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>setMgParam</secondary></indexterm>
<para><computeroutput>setMgParam</computeroutput></para><para>

<para>Updates an existing project for micrograph parameters in memory. </para>
</para>
<para>
Definition at line 523 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1ab9a193e00947ae18d7c7c91155d4ef2e"/>    <section>
    <title>setSelectionAndDestroy()</title>
<indexterm><primary>setSelectionAndDestroy</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>setSelectionAndDestroy</secondary></indexterm>
<para><computeroutput>setSelectionAndDestroy</computeroutput></para><para>
Definition at line 218 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a00577ca40c20c9e2af33718c4e36ffaf"/>    <section>
    <title>setupMicrographButtons()</title>
<indexterm><primary>setupMicrographButtons</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>setupMicrographButtons</secondary></indexterm>
<para><computeroutput>setupMicrographButtons w typelabel </computeroutput></para><para>

<para>Sets up micrograph navigation and selection buttons. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>w</entry>
                                <entry>
<para>window. </para>
</entry>
                            </row>
                            <row>
                                <entry>typelabel</entry>
                                <entry>
<para>type of navigation (micrograph). </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 427 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a7805742205a30a58e5cdfb086ebc067b"/>    <section>
    <title>setupMicrographID()</title>
<indexterm><primary>setupMicrographID</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>setupMicrographID</secondary></indexterm>
<para><computeroutput>setupMicrographID w </computeroutput></para><para>

<para>Sets up micrograph id and total. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>w</entry>
                                <entry>
<para>window. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 404 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a14176fc1f9fc0ac3f690feb6419ac033"/>    <section>
    <title>setupParameterMenu()</title>
<indexterm><primary>setupParameterMenu</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>setupParameterMenu</secondary></indexterm>
<para><computeroutput>setupParameterMenu</computeroutput></para><para>

<para>Menu for opening and closing parameter files. </para>
</para>
<para>
Definition at line 22 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a311d389345eef732dc983f7adfcc2e8c"/>    <section>
    <title>tag_line()</title>
<indexterm><primary>tag_line</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>tag_line</secondary></indexterm>
<para><computeroutput>tag_line w </computeroutput></para><para>
Definition at line 119 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a8218c095d4dd935525d94588f0114880"/>    <section>
    <title>updateClassParam()</title>
<indexterm><primary>updateClassParam</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>updateClassParam</secondary></indexterm>
<para><computeroutput>updateClassParam</computeroutput></para><para>
Definition at line 231 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1aa8aef9a8b78c99583c29ccbcee6acc56"/>    <section>
    <title>updateParametersAndImage()</title>
<indexterm><primary>updateParametersAndImage</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>updateParametersAndImage</secondary></indexterm>
<para><computeroutput>updateParametersAndImage</computeroutput></para><para>
Definition at line 241 of file bshow_param.tcl.</para>
    </section><anchor xml:id="_bshow__param_8tcl_1a32bb9c99255905b08f748459ccb7c814"/>    <section>
    <title>writeParam()</title>
<indexterm><primary>writeParam</primary><secondary>bshow_param.tcl</secondary></indexterm>
<indexterm><primary>bshow_param.tcl</primary><secondary>writeParam</secondary></indexterm>
<para><computeroutput>writeParam</computeroutput></para><para>

<para>Saves the micrograph data base to a parameter file. </para>
</para>
<para>
Definition at line 564 of file bshow_param.tcl.</para>
</section>
</section>
</section>
