Ignore:
Timestamp:
Apr 23, 2014 5:11:13 PM (8 years ago)
Author:
toby
Message:

Start on parametric fitting; Time for new manual; fix minor formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sphinxdocs/build/html/_modules/GSASIIddataGUI.html

    r1183 r1298  
    5454<span class="c">#GSASII - phase data display routines</span>
    5555<span class="c">########### SVN repository information ###################</span>
    56 <span class="c"># $Date: 2013-12-17 16:12:54 -0600 (Tue, 17 Dec 2013) $</span>
     56<span class="c"># $Date: 2014-03-20 12:52:14 -0500 (Thu, 20 Mar 2014) $</span>
    5757<span class="c"># $Author: toby $</span>
    58 <span class="c"># $Revision: 1172 $</span>
     58<span class="c"># $Revision: 1257 $</span>
    5959<span class="c"># $URL: https://subversion.xor.aps.anl.gov/pyGSAS/trunk/GSASIIddataGUI.py $</span>
    60 <span class="c"># $Id: GSASIIddataGUI.py 1172 2013-12-17 22:12:54Z toby $</span>
     60<span class="c"># $Id: GSASIIddataGUI.py 1257 2014-03-20 17:52:14Z toby $</span>
    6161<span class="c">########### SVN repository information ###################</span>
    6262<span class="sd">&#39;&#39;&#39;</span>
     
    7575<span class="kn">import</span> <span class="nn">sys</span>
    7676<span class="kn">import</span> <span class="nn">GSASIIpath</span>
    77 <span class="n">GSASIIpath</span><span class="o">.</span><span class="n">SetVersionNumber</span><span class="p">(</span><span class="s">&quot;$Revision: 1172 $&quot;</span><span class="p">)</span>
     77<span class="n">GSASIIpath</span><span class="o">.</span><span class="n">SetVersionNumber</span><span class="p">(</span><span class="s">&quot;$Revision: 1257 $&quot;</span><span class="p">)</span>
    7878<span class="kn">import</span> <span class="nn">GSASIIlattice</span> <span class="kn">as</span> <span class="nn">G2lat</span>
    7979<span class="kn">import</span> <span class="nn">GSASIIspc</span> <span class="kn">as</span> <span class="nn">G2spc</span>
     
    8888<span class="kn">import</span> <span class="nn">numpy</span> <span class="kn">as</span> <span class="nn">np</span>
    8989
     90<span class="n">WACV</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span>
    9091<span class="n">VERY_LIGHT_GREY</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">Colour</span><span class="p">(</span><span class="mi">235</span><span class="p">,</span><span class="mi">235</span><span class="p">,</span><span class="mi">235</span><span class="p">)</span>
    9192<span class="n">WHITE</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">Colour</span><span class="p">(</span><span class="mi">255</span><span class="p">,</span><span class="mi">255</span><span class="p">,</span><span class="mi">255</span><span class="p">)</span>
     
    155156        <span class="k">if</span> <span class="n">generalData</span><span class="p">[</span><span class="s">&#39;Data plot type&#39;</span><span class="p">]</span> <span class="o">==</span> <span class="s">&#39;Preferred orientation&#39;</span><span class="p">:</span>
    156157            <span class="n">POhklSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    157             <span class="n">POhklSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Plot preferred orientation for H K L: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     158            <span class="n">POhklSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Plot preferred orientation for H K L: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    158159            <span class="n">h</span><span class="p">,</span><span class="n">k</span><span class="p">,</span><span class="n">l</span> <span class="o">=</span> <span class="n">generalData</span><span class="p">[</span><span class="s">&#39;POhkl&#39;</span><span class="p">]</span>
    159160            <span class="n">poAxis</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%3d</span><span class="s"> </span><span class="si">%3d</span><span class="s"> </span><span class="si">%3d</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">h</span><span class="p">,</span><span class="n">k</span><span class="p">,</span><span class="n">l</span><span class="p">),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
    160161            <span class="n">poAxis</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnPOhkl</span><span class="p">)</span>
    161162            <span class="n">poAxis</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnPOhkl</span><span class="p">)</span>
    162             <span class="n">POhklSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poAxis</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     163            <span class="n">POhklSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poAxis</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    163164            <span class="n">plotSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">POhklSizer</span><span class="p">)</span>           
    164165        <span class="k">return</span> <span class="n">plotSizer</span>
     
    188189        <span class="n">Indx</span><span class="p">[</span><span class="n">scaleRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    189190        <span class="n">scaleRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnScaleRef</span><span class="p">)</span>
    190         <span class="n">scaleSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">scaleRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     191        <span class="n">scaleSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">scaleRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    191192        <span class="n">scaleVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    192193            <span class="s">&#39;</span><span class="si">%.4f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Scale&#39;</span><span class="p">][</span><span class="mi">0</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    194195        <span class="n">scaleVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnScaleVal</span><span class="p">)</span>
    195196        <span class="n">scaleVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnScaleVal</span><span class="p">)</span>
    196         <span class="n">scaleSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">scaleVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     197        <span class="n">scaleSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">scaleVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    197198        <span class="k">return</span> <span class="n">scaleSizer</span>
    198199       
     
    218219        <span class="k">for</span> <span class="n">name</span> <span class="ow">in</span> <span class="n">copyNames</span><span class="p">:</span>
    219220            <span class="n">copyDict</span><span class="p">[</span><span class="n">name</span><span class="p">]</span> <span class="o">=</span> <span class="n">copy</span><span class="o">.</span><span class="n">deepcopy</span><span class="p">(</span><span class="n">sourceDict</span><span class="p">[</span><span class="n">name</span><span class="p">])</span>        <span class="c">#force copy</span>
    220         <span class="n">keyList</span> <span class="o">=</span> <span class="p">[</span><span class="s">&#39;All&#39;</span><span class="p">,]</span><span class="o">+</span><span class="n">UseList</span><span class="o">.</span><span class="n">keys</span><span class="p">()</span>
     221        <span class="n">keyList</span> <span class="o">=</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">UseList</span><span class="o">.</span><span class="n">keys</span><span class="p">())</span>
    221222        <span class="k">if</span> <span class="n">UseList</span><span class="p">:</span>
    222             <span class="n">copyList</span> <span class="o">=</span> <span class="p">[]</span>
    223             <span class="n">dlg</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">MultiChoiceDialog</span><span class="p">(</span><span class="n">G2frame</span><span class="p">,</span>
    224                 <span class="s">&#39;Copy parameters to which histograms?&#39;</span><span class="p">,</span> <span class="s">&#39;Copy parameters&#39;</span><span class="p">,</span>
    225                 <span class="n">keyList</span><span class="p">,</span> <span class="n">wx</span><span class="o">.</span><span class="n">CHOICEDLG_STYLE</span><span class="p">)</span>
     223            <span class="n">dlg</span> <span class="o">=</span> <span class="n">G2gd</span><span class="o">.</span><span class="n">G2MultiChoiceDialog</span><span class="p">(</span><span class="n">G2frame</span><span class="o">.</span><span class="n">dataFrame</span><span class="p">,</span> <span class="s">&#39;Copy parameters&#39;</span><span class="p">,</span>
     224                <span class="s">&#39;Copy parameters to which histograms?&#39;</span><span class="p">,</span>
     225                <span class="n">keyList</span><span class="p">)</span>
    226226            <span class="k">try</span><span class="p">:</span>
    227227                <span class="k">if</span> <span class="n">dlg</span><span class="o">.</span><span class="n">ShowModal</span><span class="p">()</span> <span class="o">==</span> <span class="n">wx</span><span class="o">.</span><span class="n">ID_OK</span><span class="p">:</span>
    228                     <span class="n">result</span> <span class="o">=</span> <span class="n">dlg</span><span class="o">.</span><span class="n">GetSelections</span><span class="p">()</span>
    229                     <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="n">result</span><span class="p">:</span>
    230                         <span class="n">copyList</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">keyList</span><span class="p">[</span><span class="n">i</span><span class="p">])</span>
    231                     <span class="k">if</span> <span class="s">&#39;All&#39;</span> <span class="ow">in</span> <span class="n">copyList</span><span class="p">:</span>
    232                         <span class="n">copyList</span> <span class="o">=</span> <span class="n">keyList</span><span class="p">[</span><span class="mi">1</span><span class="p">:]</span>
    233                     <span class="k">for</span> <span class="n">item</span> <span class="ow">in</span> <span class="n">copyList</span><span class="p">:</span>
    234                         <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">]</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">copy</span><span class="o">.</span><span class="n">deepcopy</span><span class="p">(</span><span class="n">copyDict</span><span class="p">))</span>
     228                    <span class="k">for</span> <span class="n">sel</span> <span class="ow">in</span> <span class="n">dlg</span><span class="o">.</span><span class="n">GetSelections</span><span class="p">():</span>
     229                        <span class="n">UseList</span><span class="p">[</span><span class="n">keyList</span><span class="p">[</span><span class="n">sel</span><span class="p">]]</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">copy</span><span class="o">.</span><span class="n">deepcopy</span><span class="p">(</span><span class="n">copyDict</span><span class="p">))</span>
    235230                    <span class="n">wx</span><span class="o">.</span><span class="n">CallAfter</span><span class="p">(</span><span class="n">UpdateDData</span><span class="p">,</span><span class="n">G2frame</span><span class="p">,</span><span class="n">DData</span><span class="p">,</span><span class="n">data</span><span class="p">)</span>
    236231            <span class="k">finally</span><span class="p">:</span>
     
    261256                <span class="k">for</span> <span class="n">bab</span> <span class="ow">in</span> <span class="n">babNames</span><span class="p">:</span>
    262257                    <span class="n">copyDict</span><span class="p">[</span><span class="n">name</span><span class="p">][</span><span class="n">bab</span><span class="p">]</span> <span class="o">=</span> <span class="n">sourceDict</span><span class="p">[</span><span class="n">name</span><span class="p">][</span><span class="n">bab</span><span class="p">][</span><span class="mi">1</span><span class="p">]</span>                       
    263         <span class="n">keyList</span> <span class="o">=</span> <span class="p">[</span><span class="s">&#39;All&#39;</span><span class="p">,]</span><span class="o">+</span><span class="n">UseList</span><span class="o">.</span><span class="n">keys</span><span class="p">()</span>
     258        <span class="n">keyList</span> <span class="o">=</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">UseList</span><span class="o">.</span><span class="n">keys</span><span class="p">())</span>
    264259        <span class="k">if</span> <span class="n">UseList</span><span class="p">:</span>
    265             <span class="n">copyList</span> <span class="o">=</span> <span class="p">[]</span>
    266             <span class="n">dlg</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">MultiChoiceDialog</span><span class="p">(</span><span class="n">G2frame</span><span class="p">,</span>
    267                 <span class="s">&#39;Copy parameters to which histograms?&#39;</span><span class="p">,</span> <span class="s">&#39;Copy parameters&#39;</span><span class="p">,</span>
    268                 <span class="n">keyList</span><span class="p">,</span> <span class="n">wx</span><span class="o">.</span><span class="n">CHOICEDLG_STYLE</span><span class="p">)</span>
     260            <span class="n">dlg</span> <span class="o">=</span> <span class="n">G2gd</span><span class="o">.</span><span class="n">G2MultiChoiceDialog</span><span class="p">(</span><span class="n">G2frame</span><span class="o">.</span><span class="n">dataFrame</span><span class="p">,</span> <span class="s">&#39;Copy parameters&#39;</span><span class="p">,</span>
     261                <span class="s">&#39;Copy parameters to which histograms?&#39;</span><span class="p">,</span>
     262                <span class="n">keyList</span><span class="p">)</span>
    269263            <span class="k">try</span><span class="p">:</span>
    270264                <span class="k">if</span> <span class="n">dlg</span><span class="o">.</span><span class="n">ShowModal</span><span class="p">()</span> <span class="o">==</span> <span class="n">wx</span><span class="o">.</span><span class="n">ID_OK</span><span class="p">:</span>
    271                     <span class="n">result</span> <span class="o">=</span> <span class="n">dlg</span><span class="o">.</span><span class="n">GetSelections</span><span class="p">()</span>
    272                     <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="n">result</span><span class="p">:</span>
    273                         <span class="n">copyList</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">keyList</span><span class="p">[</span><span class="n">i</span><span class="p">])</span>
    274                     <span class="k">if</span> <span class="s">&#39;All&#39;</span> <span class="ow">in</span> <span class="n">copyList</span><span class="p">:</span>
    275                         <span class="n">copyList</span> <span class="o">=</span> <span class="n">keyList</span><span class="p">[</span><span class="mi">1</span><span class="p">:]</span>
    276                     <span class="k">for</span> <span class="n">item</span> <span class="ow">in</span> <span class="n">copyList</span><span class="p">:</span>
    277                         <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">]</span>                           
     265                    <span class="k">for</span> <span class="n">sel</span> <span class="ow">in</span> <span class="n">dlg</span><span class="o">.</span><span class="n">GetSelections</span><span class="p">():</span>
     266                        <span class="n">item</span> <span class="o">=</span> <span class="n">keyList</span><span class="p">[</span><span class="n">sel</span><span class="p">]</span>
     267                        <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">]</span>
    278268                        <span class="k">for</span> <span class="n">name</span> <span class="ow">in</span> <span class="n">copyNames</span><span class="p">:</span>
    279269                            <span class="k">if</span> <span class="n">name</span> <span class="ow">in</span> <span class="p">[</span><span class="s">&#39;Scale&#39;</span><span class="p">,</span><span class="s">&#39;Extinction&#39;</span><span class="p">,</span><span class="s">&#39;HStrain&#39;</span><span class="p">]:</span>
     
    297287            <span class="k">finally</span><span class="p">:</span>
    298288                <span class="n">dlg</span><span class="o">.</span><span class="n">Destroy</span><span class="p">()</span>
    299        
    300        
     289               
    301290    <span class="k">def</span> <span class="nf">OnLGmixRef</span><span class="p">(</span><span class="n">event</span><span class="p">):</span>
    302291        <span class="n">Obj</span> <span class="o">=</span> <span class="n">event</span><span class="o">.</span><span class="n">GetEventObject</span><span class="p">()</span>
     
    604593    <span class="k">def</span> <span class="nf">TopSizer</span><span class="p">(</span><span class="n">name</span><span class="p">,</span><span class="n">choices</span><span class="p">,</span><span class="n">parm</span><span class="p">,</span><span class="n">OnType</span><span class="p">):</span>
    605594        <span class="n">topSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    606         <span class="n">topSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">name</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     595        <span class="n">topSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">name</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    607596        <span class="n">sizeType</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">ComboBox</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span><span class="n">value</span><span class="o">=</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="n">parm</span><span class="p">][</span><span class="mi">0</span><span class="p">],</span><span class="n">choices</span><span class="o">=</span><span class="n">choices</span><span class="p">,</span>
    608597            <span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">CB_READONLY</span><span class="o">|</span><span class="n">wx</span><span class="o">.</span><span class="n">CB_DROPDOWN</span><span class="p">)</span>
     
    620609        <span class="n">Indx</span><span class="p">[</span><span class="n">lgmixRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="n">name</span><span class="p">]</span>
    621610        <span class="n">lgmixRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnRef</span><span class="p">)</span>
    622         <span class="n">lgmixSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">lgmixRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     611        <span class="n">lgmixSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">lgmixRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    623612        <span class="n">lgmixVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    624613            <span class="s">&#39;</span><span class="si">%.4f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="n">name</span><span class="p">][</span><span class="mi">1</span><span class="p">][</span><span class="mi">2</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    626615        <span class="n">lgmixVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnVal</span><span class="p">)</span>
    627616        <span class="n">lgmixVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnVal</span><span class="p">)</span>
    628         <span class="n">lgmixSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">lgmixVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     617        <span class="n">lgmixSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">lgmixVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    629618        <span class="k">return</span> <span class="n">lgmixSizer</span>
    630619                   
     
    637626        <span class="n">Indx</span><span class="p">[</span><span class="n">reset</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="n">name</span><span class="p">]</span>
    638627        <span class="n">reset</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span><span class="n">OnReset</span><span class="p">)</span>
    639         <span class="n">resetSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">reset</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     628        <span class="n">resetSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">reset</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    640629        <span class="k">return</span> <span class="n">resetSizer</span>
    641630       
     
    647636        <span class="n">Indx</span><span class="p">[</span><span class="n">sizeRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="mi">0</span><span class="p">]</span>
    648637        <span class="n">sizeRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnRef</span><span class="p">)</span>
    649         <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     638        <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    650639        <span class="n">sizeVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    651640            <span class="n">fmt</span><span class="o">%</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="n">parm</span><span class="p">][</span><span class="mi">1</span><span class="p">][</span><span class="mi">0</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    653642        <span class="n">sizeVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnVal</span><span class="p">)</span>
    654643        <span class="n">sizeVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnVal</span><span class="p">)</span>
    655         <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     644        <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    656645        <span class="k">return</span> <span class="n">isoSizer</span>
    657646       
    658647    <span class="k">def</span> <span class="nf">UniSizer</span><span class="p">(</span><span class="n">parm</span><span class="p">,</span><span class="n">OnAxis</span><span class="p">):</span>
    659648        <span class="n">uniSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    660         <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Unique axis, H K L: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     649        <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Unique axis, H K L: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    661650        <span class="n">h</span><span class="p">,</span><span class="n">k</span><span class="p">,</span><span class="n">l</span> <span class="o">=</span> <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="n">parm</span><span class="p">][</span><span class="mi">3</span><span class="p">]</span>
    662651        <span class="n">Axis</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%3d</span><span class="s"> </span><span class="si">%3d</span><span class="s"> </span><span class="si">%3d</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">h</span><span class="p">,</span><span class="n">k</span><span class="p">,</span><span class="n">l</span><span class="p">),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    664653        <span class="n">Axis</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnAxis</span><span class="p">)</span>
    665654        <span class="n">Axis</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnAxis</span><span class="p">)</span>
    666         <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">Axis</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     655        <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">Axis</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    667656        <span class="k">return</span> <span class="n">uniSizer</span>
    668657       
     
    677666            <span class="n">Indx</span><span class="p">[</span><span class="n">sizeRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="nb">id</span><span class="p">]</span>
    678667            <span class="n">sizeRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnRef</span><span class="p">)</span>
    679             <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     668            <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    680669            <span class="n">sizeVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span><span class="n">fmt</span><span class="o">%</span><span class="p">(</span><span class="n">val</span><span class="p">),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
    681670            <span class="n">Indx</span><span class="p">[</span><span class="n">sizeVal</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="nb">id</span><span class="p">]</span>
    682671            <span class="n">sizeVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnVal</span><span class="p">)</span>
    683672            <span class="n">sizeVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnVal</span><span class="p">)</span>
    684             <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     673            <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    685674            <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">((</span><span class="mi">5</span><span class="p">,</span><span class="mi">0</span><span class="p">),</span><span class="mi">0</span><span class="p">)</span>
    686675        <span class="k">return</span> <span class="n">dataSizer</span>
     
    696685            <span class="n">Indx</span><span class="p">[</span><span class="n">sizeRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="nb">id</span><span class="p">]</span>
    697686            <span class="n">sizeRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnSizeRef</span><span class="p">)</span>
    698             <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     687            <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    699688            <span class="n">sizeVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%.3f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">val</span><span class="p">),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
    700689            <span class="n">Indx</span><span class="p">[</span><span class="n">sizeVal</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="nb">id</span><span class="p">]</span>
    701690            <span class="n">sizeVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnSizeVal</span><span class="p">)</span>
    702691            <span class="n">sizeVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnSizeVal</span><span class="p">)</span>
    703             <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     692            <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">sizeVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    704693        <span class="k">return</span> <span class="n">dataSizer</span>
    705694       
     
    718707            <span class="n">Indx</span><span class="p">[</span><span class="n">strainRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="nb">id</span><span class="p">]</span>
    719708            <span class="n">strainRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnStrainRef</span><span class="p">)</span>
    720             <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">strainRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     709            <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">strainRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    721710            <span class="n">strainVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%.5f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">val</span><span class="p">),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
    722711            <span class="n">Indx</span><span class="p">[</span><span class="n">strainVal</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="nb">id</span><span class="p">]</span>
    723712            <span class="n">strainVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnStrainVal</span><span class="p">)</span>
    724713            <span class="n">strainVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnStrainVal</span><span class="p">)</span>
    725             <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">strainVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     714            <span class="n">dataSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">strainVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    726715        <span class="k">return</span> <span class="n">dataSizer</span>
    727716
     
    736725            <span class="n">Indx</span><span class="p">[</span><span class="n">hstrainRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="nb">id</span><span class="p">]</span>
    737726            <span class="n">hstrainRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnHstrainRef</span><span class="p">)</span>
    738             <span class="n">hstrainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">hstrainRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     727            <span class="n">hstrainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">hstrainRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    739728            <span class="n">hstrainVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%.5f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">val</span><span class="p">),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
    740729            <span class="n">Indx</span><span class="p">[</span><span class="n">hstrainVal</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="nb">id</span><span class="p">]</span>
    741730            <span class="n">hstrainVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnHstrainVal</span><span class="p">)</span>
    742731            <span class="n">hstrainVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnHstrainVal</span><span class="p">)</span>
    743             <span class="n">hstrainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">hstrainVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     732            <span class="n">hstrainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">hstrainVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    744733        <span class="k">return</span> <span class="n">hstrainSizer</span>
    745734       
     
    748737        <span class="n">choice</span> <span class="o">=</span> <span class="p">[</span><span class="s">&#39;March-Dollase&#39;</span><span class="p">,</span><span class="s">&#39;Spherical harmonics&#39;</span><span class="p">]</span>
    749738        <span class="n">POtype</span> <span class="o">=</span> <span class="n">choice</span><span class="p">[[</span><span class="s">&#39;MD&#39;</span><span class="p">,</span><span class="s">&#39;SH&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">index</span><span class="p">(</span><span class="n">POData</span><span class="p">[</span><span class="mi">0</span><span class="p">])]</span>
    750         <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Preferred orientation model &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     739        <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Preferred orientation model &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    751740        <span class="n">POType</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">ComboBox</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span><span class="n">value</span><span class="o">=</span><span class="n">POtype</span><span class="p">,</span><span class="n">choices</span><span class="o">=</span><span class="n">choice</span><span class="p">,</span>
    752741            <span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">CB_READONLY</span><span class="o">|</span><span class="n">wx</span><span class="o">.</span><span class="n">CB_DROPDOWN</span><span class="p">)</span>
     
    755744        <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">POType</span><span class="p">)</span>
    756745        <span class="k">if</span> <span class="n">POData</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">==</span> <span class="s">&#39;SH&#39;</span><span class="p">:</span>
    757             <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Harmonic order: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     746            <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Harmonic order: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    758747            <span class="n">poOrder</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">ComboBox</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span><span class="n">value</span><span class="o">=</span><span class="nb">str</span><span class="p">(</span><span class="n">POData</span><span class="p">[</span><span class="mi">4</span><span class="p">]),</span><span class="n">choices</span><span class="o">=</span><span class="p">[</span><span class="nb">str</span><span class="p">(</span><span class="mi">2</span><span class="o">*</span><span class="n">i</span><span class="p">)</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">18</span><span class="p">)],</span>
    759748                <span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">CB_READONLY</span><span class="o">|</span><span class="n">wx</span><span class="o">.</span><span class="n">CB_DROPDOWN</span><span class="p">)</span>
    760749            <span class="n">Indx</span><span class="p">[</span><span class="n">poOrder</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    761750            <span class="n">poOrder</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_COMBOBOX</span><span class="p">,</span><span class="n">OnPOOrder</span><span class="p">)</span>
    762             <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poOrder</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     751            <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poOrder</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    763752            <span class="n">poRef</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">CheckBox</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">label</span><span class="o">=</span><span class="s">&#39; Refine? &#39;</span><span class="p">)</span>
    764753            <span class="n">poRef</span><span class="o">.</span><span class="n">SetValue</span><span class="p">(</span><span class="n">POData</span><span class="p">[</span><span class="mi">2</span><span class="p">])</span>
    765754            <span class="n">Indx</span><span class="p">[</span><span class="n">poRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    766755            <span class="n">poRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span><span class="n">OnPORef</span><span class="p">)</span>
    767             <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     756            <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    768757        <span class="k">return</span> <span class="n">poSizer</span>
    769758       
     
    774763        <span class="n">Indx</span><span class="p">[</span><span class="n">poRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    775764        <span class="n">poRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span><span class="n">OnPORef</span><span class="p">)</span>
    776         <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     765        <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    777766        <span class="n">poVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    778767            <span class="s">&#39;</span><span class="si">%.3f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">POData</span><span class="p">[</span><span class="mi">1</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    780769        <span class="n">poVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnPOVal</span><span class="p">)</span>
    781770        <span class="n">poVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnPOVal</span><span class="p">)</span>
    782         <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
    783         <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Unique axis, H K L: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     771        <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
     772        <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Unique axis, H K L: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    784773        <span class="n">h</span><span class="p">,</span><span class="n">k</span><span class="p">,</span><span class="n">l</span> <span class="o">=</span><span class="n">POData</span><span class="p">[</span><span class="mi">3</span><span class="p">]</span>
    785774        <span class="n">poAxis</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%3d</span><span class="s"> </span><span class="si">%3d</span><span class="s"> </span><span class="si">%3d</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">h</span><span class="p">,</span><span class="n">k</span><span class="p">,</span><span class="n">l</span><span class="p">),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    787776        <span class="n">poAxis</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnPOAxis</span><span class="p">)</span>
    788777        <span class="n">poAxis</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnPOAxis</span><span class="p">)</span>
    789         <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poAxis</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     778        <span class="n">poSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">poAxis</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    790779        <span class="k">return</span> <span class="n">poSizer</span>
    791780       
    792781    <span class="k">def</span> <span class="nf">SHDataSizer</span><span class="p">(</span><span class="n">POData</span><span class="p">):</span>
    793782        <span class="n">textJ</span> <span class="o">=</span> <span class="n">G2lat</span><span class="o">.</span><span class="n">textureIndex</span><span class="p">(</span><span class="n">POData</span><span class="p">[</span><span class="mi">5</span><span class="p">])</span>
    794         <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Spherical harmonic coefficients: &#39;</span><span class="o">+</span><span class="s">&#39;Texture index: </span><span class="si">%.3f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">textJ</span><span class="p">)),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     783        <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Spherical harmonic coefficients: &#39;</span><span class="o">+</span><span class="s">&#39;Texture index: </span><span class="si">%.3f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">textJ</span><span class="p">)),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    795784        <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">((</span><span class="mi">0</span><span class="p">,</span><span class="mi">5</span><span class="p">),</span><span class="mi">0</span><span class="p">)</span>
    796785        <span class="n">ODFSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">FlexGridSizer</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span><span class="mi">8</span><span class="p">,</span><span class="mi">2</span><span class="p">,</span><span class="mi">2</span><span class="p">)</span>
     
    799788        <span class="n">ODFkeys</span><span class="o">.</span><span class="n">sort</span><span class="p">()</span>
    800789        <span class="k">for</span> <span class="n">odf</span> <span class="ow">in</span> <span class="n">ODFkeys</span><span class="p">:</span>
    801             <span class="n">ODFSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">odf</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     790            <span class="n">ODFSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">odf</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    802791            <span class="n">ODFval</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%8.3f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">POData</span><span class="p">[</span><span class="mi">5</span><span class="p">][</span><span class="n">odf</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
    803792            <span class="n">ODFIndx</span><span class="p">[</span><span class="n">ODFval</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">odf</span>
    804793<span class="c">#             ODFval.Bind(wx.EVT_TEXT_ENTER,OnODFValue)</span>
    805794<span class="c">#             ODFval.Bind(wx.EVT_KILL_FOCUS,OnODFValue)</span>
    806             <span class="n">ODFSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ODFval</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     795            <span class="n">ODFSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ODFval</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    807796        <span class="k">return</span> <span class="n">ODFSizer</span>
    808797       
     
    813802        <span class="n">Indx</span><span class="p">[</span><span class="n">extRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    814803        <span class="n">extRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnExtRef</span><span class="p">)</span>
    815         <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">extRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     804        <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">extRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    816805        <span class="n">extVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    817806            <span class="s">&#39;</span><span class="si">%.2f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Extinction&#39;</span><span class="p">][</span><span class="mi">0</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    819808        <span class="n">extVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnExtVal</span><span class="p">)</span>
    820809        <span class="n">extVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnExtVal</span><span class="p">)</span>
    821         <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">extVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     810        <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">extVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    822811        <span class="k">return</span> <span class="n">extSizer</span>
    823812   
     
    825814        <span class="n">extSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">VERTICAL</span><span class="p">)</span>
    826815        <span class="n">typeSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>           
    827         <span class="n">typeSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Extinction type: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     816        <span class="n">typeSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Extinction type: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    828817        <span class="n">Choices</span> <span class="o">=</span> <span class="p">[</span><span class="s">&#39;None&#39;</span><span class="p">,</span><span class="s">&#39;Primary&#39;</span><span class="p">,</span><span class="s">&#39;Secondary Type I&#39;</span><span class="p">,</span><span class="s">&#39;Secondary Type II&#39;</span><span class="p">,</span><span class="s">&#39;Secondary Type I &amp; II&#39;</span><span class="p">]</span>
    829818        <span class="n">typeTxt</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">ComboBox</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">choices</span><span class="o">=</span><span class="n">Choices</span><span class="p">,</span><span class="n">value</span><span class="o">=</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Extinction&#39;</span><span class="p">][</span><span class="mi">1</span><span class="p">],</span>
     
    832821        <span class="n">typeTxt</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_COMBOBOX</span><span class="p">,</span><span class="n">OnSCExtType</span><span class="p">)</span>
    833822        <span class="n">typeSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">typeTxt</span><span class="p">)</span>
    834         <span class="n">typeSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Approx: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     823        <span class="n">typeSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Approx: &#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    835824        <span class="n">Choices</span><span class="o">=</span><span class="p">[</span><span class="s">&#39;Lorentzian&#39;</span><span class="p">,</span><span class="s">&#39;Gaussian&#39;</span><span class="p">]</span>
    836825        <span class="n">approxTxT</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">ComboBox</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">choices</span><span class="o">=</span><span class="n">Choices</span><span class="p">,</span><span class="n">value</span><span class="o">=</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Extinction&#39;</span><span class="p">][</span><span class="mi">0</span><span class="p">],</span>
     
    839828        <span class="n">approxTxT</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_COMBOBOX</span><span class="p">,</span><span class="n">OnSCExtType</span><span class="p">)</span>
    840829        <span class="n">typeSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">approxTxT</span><span class="p">)</span>
    841         <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">typeSizer</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     830        <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">typeSizer</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    842831        <span class="k">if</span> <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Extinction&#39;</span><span class="p">][</span><span class="mi">1</span><span class="p">]</span> <span class="o">!=</span> <span class="s">&#39;None&#39;</span><span class="p">:</span>
    843832            <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">((</span><span class="mi">0</span><span class="p">,</span><span class="mi">5</span><span class="p">),)</span>
    844833            <span class="n">valSizer</span> <span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    845             <span class="n">valSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Tbar(mm):&#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     834            <span class="n">valSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; Tbar(mm):&#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    846835            <span class="n">tbarVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    847836                <span class="s">&#39;</span><span class="si">%.3f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Extinction&#39;</span><span class="p">][</span><span class="mi">2</span><span class="p">][</span><span class="s">&#39;Tbar&#39;</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    849838            <span class="n">tbarVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnTbarVal</span><span class="p">)</span>
    850839            <span class="n">tbarVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnTbarVal</span><span class="p">)</span>
    851             <span class="n">valSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">tbarVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
    852             <span class="n">valSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; cos(2ThM):&#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     840            <span class="n">valSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">tbarVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
     841            <span class="n">valSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39; cos(2ThM):&#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    853842            <span class="n">cos2tm</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    854843                <span class="s">&#39;</span><span class="si">%.3f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Extinction&#39;</span><span class="p">][</span><span class="mi">2</span><span class="p">][</span><span class="s">&#39;Cos2TM&#39;</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    856845            <span class="n">cos2tm</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnCos2TM</span><span class="p">)</span>
    857846            <span class="n">cos2tm</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnCos2TM</span><span class="p">)</span>
    858             <span class="n">valSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">cos2tm</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
    859             <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">valSizer</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     847            <span class="n">valSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">cos2tm</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
     848            <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">valSizer</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    860849            <span class="n">val2Sizer</span> <span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    861850            <span class="k">if</span> <span class="s">&#39;Primary&#39;</span> <span class="ow">in</span> <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Extinction&#39;</span><span class="p">][</span><span class="mi">1</span><span class="p">]:</span>
     
    872861                <span class="n">Indx</span><span class="p">[</span><span class="n">Eref</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="n">ekey</span><span class="p">]</span>
    873862                <span class="n">Eref</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnEref</span><span class="p">)</span>
    874                 <span class="n">val2Sizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">Eref</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     863                <span class="n">val2Sizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">Eref</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    875864                <span class="n">Eval</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    876865                    <span class="s">&#39;</span><span class="si">%10.3e</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Extinction&#39;</span><span class="p">][</span><span class="mi">2</span><span class="p">][</span><span class="n">ekey</span><span class="p">][</span><span class="mi">0</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    878867                <span class="n">Eval</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnEval</span><span class="p">)</span>
    879868                <span class="n">Eval</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnEval</span><span class="p">)</span>
    880                 <span class="n">val2Sizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">Eval</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
    881 
    882             <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">val2Sizer</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     869                <span class="n">val2Sizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">Eval</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
     870
     871            <span class="n">extSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">val2Sizer</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    883872        <span class="k">return</span> <span class="n">extSizer</span>
    884873       
     
    890879            <span class="n">Indx</span><span class="p">[</span><span class="n">babRef</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="p">[</span><span class="n">item</span><span class="p">,</span><span class="n">bab</span><span class="p">]</span>
    891880            <span class="n">babRef</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnBabRef</span><span class="p">)</span>
    892             <span class="n">babSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">babRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     881            <span class="n">babSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">babRef</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    893882            <span class="n">babVal</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">TextCtrl</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ID_ANY</span><span class="p">,</span>
    894883                <span class="s">&#39;</span><span class="si">%.3f</span><span class="s">&#39;</span><span class="o">%</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Babinet&#39;</span><span class="p">][</span><span class="s">&#39;Bab&#39;</span><span class="o">+</span><span class="n">bab</span><span class="p">][</span><span class="mi">0</span><span class="p">]),</span><span class="n">style</span><span class="o">=</span><span class="n">wx</span><span class="o">.</span><span class="n">TE_PROCESS_ENTER</span><span class="p">)</span>
     
    896885            <span class="n">babVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_TEXT_ENTER</span><span class="p">,</span><span class="n">OnBabVal</span><span class="p">)</span>
    897886            <span class="n">babVal</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_KILL_FOCUS</span><span class="p">,</span><span class="n">OnBabVal</span><span class="p">)</span>
    898             <span class="n">babSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">babVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     887            <span class="n">babSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">babVal</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    899888            <span class="n">babSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">((</span><span class="mi">5</span><span class="p">,</span><span class="mi">5</span><span class="p">),</span><span class="mi">0</span><span class="p">)</span>
    900889        <span class="k">return</span> <span class="n">babSizer</span>
     
    903892        <span class="n">DData</span><span class="o">.</span><span class="n">GetSizer</span><span class="p">()</span><span class="o">.</span><span class="n">Clear</span><span class="p">(</span><span class="bp">True</span><span class="p">)</span>
    904893    <span class="n">mainSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">VERTICAL</span><span class="p">)</span>
    905     <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39;Histogram data for &#39;</span><span class="o">+</span><span class="n">PhaseName</span><span class="o">+</span><span class="s">&#39;:&#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     894    <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">StaticText</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39;Histogram data for &#39;</span><span class="o">+</span><span class="n">PhaseName</span><span class="o">+</span><span class="s">&#39;:&#39;</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    906895    <span class="k">if</span> <span class="n">PWDR</span><span class="p">:</span>
    907896        <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">PlotSizer</span><span class="p">())</span>           
     
    918907        <span class="n">Indx</span><span class="p">[</span><span class="n">showData</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    919908        <span class="n">showData</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnShowData</span><span class="p">)</span>
    920         <span class="n">showSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">showData</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     909        <span class="n">showSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">showData</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    921910        <span class="n">useData</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">CheckBox</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">label</span><span class="o">=</span><span class="s">&#39;Use?&#39;</span><span class="p">)</span>
    922911        <span class="n">Indx</span><span class="p">[</span><span class="n">useData</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    923         <span class="n">showSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">useData</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     912        <span class="n">showSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">useData</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    924913        <span class="n">useData</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_CHECKBOX</span><span class="p">,</span> <span class="n">OnUseData</span><span class="p">)</span>
    925914        <span class="n">useData</span><span class="o">.</span><span class="n">SetValue</span><span class="p">(</span><span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Use&#39;</span><span class="p">])</span>
     
    927916        <span class="n">Indx</span><span class="p">[</span><span class="n">copyData</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    928917        <span class="n">copyData</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_BUTTON</span><span class="p">,</span><span class="n">OnCopyData</span><span class="p">)</span>
    929         <span class="n">showSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">copyData</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     918        <span class="n">showSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">copyData</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    930919        <span class="n">copyFlags</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">Button</span><span class="p">(</span><span class="n">DData</span><span class="p">,</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span><span class="n">label</span><span class="o">=</span><span class="s">&#39; Copy flags?&#39;</span><span class="p">)</span>
    931920        <span class="n">Indx</span><span class="p">[</span><span class="n">copyFlags</span><span class="o">.</span><span class="n">GetId</span><span class="p">()]</span> <span class="o">=</span> <span class="n">item</span>
    932921        <span class="n">copyFlags</span><span class="o">.</span><span class="n">Bind</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">EVT_BUTTON</span><span class="p">,</span><span class="n">OnCopyFlags</span><span class="p">)</span>
    933         <span class="n">showSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">copyFlags</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     922        <span class="n">showSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">copyFlags</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    934923        <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">((</span><span class="mi">5</span><span class="p">,</span><span class="mi">5</span><span class="p">),</span><span class="mi">0</span><span class="p">)</span>
    935         <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">showSizer</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     924        <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">showSizer</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    936925        <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">((</span><span class="mi">0</span><span class="p">,</span><span class="mi">5</span><span class="p">),</span><span class="mi">0</span><span class="p">)</span>
    937926       
     
    944933                <span class="n">isoSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    945934                <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">TopSizer</span><span class="p">(</span><span class="s">&#39; Size model: &#39;</span><span class="p">,[</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="s">&#39;ellipsoidal&#39;</span><span class="p">],</span>
    946                     <span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnSizeType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     935                    <span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnSizeType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    947936                <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">LGmixSizer</span><span class="p">(</span><span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnLGmixVal</span><span class="p">,</span><span class="n">OnLGmixRef</span><span class="p">))</span>
    948                 <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="n">OnResetSize</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     937                <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="n">OnResetSize</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    949938                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">isoSizer</span><span class="p">)</span>
    950939                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">IsoSizer</span><span class="p">(</span><span class="s">u&#39; Cryst. size(</span><span class="se">\xb5</span><span class="s">m): &#39;</span><span class="p">,</span><span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%.5f</span><span class="s">&#39;</span><span class="p">,</span>
    951                     <span class="n">OnSizeVal</span><span class="p">,</span><span class="n">OnSizeRef</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     940                    <span class="n">OnSizeVal</span><span class="p">,</span><span class="n">OnSizeRef</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    952941            <span class="k">elif</span> <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Size&#39;</span><span class="p">][</span><span class="mi">0</span><span class="p">]</span> <span class="o">==</span> <span class="s">&#39;uniaxial&#39;</span><span class="p">:</span>
    953942                <span class="n">uniSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    954943                <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">TopSizer</span><span class="p">(</span><span class="s">&#39; Size model: &#39;</span><span class="p">,[</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="s">&#39;ellipsoidal&#39;</span><span class="p">],</span>
    955                     <span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnSizeType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     944                    <span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnSizeType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    956945                <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">LGmixSizer</span><span class="p">(</span><span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnLGmixVal</span><span class="p">,</span><span class="n">OnLGmixRef</span><span class="p">))</span>
    957                 <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="n">OnResetSize</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
    958                 <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">UniSizer</span><span class="p">(</span><span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnSizeAxis</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     946                <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="n">OnResetSize</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
     947                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">UniSizer</span><span class="p">(</span><span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnSizeAxis</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    959948                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">uniSizer</span><span class="p">)</span>
    960949                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">UniDataSizer</span><span class="p">(</span><span class="s">u&#39;size(</span><span class="se">\xb5</span><span class="s">m): &#39;</span><span class="p">,</span><span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%.5f</span><span class="s">&#39;</span><span class="p">,</span><span class="n">OnSizeVal</span><span class="p">,</span><span class="n">OnSizeRef</span><span class="p">))</span>
     
    962951                <span class="n">ellSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    963952                <span class="n">ellSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">TopSizer</span><span class="p">(</span><span class="s">&#39; Size model: &#39;</span><span class="p">,[</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="s">&#39;ellipsoidal&#39;</span><span class="p">],</span>
    964                     <span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnSizeType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     953                    <span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnSizeType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    965954                <span class="n">ellSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">LGmixSizer</span><span class="p">(</span><span class="s">&#39;Size&#39;</span><span class="p">,</span><span class="n">OnLGmixVal</span><span class="p">,</span><span class="n">OnLGmixRef</span><span class="p">))</span>
    966                 <span class="n">ellSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;ellipsoidal&#39;</span><span class="p">,</span><span class="n">OnResetSize</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     955                <span class="n">ellSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;ellipsoidal&#39;</span><span class="p">,</span><span class="n">OnResetSize</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    967956                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ellSizer</span><span class="p">)</span>
    968957                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">EllSizeDataSizer</span><span class="p">())</span>
     
    972961                <span class="n">isoSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    973962                <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">TopSizer</span><span class="p">(</span><span class="s">&#39; Mustrain model: &#39;</span><span class="p">,[</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="s">&#39;generalized&#39;</span><span class="p">,],</span>
    974                     <span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnStrainType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     963                    <span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnStrainType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    975964                <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">LGmixSizer</span><span class="p">(</span><span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnLGmixVal</span><span class="p">,</span><span class="n">OnLGmixRef</span><span class="p">))</span>
    976                 <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="n">OnResetStrain</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     965                <span class="n">isoSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="n">OnResetStrain</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    977966                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">isoSizer</span><span class="p">)</span>
    978967                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">IsoSizer</span><span class="p">(</span><span class="s">&#39; microstrain: &#39;</span><span class="p">,</span><span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%.1f</span><span class="s">&#39;</span><span class="p">,</span>
    979                     <span class="n">OnStrainVal</span><span class="p">,</span><span class="n">OnStrainRef</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>                   
     968                    <span class="n">OnStrainVal</span><span class="p">,</span><span class="n">OnStrainRef</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>                   
    980969                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">((</span><span class="mi">0</span><span class="p">,</span><span class="mi">5</span><span class="p">),</span><span class="mi">0</span><span class="p">)</span>
    981970            <span class="k">elif</span> <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Mustrain&#39;</span><span class="p">][</span><span class="mi">0</span><span class="p">]</span> <span class="o">==</span> <span class="s">&#39;uniaxial&#39;</span><span class="p">:</span>
    982971                <span class="n">uniSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    983972                <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">TopSizer</span><span class="p">(</span><span class="s">&#39; Mustrain model: &#39;</span><span class="p">,[</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="s">&#39;generalized&#39;</span><span class="p">,],</span>
    984                     <span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnStrainType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     973                    <span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnStrainType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    985974                <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">LGmixSizer</span><span class="p">(</span><span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnLGmixVal</span><span class="p">,</span><span class="n">OnLGmixRef</span><span class="p">))</span>
    986                 <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="n">OnResetStrain</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     975                <span class="n">uniSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="n">OnResetStrain</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    987976                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">uniSizer</span><span class="p">)</span>
    988                 <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">UniSizer</span><span class="p">(</span><span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnStrainAxis</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     977                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">UniSizer</span><span class="p">(</span><span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnStrainAxis</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    989978                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">UniDataSizer</span><span class="p">(</span><span class="s">&#39;mustrain: &#39;</span><span class="p">,</span><span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="s">&#39;</span><span class="si">%.1f</span><span class="s">&#39;</span><span class="p">,</span><span class="n">OnStrainVal</span><span class="p">,</span><span class="n">OnStrainRef</span><span class="p">))</span>
    990979            <span class="k">elif</span> <span class="n">UseList</span><span class="p">[</span><span class="n">item</span><span class="p">][</span><span class="s">&#39;Mustrain&#39;</span><span class="p">][</span><span class="mi">0</span><span class="p">]</span> <span class="o">==</span> <span class="s">&#39;generalized&#39;</span><span class="p">:</span>
    991980                <span class="n">genSizer</span> <span class="o">=</span> <span class="n">wx</span><span class="o">.</span><span class="n">BoxSizer</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">HORIZONTAL</span><span class="p">)</span>
    992981                <span class="n">genSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">TopSizer</span><span class="p">(</span><span class="s">&#39; Mustrain model: &#39;</span><span class="p">,[</span><span class="s">&#39;isotropic&#39;</span><span class="p">,</span><span class="s">&#39;uniaxial&#39;</span><span class="p">,</span><span class="s">&#39;generalized&#39;</span><span class="p">,],</span>
    993                     <span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnStrainType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     982                    <span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnStrainType</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    994983                <span class="n">genSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">LGmixSizer</span><span class="p">(</span><span class="s">&#39;Mustrain&#39;</span><span class="p">,</span><span class="n">OnLGmixVal</span><span class="p">,</span><span class="n">OnLGmixRef</span><span class="p">))</span>
    995                 <span class="n">genSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;generalized&#39;</span><span class="p">,</span><span class="n">OnResetStrain</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">wx</span><span class="o">.</span><span class="n">ALIGN_CENTER_VERTICAL</span><span class="p">)</span>
     984                <span class="n">genSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">ResetSizer</span><span class="p">(</span><span class="s">&#39;generalized&#39;</span><span class="p">,</span><span class="n">OnResetStrain</span><span class="p">),</span><span class="mi">0</span><span class="p">,</span><span class="n">WACV</span><span class="p">)</span>
    996985                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">genSizer</span><span class="p">)</span>
    997986                <span class="n">mainSizer</span><span class="o">.</span><span class="n">Add</span><span class="p">(</span><span class="n">GenStrainDataSizer</span><span class="p">())</span>                       
Note: See TracChangeset for help on using the changeset viewer.