<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-3495295212797855714</atom:id><lastBuildDate>Sat, 20 Sep 2025 15:29:24 +0000</lastBuildDate><category>NBO</category><category>Jmol</category><category>Java</category><category>computational chemistry</category><category>organic chemistry</category><category>Apps</category><category>IPython</category><category>computation</category><category>jvxl</category><category>notebook</category><category>Gaussian</category><category>GitHub</category><category>JQuery</category><category>ModRedundant</category><category>PES</category><category>Visualization</category><category>scripts</category><category>x3d</category><title>Natural Bond Orbitals (NBO) in Organic Chemistry</title><description>- Examples </description><link>http://chemgplus.blogspot.com/</link><managingEditor>noreply@blogger.com (Chemgplus)</managingEditor><generator>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-3623931169635554960</guid><pubDate>Sun, 30 Aug 2015 17:09:00 +0000</pubDate><atom:updated>2015-09-12T12:21:01.893-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">IPython</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">notebook</category><title>Natural Dipole Analysis with IPython Notebook</title><description>&lt;div&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; id=&quot;toppage&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
 &lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Understanding electrostatic interactions in molecules and molecular complexes provides the basis for interpretation of chemical reactions and molecular interactions. First of the series of &quot;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Analyzing NBO output with IPython notebook&lt;/span&gt;&lt;/b&gt;&quot; is the example of decomposing NLMO dipole vectors into a vector path that can be displayed as images and further analyzed for intramolecular dipole components.&lt;br /&gt;
&lt;br /&gt;
The first example is built around the molecule of formamide and can be followed in the book of Weinhold and Landis: Weinhold, F. and Landis, C.R. in &lt;a href=&quot;http://www.amazon.com/Discovering-Chemistry-With-Natural-Orbitals/dp/1118119967&quot;&gt;Discovering Chemistry with Natural Bond Orbitals&lt;/a&gt;, pp. 147-152.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ5-qT6JBHxeSFPqUuv6h9dFZ3eIY7zEF54KlcSbxVnRf25Ey_S0Q2X9paWMi7EKgFIFZTKDKT5eb9-nG2yS6JCqQKngS31xMV6SzgLW1mtNP1VEEqGcc79Bmfuv_EAU1zCj5OZtDIRRU/s1600/form.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ5-qT6JBHxeSFPqUuv6h9dFZ3eIY7zEF54KlcSbxVnRf25Ey_S0Q2X9paWMi7EKgFIFZTKDKT5eb9-nG2yS6JCqQKngS31xMV6SzgLW1mtNP1VEEqGcc79Bmfuv_EAU1zCj5OZtDIRRU/s1600/form.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After extracting the dipole components from .nbo file output, variants of dipole decomposition are created and their plots saved as .png images. Below is one such example indication NLMO orbital numbers and the corresponding dipole vectors withing the planar molecule of formamide.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyaCKy9YeKUtxaUEP9SbO1dpmHcqwQDvwNJijclIwyDZ4S349Mkfo-Z3L6j_IqG1Mauw8i8YHFG91YBn5vAgU5uTMpSyH2XtUzyto0vfbSUU54B6RuRCJE1zkop3j7rgOQF8qvVxwkWWM/s1600/final-path.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyaCKy9YeKUtxaUEP9SbO1dpmHcqwQDvwNJijclIwyDZ4S349Mkfo-Z3L6j_IqG1Mauw8i8YHFG91YBn5vAgU5uTMpSyH2XtUzyto0vfbSUU54B6RuRCJE1zkop3j7rgOQF8qvVxwkWWM/s1600/final-path.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Since the analysis and accompanying description are done in IPython Notebook (now &lt;a href=&quot;https://jupyter.org/&quot; target=&quot;_blank&quot;&gt;Jupyter notebook&lt;/a&gt;), it is more convenient to render such notebooks in specialized Python-driven web-builders, such as&amp;nbsp;&lt;a href=&quot;http://marpat.github.io/python-anaconda-and-pelican-on-windows.html&quot; target=&quot;_blank&quot;&gt;Pelican static site generator&lt;/a&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Full version of this blog is available as &lt;a href=&quot;http://bit.ly/1UflF5Z&quot; target=&quot;_blank&quot;&gt;Natural Dipole Analysis&lt;/a&gt; blog hosted at&amp;nbsp;&lt;a href=&quot;https://github.com/marpat/blog&quot; target=&quot;_blank&quot;&gt;GitHub Pages&lt;/a&gt;.&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
You can download the notebook and accompanying files from the latter link (click the &quot;Download .zip&quot; button at the right bottom).&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2015/08/natural-dipole-analysis-with-ipython.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791571400000002 -111.57192599999998 32.6519144 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-8230164071274678469</guid><pubDate>Sat, 01 Aug 2015 21:05:00 +0000</pubDate><atom:updated>2015-12-06T15:03:55.036-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Jmol</category><category domain="http://www.blogger.com/atom/ns#">JQuery</category><category domain="http://www.blogger.com/atom/ns#">jvxl</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">Visualization</category><title>Web Visualization of NBOs Using jvxl File Format</title><description>&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
 &lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;http://chemgplus.blogspot.com/2015/07/web-visualization-of-nbos-in-x3d-format.html&quot; target=&quot;_blank&quot;&gt;&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt;&amp;nbsp;the previous post&lt;/a&gt;, we discussed embedding the NBO imagery into a Web page using the &lt;a href=&quot;http://jmol.sourceforge.net/download/&quot; target=&quot;_blank&quot;&gt;Jmol&lt;/a&gt;-generated &lt;b&gt;&lt;i&gt;x3d&lt;/i&gt;&lt;/b&gt; file format. To further expand on the Jmol web visualization possibilities, we will take a look at yet another implementation of the orbital imagery; one that uses&lt;b&gt;&lt;i&gt;&amp;nbsp;jvxl&lt;/i&gt;&lt;/b&gt; format to encode the molecular surfaces&amp;nbsp;&lt;b&gt;[1]&lt;/b&gt;.&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;While&lt;/span&gt; the web implementation of&amp;nbsp;&lt;b&gt;&lt;i&gt;x3d&lt;/i&gt;&lt;/b&gt; files does not require the &lt;b&gt;Jmol&lt;/b&gt; app or &lt;i&gt;JavaScript&lt;/i&gt; support, successful implementation of&amp;nbsp;&lt;b&gt;&lt;i&gt;jvxl&lt;/i&gt;&lt;/b&gt; files does require both. Until recently, running the &lt;b&gt;Jmol&lt;/b&gt; in web browsers required both the &lt;i&gt;Java&lt;/i&gt; and &lt;b&gt;Jmol&lt;/b&gt; be installed on the computer. Security concerns around the implementation of Java (and Java applets) in browsers have recently resulted in &lt;a href=&quot;http://www.proteopedia.org/wiki/index.php/Installing_and_enabling_Java#Java_Applets_Will_Stop_Working_Soon_In_Chrome&quot; target=&quot;_blank&quot;&gt;disabling the Java support&lt;/a&gt; in &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Chrome&lt;/span&gt;&lt;/b&gt;. This is where &lt;b&gt;JSmol&lt;/b&gt;, a new incarnation of Jmol, comes in.&amp;nbsp;&lt;b&gt;JSmol&lt;/b&gt; overcomes the security concerns of the &lt;b&gt;Jmol&lt;/b&gt; &lt;i&gt;Java applet&lt;/i&gt; by&amp;nbsp;rendering the molecular models in a web page using only &lt;i&gt;JavaScript&lt;/i&gt; and &lt;i&gt;HTML5&lt;/i&gt;.&amp;nbsp;&lt;b&gt;JSmol&lt;/b&gt; implements the entire set of &lt;b&gt;Jmol&lt;/b&gt; functionalities &lt;b&gt;[2, 3]&lt;/b&gt;. Indeed, the &lt;b&gt;JSmol&lt;/b&gt; web interface includes the whole context menu of &lt;b&gt;Jmol&lt;/b&gt;. It can be easily invoked by right-mouse clicking within the main image frame (&lt;b&gt;Figure 7&lt;/b&gt; at the bottom).&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt; this blog article, we will go through the steps of getting the key elements for building an interactive website with NBO-specific layout. The visualization is based on jvxl surface files and &lt;b&gt;JSmol&lt;/b&gt; support. With the help of &lt;i&gt;css&lt;/i&gt;, &lt;i&gt;JavaScript&lt;/i&gt; and its library, &lt;i&gt;JQuery&lt;/i&gt;, we will be able to interact with the molecular and surface models generated by the &lt;b&gt;Jmol&lt;/b&gt; standalone application. All files used in this post are available from the &lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Download&lt;/span&gt;&lt;/b&gt; section at the end.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
&lt;b&gt;From the&amp;nbsp;&lt;a href=&quot;https://java.com/en/download/faq/chrome.xml&quot; target=&quot;_blank&quot;&gt;java.com&lt;/a&gt;&lt;/b&gt; &lt;b&gt;official site:&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&quot;The Java plug-in for web browsers relies on the cross platform plugin architecture&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/NPAPI&quot;&gt;NPAPI&lt;/a&gt;, which has long been, and currently is, supported by all major web browsers. Google announced in September 2013 plans to remove NPAPI support from Chrome by &quot;the end of 2014&quot;, thus effectively dropping support for Silverlight, Java, Facebook Video and other similar NPAPI based plugins. Recently,&amp;nbsp;&lt;a href=&quot;http://blog.chromium.org/2014/11/the-final-countdown-for-npapi.html&quot;&gt;Google&lt;/a&gt;&amp;nbsp;has revised their plans and now state that they plan to completely remove NPAPI by late 2015.&quot;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;JVXL File Format:&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;jvxl&lt;/i&gt;&lt;/b&gt; stands for &quot;Jmol Voxel&quot; and it is&amp;nbsp;a surface file format unique to &lt;b&gt;Jmol&lt;/b&gt;. The purpose of the&lt;br /&gt;
JVXL file format is to provide a mechanism for the efficient delivery of molecular surface data&lt;br /&gt;
(orbitals, electron density plots, electrostatic potential maps, etc.) from a web server to a client page in a compact manner &lt;b&gt;[1]&lt;/b&gt;.&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;More&lt;/span&gt; on the&amp;nbsp;&lt;b&gt;&lt;i&gt;jvxl&lt;/i&gt;&lt;/b&gt; file format and its use from the&amp;nbsp;&lt;a href=&quot;http://wiki.jmol.org/index.php/File_formats/Surfaces#JVXL_.28Jmol_Voxel.29&quot; target=&quot;_blank&quot;&gt;Wiki&lt;/a&gt; and &lt;a href=&quot;http://jmol.sourceforge.net/docs/surface/&quot; target=&quot;_blank&quot;&gt;Surfaces in Jmol&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Getting the Web Components:&lt;/span&gt;&lt;br /&gt;
In this section, we will outline the steps of the overall workflow for building the interactive webpage. Uses of such webpage include blogs and stand-alone pages. A simple implementation of local web server (discussed below) enables a &quot;live&quot; presentation in the classroom and conference settings.&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;This&lt;/span&gt; particular example (as in the x3d post) features analysis of the formamide molecule evaluated at HF/3-21G level &lt;b&gt;[5]&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;Starting in the Jmol Application:&lt;/span&gt;&lt;/h3&gt;
To generate the NBO imagery, we will use the &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Jmol-NBO Visualization Helper&lt;/span&gt;&lt;/b&gt; (&lt;b&gt;JNVH&lt;/b&gt;), which was &lt;a href=&quot;http://chemgplus.blogspot.com/2013/08/jmol-nbo-visualization-helper.html&quot; target=&quot;_blank&quot;&gt;described earlier&lt;/a&gt;&amp;nbsp;&lt;b&gt;[4]&lt;/b&gt;. Briefly, the &lt;b&gt;JNVH&lt;/b&gt;&amp;nbsp;facilitates generation of Jmol .macro files that allow loading and visualization of the NBO archive files (.31-.46). The latter files are created by NBO executable compiled or linked into the variety of Electronic Structure Systems (ESS). Examples of such systems include Gaussian09 (NBO3), GAMESS, FIREFLY, and many other packages. &lt;a href=&quot;http://nbo6.chem.wisc.edu/new6_css.htm&quot; target=&quot;_blank&quot;&gt;GENNBO&lt;/a&gt; suite of NBO6-based programs &lt;b&gt;[6]&lt;/b&gt; allows for direct linking to ESS or for a stand-alone processing of the wavefunction (archive file .47).&lt;br /&gt;
The sequence of steps in the&amp;nbsp;&lt;b&gt;JNVH&lt;/b&gt; is following:
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Launch &lt;b&gt;JNVH&lt;/b&gt;&amp;nbsp;.jar file.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Load directory of NBO archive files (.37 for NBO set) by clicking the &quot;1. Browse Dir&quot; button.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Enter the range of NBOs to display into &quot;NBOs&quot; field (in this example 4-12)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Check the box &quot;x3d-jvxl script?&quot; and choose to write the output into the default $HOME/.macros directory.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Click &quot;Create&quot;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;For interacting NBO pairs, check the box &#39;NBO Interactions&quot; , enter the list of pairs (e.g. 4:16, 6:13,..), &lt;span style=&quot;color: red;&quot;&gt;uncheck&lt;/span&gt;&amp;nbsp;the &quot;Clear default directory&quot; box, and press &quot;Create&quot;.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Layout and specific options in the &lt;b&gt;JNVH&lt;/b&gt; panel are shown in &lt;b&gt;Figure 1&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSr0XqRgDwhsqee9ktVqntWGIzD5jnLct-D9bqz9Z6o_wJPM5XVSivL2-lnO3hz0KtqCYEj5hnM6a5XqH6UonJZRudxmP-mBx4osBSbg3GOTbQ4SSjQvPjj5DAE4X8CtPCxK5vzCFrKc/s1600/jvh_create.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSr0XqRgDwhsqee9ktVqntWGIzD5jnLct-D9bqz9Z6o_wJPM5XVSivL2-lnO3hz0KtqCYEj5hnM6a5XqH6UonJZRudxmP-mBx4osBSbg3GOTbQ4SSjQvPjj5DAE4X8CtPCxK5vzCFrKc/s1600/jvh_create.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 1 &amp;nbsp;Jmol Visualization Helper window.&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Now, we will be heading to the $HOME/.macros directory (on Windows, C:\Users\&lt;i&gt;username&lt;/i&gt;\.jmol\macros) and review the folder content. Next to the &quot;*.macro&quot; files, an accompanying script (*.scr) file was created for the each orbital presentation. For generation of surface images, another script file, &quot;&lt;span style=&quot;color: magenta;&quot;&gt;x3d-jvxl-*.spt&lt;/span&gt;&quot; was created. This is a standard &lt;b&gt;Jmol&amp;nbsp;&lt;/b&gt;script containing instructions to generate the corresponding *.jvxl files.

&lt;br /&gt;
Snapshot of the .macros directory is shown in &lt;b&gt;Figure 2&lt;/b&gt;. Note the different script files created for each orbital type.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLN-MRAaJ5-gNl1-kAWCNppPz_uY6WOIh6Vxc5qaohfeof6WCo0hJj559l-sXiQgaCPkSAUlan1B-_6KISy3wF_DbAdy7lGSH8Ebp33x0FJw5CA0w8j89ahUqfJcOAVaCUAK2BY3pL1VI/s1600/jvs_created-files.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLN-MRAaJ5-gNl1-kAWCNppPz_uY6WOIh6Vxc5qaohfeof6WCo0hJj559l-sXiQgaCPkSAUlan1B-_6KISy3wF_DbAdy7lGSH8Ebp33x0FJw5CA0w8j89ahUqfJcOAVaCUAK2BY3pL1VI/s1600/jvs_created-files.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 2 &amp;nbsp;Files generated by the JNVH with option from Fig. 1.&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
At this point, we launch the &lt;b&gt;Jmol&lt;/b&gt; application and open the Console (File -&amp;gt; Console). Drag the x3d-jvxl-form.spt file into the main Jmol window (not the Console) as shown in &lt;b&gt;Figure 3&lt;/b&gt;. The script will start processing the sequence of &lt;i&gt;macro&lt;/i&gt; files and the corresponding .x3d and .jvxl files&amp;nbsp;will be created.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheJMvx4jNWe4IDnUEvH_al3k6J_2iEmo6NvZx0BB-QBqpgNNj9XtQXs8I8UvaFCzsLS9h1Oeg4K0K5HqnYTdhsO46ZFD4JNRhvw7i14udcieaKGivTZUfe0eur9WSOOqufRw2swhgVZ78/s1600/run-scriptJmol.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheJMvx4jNWe4IDnUEvH_al3k6J_2iEmo6NvZx0BB-QBqpgNNj9XtQXs8I8UvaFCzsLS9h1Oeg4K0K5HqnYTdhsO46ZFD4JNRhvw7i14udcieaKGivTZUfe0eur9WSOOqufRw2swhgVZ78/s1600/run-scriptJmol.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 3 &amp;nbsp;Running the script in Jmol.&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;Building the Webpage:&lt;/span&gt;&lt;/h3&gt;
To build a simple static webpage on our computer, create the corresponding folder structure at any local drive. For example, D:\web\jsmolweb. Layout outlined in this blog is based on a &quot;pluggable&quot; container wrapper allowing to render the html index file as a stand-alone page or to be inserted into other .html file. The folder can be later uploaded to your server for the Internet access. In the local implementation, I am using a simple portable web server,&amp;nbsp;&lt;a href=&quot;http://code.google.com/p/mongoose/&quot;&gt;mongoose&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
A typical folder structure is shown in &lt;b&gt;Figure 4&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-k8fi1RyHsvy2mlxaJlUsHITk7atqdoGtyLX-gAJNOEeTRGQvQoHNhacSQjlGxFsy2e1QZRMLmR43BDcIa16K-SPObj0IcPhPEZyZrT7jNsxJwx30zog9ttVgCmtaULslUgc_wYqeDuA/s1600/webpagedirjvxl.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-k8fi1RyHsvy2mlxaJlUsHITk7atqdoGtyLX-gAJNOEeTRGQvQoHNhacSQjlGxFsy2e1QZRMLmR43BDcIa16K-SPObj0IcPhPEZyZrT7jNsxJwx30zog9ttVgCmtaULslUgc_wYqeDuA/s1600/webpagedirjvxl.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 4 &amp;nbsp;Website folder structure and exemplary files.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Copy the*.jvxl files created earlier from the .macros folder into the /nbo folder of your new site.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;css files:&lt;/span&gt;&lt;/h4&gt;
The folder contains css files that should suffice for building a respectable site container. The site layout is based on the popular &lt;a href=&quot;http://960.gs/&quot; target=&quot;_blank&quot;&gt;960 Grid System&lt;/a&gt;. Feel free to modify them.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;Index.html file:&lt;/span&gt;&lt;/h4&gt;
Html markup of the editable section of the &lt;i&gt;&lt;b&gt;index.html&lt;/b&gt;&lt;/i&gt; file is presented in &lt;b&gt;Figure 5&lt;/b&gt;. Image names and orbital description in &lt;span style=&quot;color: magenta;&quot;&gt;magenta&lt;/span&gt; should be changed according to your naming convention (see, &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;img files:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;section below). The table has 2 rows and 3 columns and another row of icon images can be easily inserted by copying/pasting the segment that starts at &lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;lt;!--Another row of models--&amp;gt;&lt;/span&gt; and ends by the last &lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;lt;/tr&amp;gt;&lt;/span&gt; tag.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;color: dimgrey;&quot;&gt;&amp;lt;!-- Table of available models --&amp;gt;&lt;/span&gt;      
&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;table&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;icon_table&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;gallery&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;row1&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
       &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;1&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;javascript:nbo2aj(nbo1)&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;./img/&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;4.png&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
       &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;2&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;javascript:nbo2aj(nbo2);&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;./img/&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;5.png&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
       &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;3&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;javascript:nbo2aj(nbo3)&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;./img/&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;6.png&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;         
  &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;row12&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;1&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;NBO4&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;2&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;NBO5&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;3&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;NBO6&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;              
 &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;row2&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;lt;!--Another row of models--&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;4&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;javascript:nbo2aj(nbo4)&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;./img/&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;10.png&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;5&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;javascript:nbo2aj(nbo5)&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;./img/&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;11.png&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;6&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;javascript:nbo2aj(nbo6)&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;img&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;./img/&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;12.png&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;500&quot;&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #a65700;&quot;&gt;  &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #a65700;&quot;&gt;  &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;row22&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;4&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;NBO10&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;5&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;NBO11&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: #274796;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #074726;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&quot;6&quot;&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;NBO12&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;td  &lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;lt;/&lt;span style=&quot;font-weight: bold;&quot;&gt;tr&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(255, 255, 255);&quot;&gt;  &lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;lt;!-- Insert third row here--&amp;gt;&lt;/span&gt;                           
&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;table&lt;/span&gt;&lt;span style=&quot;color: #a65700;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Figure 5&lt;/b&gt;. &amp;nbsp;Html markup of the gallery table.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;JQuery and JavaScript code:&lt;/span&gt;&lt;/h4&gt;
The script to initiate the JSmol objects and to have them interact with the gallery html elements is presented in&amp;nbsp;&lt;b&gt;Figure 6&lt;/b&gt;. The script is embedded within the main&amp;nbsp;&lt;b&gt;index.html&lt;/b&gt; file (part of the download package). Lines &lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;13, 15-19&lt;/span&gt;&lt;/b&gt; have to be modified with your specific files. Parameters set at lines &lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;22&lt;/b&gt;&lt;/span&gt; and &lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;23&lt;/span&gt;&lt;/b&gt; can be modified, depending on your preference.&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;Additional&lt;/span&gt; feature and purpose of the Ajax call is to retrieve orbital description, which originates in the GENNBO/NBO modules. Bond assignment and orbital occupancy are extracted from the jvxl file upon clicking the image icon in the gallery.&lt;br /&gt;
Let me know if there are other options to include.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;  &lt;span style=&quot;color: #808030;&quot;&gt;&amp;lt;&lt;/span&gt;script type&lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;text/javascript&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;&amp;gt;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    Jmol&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;_isAsync &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0f4d75;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    Jmol&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;getProfile&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: dimgrey;&quot;&gt;// records repeat calls to overridden or overloaded Java methods  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; jmolApplet0&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: dimgrey;&quot;&gt;// set up in HTML table, below  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    
&lt;span style=&quot;color: #008c00;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: dimgrey;&quot;&gt;// use ?_USE=JAVA or _USE=SIGNED or _USE=HTML5  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    jmol_isReady &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;applet&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      document&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;title &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;applet&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;_id &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt; is ready&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;);&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      Jmol&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;_getElement&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;applet&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;appletdiv&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;style&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;border &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;1px solid blue&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: purple;&quot;&gt;};&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;11&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    
&lt;span style=&quot;color: #008c00;&quot;&gt;12&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: dimgrey;&quot;&gt;// Enter list of images to be displayed            &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;13&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; panel &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;s4-form-NBO.jvxl&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: dimgrey;&quot;&gt;// Type the name of image in the main panel  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;14&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; nbo1 &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; panel &lt;span style=&quot;color: dimgrey;&quot;&gt;// do not modify  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;15&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; nbo2 &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;s5-form-NBO.jvxl&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;16&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; nbo3 &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;s6-form-NBO.jvxl&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;17&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; nbo4 &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;s10-form-NBO.jvxl&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;18&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; nbo5 &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;s11-form-NBO.jvxl&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;19&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; nbo6 &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;s12-form-NBO.jvxl&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    
&lt;span style=&quot;color: #008c00;&quot;&gt;21&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: dimgrey;&quot;&gt;// Image display &amp;lt;Jmol&amp;gt; parameters (modify)  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;22&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; param1 &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;background {0,0,150}; color Rasmol;zoom 130;center {-0.4 0 0}; &lt;/span&gt;
&lt;span style=&quot;color: #0000e6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rotate z -100; rotate y 35; rotate z 90; translate x -3.0; &lt;/span&gt;
&lt;span style=&quot;color: #0000e6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;translate y 7.5&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;23&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; param2 &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;translucent 0.3;set antialiasDisplay&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;24&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    nbo &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; nbo1&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;25&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    
&lt;span style=&quot;color: #008c00;&quot;&gt;26&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    Info &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;27&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      width&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;300&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;28&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      height&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;300&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;29&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      debug&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0f4d75;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;30&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      color&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;#F0F0F0&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;31&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      zIndexBase&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;20000&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      z&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;33&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;        monitorZIndex&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;100&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;34&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      &lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;35&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      use&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;HTML5&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;36&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      j2sPath&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;./jsmol/j2s&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;37&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      allowjavascript&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #0f4d75;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;38&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      script&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;load ./nbo/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; panel &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; param1 &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;; isosurface ./nbo/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; panel 
         &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; param2 &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;39&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;       &lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;40&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    
41&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;function&lt;/span&gt; nbo2aj&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;x&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;42&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      nbo &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; x&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;43&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;      Jmol&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;script&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;jmolApplet0&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;load ./nbo/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; nbo &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; param1 &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;; &lt;/span&gt;
&lt;span style=&quot;color: #0000e6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isosurface ./nbo/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; nbo &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; param2 &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;44&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;    
&lt;span style=&quot;color: #008c00;&quot;&gt;45&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;        $&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;ajax&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;46&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;          type&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;GET&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;47&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;          url&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;./nbo/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; nbo&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;48&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;          dataType&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;49&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;          success&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;xml&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;50&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;            $&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;xml&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;find&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;jvxlSurface&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;each&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;51&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;                &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; Title &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;find&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;jvxlSurfaceTitle&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;text&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;52&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;              &lt;span style=&quot;color: dimgrey;&quot;&gt;// Parse the title and remove Model 1.1 and filename              &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;53&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;              &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;var&lt;/span&gt; myregexp &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;^&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Model&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;\s&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;1,2&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #0f69ff;&quot;&gt;\.&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;1,2&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;\s&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #0f69ff;&quot;&gt;\.&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;37&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;mg&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;            
&lt;span style=&quot;color: #008c00;&quot;&gt;54&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;              Title &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; Title&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;replace&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;eval&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;myregexp&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;55&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;              Title &lt;span style=&quot;color: #808030;&quot;&gt;=&lt;/span&gt; Title&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;replace&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;^&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Occupancy&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;mg&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&amp;lt;p&amp;gt;$1&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;56&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;              $&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;#nbo-desc&amp;gt;span&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;replaceWith&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&amp;lt;span&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; Title &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;57&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;              &lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;58&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;             &lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: dimgrey;&quot;&gt;// close success  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;59&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;           error&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;xhr&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; textStatus&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; errorThrown&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;60&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;              &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;alert&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;An error occured! &lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&#39;&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;errorThrown &lt;span style=&quot;color: purple;&quot;&gt;?&lt;/span&gt; errorThrown &lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt; xhr&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;status&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;61&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;                                        &lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;  
&lt;span style=&quot;color: #008c00;&quot;&gt;62&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;           &lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: dimgrey;&quot;&gt;// close ajax  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;63&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;         &lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt; &lt;span style=&quot;color: dimgrey;&quot;&gt;// close nbo2aj  &lt;/span&gt;
&lt;span style=&quot;color: #008c00;&quot;&gt;64&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;  &lt;span style=&quot;color: #808030;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;/&lt;/span&gt;script&lt;span style=&quot;color: #808030;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Figure 6&lt;/b&gt;. &amp;nbsp;JQuery and Ajax syntax for the interactive site interface.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;img files:&lt;/span&gt;&lt;/h4&gt;
This folder contains images that you want to display at your site. Since there is a gallery table in the page (&lt;b&gt;Figure 7&lt;/b&gt;), the corresponding icons for the orbital-images have to be created first. The easiest way is to create those icons while in the Jmol Console.&lt;br /&gt;
&lt;br /&gt;
At the command prompt with 3-D image properly scaled and positioned type:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;i&gt;&amp;gt; &lt;/i&gt;write image 400 400 PNG &quot;OrbNum.png&quot;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
where OrbNumber is the number of the orbital that will be displayed in the main image frame (e.g., 4.png, 12.png).&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixe3rnWTB7MU5NbGD_89YeaiujWEBL8ncp8m9qufqh2uRNgLKiTT63s925VKSKi80z-BiHTIB1HvKHfuADgM8svbeu6hq4cGfWeRBEQjQOx4Z_A6YqvTKxE0gXkYB3W2ocfFOJc9h-wuE/s1600/webgalleryjvxl.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixe3rnWTB7MU5NbGD_89YeaiujWEBL8ncp8m9qufqh2uRNgLKiTT63s925VKSKi80z-BiHTIB1HvKHfuADgM8svbeu6hq4cGfWeRBEQjQOx4Z_A6YqvTKxE0gXkYB3W2ocfFOJc9h-wuE/s1600/webgalleryjvxl.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 7 &amp;nbsp;Website view of the Gallery section.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;nbo content:&lt;/span&gt;&lt;/h4&gt;
This folder contains all&amp;nbsp;&lt;b&gt;*.jvxl&lt;/b&gt; files created earlier.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;jsmol folder:&lt;/span&gt;&lt;/h4&gt;
jsmol folder contains the files necessary for rendering and manipulation of images. It is the very same folder that is part of the Jmol application package (&lt;b&gt;Figure 4&lt;/b&gt;). Just copy it from there to your web site folder. If you do not care for the examples and structural file, delete the folder &quot;data&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;... and the site:&lt;/span&gt;&lt;/h4&gt;
First, download the .zip package from the download section and unpack it into any drive/folder. In our case, D:\web\jsmolweb.&amp;nbsp;Start the local mongoose server and browse to the site directory created in previous steps.&amp;nbsp;Location of the mongoose.exe file is one directory up from this jsmolweb site (D:\web). Address is http://localhost:8080/jsmolweb. A snapshot of the gallery section is shown in &lt;b&gt;Figure 7&lt;/b&gt;. As indicated earlier, the orbital labels and images have to be provided by manually entering the values into the &lt;i&gt;&amp;lt;table&amp;gt;&lt;/i&gt; markup. By clicking the &quot;Reset the model&quot; link, the molecule and its corresponding surface are rendered with &lt;i&gt;transparency=0&lt;/i&gt; and with &lt;i&gt;atom labels&lt;/i&gt; displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;Alternatively&lt;/span&gt;, upload the unpacked folder to your web hosting server and access it from the Internet.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;To&lt;/span&gt; illustrate the final appearance and flexibility of our new website, preview it at:&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://nbo.marcelpatek.com/mol/demo/jsmolweb&quot; target=&quot;_blank&quot;&gt;&amp;nbsp;http://nbo.marcelpatek.com/mol/demo/jsmolweb&lt;/a&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp;Update (12/06/2015):&lt;/span&gt;&lt;/h4&gt;
Presented web site template was re-written to use the Bootstrap framework to allow responsive display on phone and tablet devices. File to download: &lt;span style=&quot;color: magenta;&quot;&gt;Jsmolweb-responsive.zip&lt;/span&gt;. The original version is still available. Demo site now serves the responsive version.&lt;br /&gt;&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Conclusions:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In this blog post, we explored the generation and implementation of .jvxl files for visualization of Natural Bond Orbitals in web browsers. We used the &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Jmol-NBO Visualization Helper&lt;/b&gt;&lt;/span&gt; to create the Jmol .macro files and scripts that assist in writing the corresponding .jvxl files in the Jmol application. Finally, we built a JavaScript-rich web page container for the presentation and discussion of NBO imagery.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 20.7999992370605px;&quot;&gt;Downloads:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Jmol-NBO Visualization Helper&lt;/span&gt;&lt;/b&gt;, &lt;a href=&quot;http://www.marcelpatek.com/nbo/nbo.html#download&quot; target=&quot;_blank&quot;&gt;main download site&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://jmol.sourceforge.net/download/&quot; target=&quot;_blank&quot;&gt;Jmol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Complete set of &lt;a href=&quot;http://nbo.marcelpatek.com/mol/demo/jsmolweb.zip&quot; target=&quot;_blank&quot;&gt;example files&lt;/a&gt; (the whole web site)&lt;/li&gt;
&lt;li&gt;Complete set of &lt;a href=&quot;http://nbo.marcelpatek.com/mol/demo/jsmolweb-responsive.zip&quot; target=&quot;_blank&quot;&gt;example files&lt;/a&gt; (responsive web site version)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 20.7999992370605px;&quot;&gt;References:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
[1] &amp;nbsp;R. M. Hanson, “&lt;a href=&quot;http://chemapps.stolaf.edu/jmol/docs/misc/JVXL-format.pdf&quot; target=&quot;_blank&quot;&gt;The Jmol Voxel (JVXL) File Format&lt;/a&gt;,” 2006.&lt;br /&gt;
&lt;br /&gt;
[2] &amp;nbsp;R. M. Hanson, “&lt;a href=&quot;http://chemapps.stolaf.edu/jmol/docs/&quot; target=&quot;_blank&quot;&gt;Jmol/JSmol Interactive Script Documentation&lt;/a&gt;,” 2006. [Online].&lt;br /&gt;
&lt;br /&gt;
[3] &amp;nbsp;R. M. Hanson, J. Prilusky, Z. Renjian, T. Nakane, and J. L. Sussman, “JSmol and the Next-Generation Web-Based Representation of 3D Molecular Structure as Applied to Proteopedia,” Isr. J. Chem., vol. 53, no. 3–4, pp. 207–216, Apr. 2013. DOI: 10.1002/ijch.201300024&lt;br /&gt;
&lt;br /&gt;
[4] &amp;nbsp;M. Patek, “&lt;a href=&quot;http://bit.ly/11ybrAK&quot; target=&quot;_blank&quot;&gt;Jmol-NBO Visualization Helper&lt;/a&gt;,” Aug-2014. [Online].&lt;br /&gt;
&lt;br /&gt;
[5] &amp;nbsp;F. Weinhold, C.R. Landis, Discovering Chemistry With Natural Bond Orbitals. Wiley, 2012. &lt;a href=&quot;http://books.google.com/books?id=y68Cs32WNI0C&quot;&gt;http://books.google.com/books?id=y68Cs32WNI0C&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
[6] &lt;a href=&quot;http://nbo6.chem.wisc.edu/&quot; target=&quot;_blank&quot;&gt;Natural Bond Orbital 6.0 Homepage&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://chemgplus.blogspot.com/2015/08/web-visualization-of-nbos-using-jvxl.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791571400000002 -111.57192599999998 32.6519144 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-7023955252501116695</guid><pubDate>Sun, 26 Jul 2015 21:02:00 +0000</pubDate><atom:updated>2015-09-12T12:21:52.858-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">computational chemistry</category><category domain="http://www.blogger.com/atom/ns#">Jmol</category><category domain="http://www.blogger.com/atom/ns#">jvxl</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">scripts</category><category domain="http://www.blogger.com/atom/ns#">x3d</category><title>Web Visualization of NBOs in x3d Format</title><description>&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
 &lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;http://chemgplus.blogspot.com/2012/10/jmolapplet-and-visualiziation-of-nbos.html&quot; target=&quot;_blank&quot;&gt;&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt;&amp;nbsp;an earlier post&lt;/a&gt;, we discussed embedding the NBO imagery into a Web page using the J&lt;i&gt;ava-JmolApplet&lt;/i&gt; as well as the recent &lt;b&gt;Jsmol&lt;/b&gt; &lt;i&gt;JavaScript&lt;/i&gt; implementation. To further expand on the &lt;b&gt;Jmol&lt;/b&gt; visualization possibilities, we will take a look at one implementation of the orbital imagery that uses open-source&lt;b&gt;&lt;i&gt; x3d&lt;/i&gt;&lt;/b&gt; format &lt;b&gt;[2]&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
In this blog article, we will go through the steps of getting the key elements for building an interactive website with NBO-specific layout. All files used in this post are available from the &lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Download&lt;/span&gt;&lt;/b&gt; section at the end.&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;x3d Format:&lt;/span&gt;&lt;br /&gt;
X3D stands for &quot;Extensible 3D&quot; and it is the new open standard for 3D content on the internet/web. In essence, X3D is intended to be the new format or language that is used/required for 3D interactive worlds on the web (replacing/extending the existing VRML97 standard).&lt;br /&gt;
More on x3d standard from the&amp;nbsp;&lt;a href=&quot;http://www.wikiwand.com/en/X3D&quot; target=&quot;_blank&quot;&gt;Wiki&lt;/a&gt; and &lt;a href=&quot;http://www.web3d.org/x3d/what-x3d&quot;&gt;web3d.org&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
X3D is a royalty-free ISO standard XML-based file format for representing 3D computer graphics. X3D has a rich set of componentized features that can tailored for use in engineering and scientific visualization. X3D strives to become the 3D standard for the Web, as integrated in the HTML5 pages as other XML dialects (MathML, SVG) already are there. X3DOM is a proposed syntax model and its implementation as a script library that demonstrates how this integration can be achieved without a browser plugin, using only WebGL and JavaScript.
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Getting the Web Components:&lt;/span&gt;&lt;br /&gt;
In this section, we will outline the steps of the overall workflow for building the interactive webpage. Uses of such webpage include blogs and stand-alone pages. A simple implementation of a local web server (discussed below) enables a &quot;live&quot; presentation in the classroom and conference settings.&lt;br /&gt;
This particular example will feature analysis of the formamide molecule evaluated at HF/3-21G level &lt;b&gt;[1]&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;Starting in the Jmol Application:&lt;/span&gt;&lt;/h3&gt;
To generate the NBO imagery, we will use &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Jmol-NBO Visualization Helper&lt;/span&gt;&lt;/b&gt; (&lt;b&gt;JNVH&lt;/b&gt;), which was &lt;a href=&quot;http://chemgplus.blogspot.com/2013/08/jmol-nbo-visualization-helper.html&quot; target=&quot;_blank&quot;&gt;described earlier&lt;/a&gt;&amp;nbsp;&lt;b&gt;[3]&lt;/b&gt;. Briefly, the &lt;b&gt;JNVH&lt;/b&gt; facilitates generation of Jmol .macro files that allow loading and visualization of the NBO archive files (.31-.46). The latter files are created by NBO executable compiled or linked into the variety of Electronic Structure Systems (ESS). Examples of such systems include Gaussian09 (NBO3), GAMESS, FIREFLY, and many other packages. &lt;a href=&quot;http://nbo6.chem.wisc.edu/new6_css.htm&quot; target=&quot;_blank&quot;&gt;GENNBO&lt;/a&gt; suite of NBO6-based programs &lt;b&gt;[4]&lt;/b&gt; allows for direct linking to ESS or for a stand-alone processing of the wavefunction (archive file .47).&lt;br /&gt;
The sequence of steps in &lt;b&gt;JNVH&lt;/b&gt; is following:
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Launch &lt;b&gt;JNVH&lt;/b&gt;&amp;nbsp;.jar file.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Load directory of NBO archive files (.37 for NBO set) by clicking the &quot;1. Browse Dir&quot; button.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Enter the range of NBOs to display into &quot;NBOs&quot; field (in this example 4-12)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Check the box &quot;x3d-jvxl script?&quot; and choose to write the output into the default $HOME/.macros directory.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Click &quot;Create&quot;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;For interacting NBO pairs, check the box &#39;NBO Interactions&quot; , enter the list of pairs (e.g. 4:16, 6:13,..), &lt;span style=&quot;color: red;&quot;&gt;uncheck&lt;/span&gt;&amp;nbsp;the &quot;Clear default directory&quot; box, and press &quot;Create&quot;.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Layout and specific options in the &lt;b&gt;JNVH&lt;/b&gt; panel are shown in &lt;b&gt;Figure 1&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSr0XqRgDwhsqee9ktVqntWGIzD5jnLct-D9bqz9Z6o_wJPM5XVSivL2-lnO3hz0KtqCYEj5hnM6a5XqH6UonJZRudxmP-mBx4osBSbg3GOTbQ4SSjQvPjj5DAE4X8CtPCxK5vzCFrKc/s1600/jvh_create.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSr0XqRgDwhsqee9ktVqntWGIzD5jnLct-D9bqz9Z6o_wJPM5XVSivL2-lnO3hz0KtqCYEj5hnM6a5XqH6UonJZRudxmP-mBx4osBSbg3GOTbQ4SSjQvPjj5DAE4X8CtPCxK5vzCFrKc/s1600/jvh_create.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 1 &amp;nbsp;Jmol Visualization Helper window.&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Now, we will be heading to the $HOME/.macros directory (on Windows, C:\Users\&lt;i&gt;username&lt;/i&gt;\.jmol\macros) and review the folder content. Next to the &quot;*&lt;i&gt;.macro&lt;/i&gt;&quot; files, an accompanying script (*.scr) file was created for each orbital presentation. For single surface images, another script file, &quot;&lt;span style=&quot;color: magenta;&quot;&gt;x3d-jvxl-*.spt&lt;/span&gt;&quot; was created. This file is a standard &lt;b&gt;Jmol&lt;/b&gt; script containing instructions to generate the corresponding *.x3d and *.jvxl files (see the code in &lt;b&gt;Figure 4&lt;/b&gt;).

&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;noteclassic&quot;&gt;
Web visualization with *.jvxl files including the &lt;b&gt;Jsmol&lt;/b&gt; adaptation will be discussed in the &lt;a href=&quot;http://chemgplus.blogspot.com/2015/08/web-visualization-of-nbos-using-jvxl.html&quot; target=&quot;_blank&quot;&gt;upcoming post&lt;/a&gt;.
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Snapshot of the .macros directory is shown in &lt;b&gt;Figure 2&lt;/b&gt;. Note the different script files created for each orbital type.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLN-MRAaJ5-gNl1-kAWCNppPz_uY6WOIh6Vxc5qaohfeof6WCo0hJj559l-sXiQgaCPkSAUlan1B-_6KISy3wF_DbAdy7lGSH8Ebp33x0FJw5CA0w8j89ahUqfJcOAVaCUAK2BY3pL1VI/s1600/jvs_created-files.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLN-MRAaJ5-gNl1-kAWCNppPz_uY6WOIh6Vxc5qaohfeof6WCo0hJj559l-sXiQgaCPkSAUlan1B-_6KISy3wF_DbAdy7lGSH8Ebp33x0FJw5CA0w8j89ahUqfJcOAVaCUAK2BY3pL1VI/s1600/jvs_created-files.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 2 &amp;nbsp;Files generated by the JNVH with option from Fig. 1.&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
At this point, we launch the &lt;b&gt;Jmol &lt;/b&gt;application and open the Console (File -&amp;gt; Console). Drag the x3d-jvxl-form.spt file into the main Jmol window (not the Console) as shown in &lt;b&gt;Figure 3&lt;/b&gt;. The script will start processing the sequence of macro files and the corresponding .x3d and .jvxl files&amp;nbsp;will be created.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheJMvx4jNWe4IDnUEvH_al3k6J_2iEmo6NvZx0BB-QBqpgNNj9XtQXs8I8UvaFCzsLS9h1Oeg4K0K5HqnYTdhsO46ZFD4JNRhvw7i14udcieaKGivTZUfe0eur9WSOOqufRw2swhgVZ78/s1600/run-scriptJmol.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheJMvx4jNWe4IDnUEvH_al3k6J_2iEmo6NvZx0BB-QBqpgNNj9XtQXs8I8UvaFCzsLS9h1Oeg4K0K5HqnYTdhsO46ZFD4JNRhvw7i14udcieaKGivTZUfe0eur9WSOOqufRw2swhgVZ78/s1600/run-scriptJmol.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 3 &amp;nbsp;Running the script in Jmol.&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Details of the .spt script are shown in &lt;b&gt;Figure 4&lt;/b&gt;. Replace the magenta-colored strings with your HOME directory. One could use the commands directly in the Jmol Console or modify the script before the run. The script is hardcoded in the &lt;b&gt;JNVH&lt;/b&gt; app. Let me know if there are other options to include.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;//&amp;nbsp;x3d-jvxl-form.spt&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;// Strip the basename   
 function baseName(str) {  
   var nameArray = str.split(&#39;.&#39;);  
   var base = nameArray[nameArray.length - 1];  
   return base;  
 }  
 set defaultDirectory &quot;&lt;/code&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;span style=&quot;color: magenta;&quot;&gt;$HOME&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;\.jmol\macros&quot;  
 fin = [&quot;s10_form-NBO.scr&quot;, &quot;s11_form-NBO.scr&quot;, &quot;s12_form-NBO.scr&quot;,  
   &quot;s4_form-NBO.scr&quot;, &quot;s5_form-NBO.scr&quot;, &quot;s6_form-NBO.scr&quot;,  
   &quot;s7_form-NBO.scr&quot;, &quot;s8_form-NBO.scr&quot;, &quot;s9_form-NBO.scr&quot;  
 ]  
 cd &lt;/code&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;span style=&quot;color: magenta;&quot;&gt;$HOME&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;\.jmol\ macros  
 for (var i = 1; i &amp;lt;= fin.length; i = i + 1) {  
   var filename = fin[i]  
   script @filename  
   var newfile = baseName(filename) + &quot;.x3d&quot;  
   var jvxlfile = baseName(filename) + &quot;.jvxl&quot;  
   label off  
   color RasMol  
   write @newfile  
   write MO @jvxlfile  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;b style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Figure 4&lt;/b&gt;. &amp;nbsp;Jmol script to generate .x3d and .jvxl files from Jmol .macro files.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;Building the Webpage:&lt;/span&gt;&lt;/h3&gt;
To build a simple static webpage on our computer, create the corresponding folder structure at any local drive. For example, D:\web\x3d. Layout demonstrated in this blog is based on a &quot;pluggable&quot; container wrapper allowing to render the index.html file as a standalone page or to be inserted into another .html file. The folder can be later uploaded to your server for the Internet access. In the local implementation, I am using a simple portable web server,&amp;nbsp;&lt;a href=&quot;http://code.google.com/p/mongoose/&quot;&gt;mongoose&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
A typical folder structure is shown in &lt;b&gt;Figure 5&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qXtVb74cK_uhiwmtjK-M2tSXCheAbVZMoegfqffDXBixh4i5e9ThIx0lSJz3fF3uzTbyk_QiRpbrBVpNoePkmKSSwpWMnHGwba7AptAqUkKzW00WA9nELdj46TnctvXWAkNBwUw-32Y/s1600/webpagedir.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7qXtVb74cK_uhiwmtjK-M2tSXCheAbVZMoegfqffDXBixh4i5e9ThIx0lSJz3fF3uzTbyk_QiRpbrBVpNoePkmKSSwpWMnHGwba7AptAqUkKzW00WA9nELdj46TnctvXWAkNBwUw-32Y/s1600/webpagedir.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 5 &amp;nbsp;Website folder structure and files.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Copy the*.x3d files created earlier from the .macros folder into the /nbo folder of your new site. Depending on your preference, there is one additional, although optional step required.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notewarning&quot;&gt;
Jmol x3d export routine resets the transparency level of your orbitals to zero. The value is set in the &#39;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;Appearance&amp;gt;&lt;/span&gt;&#39;&lt;appearance&gt; tag located just before the &#39;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;CoordIndex&amp;gt;&lt;/span&gt;&#39;&amp;nbsp;&lt;coordindex&gt;tag in the &lt;i&gt;x3d&lt;/i&gt; file. Included Python file &quot;&lt;i&gt;&lt;span style=&quot;color: magenta;&quot;&gt;modfiles.py&lt;/span&gt;&lt;/i&gt;&quot; sets the transparency tag back to 0.3. Run the Python script by double-clicking it in the folder where *x3d files are present. Alternatively, use the System Shell (cmd, bash, ..) &amp;nbsp;and &lt;b&gt;&lt;i&gt;cd&lt;/i&gt;&lt;/b&gt; into directory containing the &lt;i&gt;&lt;span style=&quot;color: magenta;&quot;&gt;modfiles.py&lt;/span&gt;&lt;/i&gt; and &lt;i&gt;*.x3d&lt;/i&gt; files. New set of x3d files is created with &lt;b&gt;_t0.3_ &lt;/b&gt;string inserted into the filename.&lt;/coordindex&gt;&lt;/appearance&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;css files:&lt;/span&gt;&lt;/h4&gt;
The folder contains css files that should suffice for building a respectable site container. The site layout is based on the popular &lt;a href=&quot;http://960.gs/&quot;&gt;960 Grid System&lt;/a&gt;. Feel free to modify them.&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;img files:&lt;/span&gt;&lt;/h4&gt;
This folder contains images that you want to display at your site. Since there is a gallery table in the page (&lt;b&gt;Figure 6&lt;/b&gt;), the corresponding icons for orbital-images have to be created first. The easiest way is to create those icons while in the Jmol Console.&lt;br /&gt;
&lt;br /&gt;
At the command prompt with 3-D image properly scaled and positioned type:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;i&gt;&amp;gt; &lt;/i&gt;write image 400 400 PNG &quot;OrbNum.png&quot;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: major-latin; mso-bidi-font-family: Helvetica; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: major-latin; mso-bidi-font-family: Helvetica; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-hansi-theme-font: major-latin;&quot;&gt;where OrbNumber is the number of the orbital that will be displayed in
the main image frame (e.g., 4.png, 12.png).&lt;/span&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu6NTj2OYPaoF8efshd1pM9MHolh2l9Ylle-PRFoz4cW0CeUEDR06vWFVS9SRMdQJSViuKvqCoSbbFQAgww1ienRAn1N5UT1lBcx3KBlb88ZCGBwHbGFt6aPR4G1M65_my_xy9041hVWE/s1600/webgallery.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu6NTj2OYPaoF8efshd1pM9MHolh2l9Ylle-PRFoz4cW0CeUEDR06vWFVS9SRMdQJSViuKvqCoSbbFQAgww1ienRAn1N5UT1lBcx3KBlb88ZCGBwHbGFt6aPR4G1M65_my_xy9041hVWE/s1600/webgallery.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Fig. 6 &amp;nbsp;Website view of the Gallery section.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;nbo content:&lt;/span&gt;&lt;/h4&gt;
This folder contains the &lt;b&gt;*.x3d&lt;/b&gt; files created and modified earlier.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;... and the site:&lt;/span&gt;&lt;/h4&gt;
First, download the .zip package from the download section and unpack it into any drive/folder. In our case, D:\web\x3d. Start the local mongoose server and browse to the site directory created in previous steps. Location of the mongoose.exe file is one directory up from this x3d site (D:\web). Address is http://localhost:8080/jsmolweb. A snapshot of the gallery section is shown in &lt;b&gt;Figure 6&lt;/b&gt;. The orbital labels and images have to be provided by manually entering the values into the &amp;lt;table&amp;gt; markup.&lt;br /&gt;
&lt;br /&gt;
Alternatively, upload the unpacked folder to your web hosting server and access it from the Internet.&lt;br /&gt;
To illustrate the final appearance and flexibility of our new website, preview it at:&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://nbo.marcelpatek.com/mol/demo/x3d&quot;&gt;http://nbo.marcelpatek.com/mol/demo/x3d&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Conclusions:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In this blog post, we explored generation and implementation of .x3d 3-D files for visualization of Natural Bond Orbitals in web browsers. We used the &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Jmol-NBO Visualization Helper&lt;/b&gt;&lt;/span&gt; to create the &lt;b&gt;Jmol&lt;/b&gt; .&lt;i&gt;macro&lt;/i&gt; files and scripts that assist in writing .x3d files off the &lt;b&gt;Jmol&lt;/b&gt; application. Finally, we built a simple web page container for presentation and discussion of NBO imagery.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 20.7999992370605px;&quot;&gt;Downloads:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Jmol-NBO Visualization Helper, &lt;a href=&quot;http://www.marcelpatek.com/nbo/nbo.html#download&quot; target=&quot;_blank&quot;&gt;main download site&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://jmol.sourceforge.net/download/&quot; target=&quot;_blank&quot;&gt;Jmol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Complete set of &lt;a href=&quot;http://nbo.marcelpatek.com/mol/demo/x3d.zip&quot; target=&quot;_blank&quot;&gt;example files&lt;/a&gt; (this tutorial)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 20.7999992370605px;&quot;&gt;References:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;csl-bib-body&quot; style=&quot;line-height: 1.35;&quot;&gt;
&lt;div class=&quot;csl-entry&quot; style=&quot;clear: left;&quot;&gt;
&lt;div class=&quot;csl-left-margin&quot; style=&quot;float: left; padding-right: 0.5em; text-align: right; width: 1em;&quot;&gt;
1.&lt;/div&gt;
&lt;div class=&quot;csl-right-inline&quot; style=&quot;margin: 0 .4em 0 1.5em;&quot;&gt;
F. Weinhold, C. R. Landis, &lt;i&gt;&lt;a href=&quot;http://books.google.com/books?id=y68Cs32WNI0C&quot; target=&quot;_blank&quot;&gt;Discovering Chemistry With Natural Bond Orbitals&lt;/a&gt;&lt;/i&gt;. Wiley, 2012.&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;Z3988&quot; title=&quot;url_ver=Z39.88-2004&amp;amp;ctx_ver=Z39.88-2004&amp;amp;rfr_id=info%3Asid%2Fzotero.org%3A2&amp;amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;amp;rft.genre=book&amp;amp;rft.btitle=Discovering%20Chemistry%20With%20Natural%20Bond%20Orbitals&amp;amp;rft.publisher=Wiley&amp;amp;rft.aufirst=F.%3B%20Landis%2C%20C.%20R.&amp;amp;rft.aulast=Weinhold&amp;amp;rft.au=F.%3B%20Landis%2C%20C.%20R.%20Weinhold&amp;amp;rft.date=2012&quot;&gt;&lt;/span&gt;
  &lt;br /&gt;
&lt;div class=&quot;csl-entry&quot; style=&quot;clear: left;&quot;&gt;
&lt;div class=&quot;csl-left-margin&quot; style=&quot;float: left; padding-right: 0.5em; text-align: right; width: 1em;&quot;&gt;
2.&lt;/div&gt;
&lt;div class=&quot;csl-right-inline&quot; style=&quot;margin: 0 .4em 0 1.5em;&quot;&gt;
“Jmol/JSmol Interactive Script Documentation.” [&lt;a href=&quot;http://chemapps.stolaf.edu/jmol/docs/&quot; target=&quot;_blank&quot;&gt;Online&lt;/a&gt;] [Accessed: 26-Jul-2015].&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;Z3988&quot; title=&quot;url_ver=Z39.88-2004&amp;amp;ctx_ver=Z39.88-2004&amp;amp;rfr_id=info%3Asid%2Fzotero.org%3A2&amp;amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;amp;rft.type=webpage&amp;amp;rft.title=Jmol%2FJSmol%20Interactive%20Script%20Documentation&amp;amp;rft.identifier=http%3A%2F%2Fchemapps.stolaf.edu%2Fjmol%2Fdocs%2F&quot;&gt;&lt;/span&gt;
  &lt;br /&gt;
&lt;div class=&quot;csl-entry&quot; style=&quot;clear: left;&quot;&gt;
&lt;div class=&quot;csl-left-margin&quot; style=&quot;float: left; padding-right: 0.5em; text-align: right; width: 1em;&quot;&gt;
3.&lt;/div&gt;
&lt;div class=&quot;csl-right-inline&quot; style=&quot;margin: 0 .4em 0 1.5em;&quot;&gt;
M. Patek, “&lt;a href=&quot;http://bit.ly/11ybrAK&quot; target=&quot;_blank&quot;&gt;Jmol-NBO Visualization Helper&lt;/a&gt;,” Aug-2014.&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;Z3988&quot; title=&quot;url_ver=Z39.88-2004&amp;amp;ctx_ver=Z39.88-2004&amp;amp;rfr_id=info%3Asid%2Fzotero.org%3A2&amp;amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;amp;rft.type=webpage&amp;amp;rft.title=Jmol-NBO%20Visualization%20Helper&amp;amp;rft.identifier=http%3A%2F%2Fbit.ly%2F11ybrAK&amp;amp;rft.aufirst=Marcel&amp;amp;rft.aulast=Patek&amp;amp;rft.au=Marcel%20Patek&amp;amp;rft.date=2014-08&quot;&gt;&lt;/span&gt;
  &lt;br /&gt;
&lt;div class=&quot;csl-entry&quot; style=&quot;clear: left;&quot;&gt;
&lt;div class=&quot;csl-left-margin&quot; style=&quot;float: left; padding-right: 0.5em; text-align: right; width: 1em;&quot;&gt;
4.&lt;/div&gt;
&lt;div class=&quot;csl-right-inline&quot; style=&quot;margin: 0 .4em 0 1.5em;&quot;&gt;
E. D. Glendening, C. R. Landis, and F. Weinhold, “NBO 6.0: Natural bond orbital analysis program,” &lt;i&gt;Journal of computational chemistry&lt;/i&gt;, vol. 34, no. 16, pp. 1429–1437, 2013. DOI:&amp;nbsp;10.1002/jcc.23266&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;Z3988&quot; title=&quot;url_ver=Z39.88-2004&amp;amp;ctx_ver=Z39.88-2004&amp;amp;rfr_id=info%3Asid%2Fzotero.org%3A2&amp;amp;rft_id=info%3Adoi%2F10.1002%2Fjcc.23266&amp;amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;amp;rft.genre=article&amp;amp;rft.atitle=NBO%206.0%3A%20Natural%20bond%20orbital%20analysis%20program&amp;amp;rft.jtitle=Journal%20of%20computational%20chemistry&amp;amp;rft.stitle=Journal%20of%20computational%20chemistry&amp;amp;rft.volume=34&amp;amp;rft.issue=16&amp;amp;rft.aufirst=Eric%20D&amp;amp;rft.aulast=Glendening&amp;amp;rft.au=Eric%20D%20Glendening&amp;amp;rft.au=Clark%20R%20Landis&amp;amp;rft.au=Frank%20Weinhold&amp;amp;rft.date=2013&amp;amp;rft.pages=1429-1437&amp;amp;rft.spage=1429&amp;amp;rft.epage=1437&quot;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2015/07/web-visualization-of-nbos-in-x3d-format.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791571400000002 -111.57192599999998 32.6519144 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-1812184603021440255</guid><pubDate>Sat, 29 Nov 2014 22:51:00 +0000</pubDate><atom:updated>2015-09-12T12:22:16.024-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">GitHub</category><category domain="http://www.blogger.com/atom/ns#">IPython</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">notebook</category><title>Analyzing NBO Results with IPython Notebook</title><description>&lt;div&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; id=&quot;toppage&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
 &lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: -20px; margin-top: -10px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/IPython_Notebook.pdf&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://googledrive.com/host/0B69AdB0uDZ7teC1iWWItQ1YxX28&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Introduction&lt;/span&gt;&lt;/h2&gt;
&lt;span class=&quot;indent&quot;&gt;Data&lt;/span&gt; processing, analysis, and visualization are routine tasks in sciences and humanities.  The vast majority of data science today is conducted through &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;R&lt;/span&gt;&lt;/b&gt;, &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Python&lt;/span&gt;&lt;/b&gt;, &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Java&lt;/span&gt;&lt;/b&gt;, &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Matlab&lt;/span&gt;&lt;/b&gt;, and &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;SAS&lt;/span&gt;&lt;/b&gt;. With a plethora of programming languages suited for the data processing and visualization, &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Python&lt;/span&gt;&lt;/b&gt; seems the best general purpose functional programming language for such tasks. Indeed, being an interpreted, object-oriented language, Python became very attractive programming tool for application development as well as for use as scripting language for routine assignments in research and education. &lt;a href=&quot;https://www.python.org/&quot;&gt;Python&lt;/a&gt; is open source software and it is &lt;a href=&quot;https://www.python.org/downloads/&quot;&gt;freely available&lt;/a&gt; for a variety of platforms.

&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt; the previous series of blogs related to Natural Bond Orbitals (&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;NBO&lt;/span&gt;&lt;/b&gt;) (&lt;a href=&quot;https://chemgplus.blogspot.com/&quot; target=&quot;_blank&quot;&gt;NBO Analysis&lt;/a&gt;, &lt;a href=&quot;https://script-orgmedchem.blogspot.com/&quot; target=&quot;_blank&quot;&gt;NBO Scripting&lt;/a&gt;), we have discussed several useful tools for parsing and analysis of text outputs from the &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;NBO&lt;/span&gt;&lt;/b&gt; program [&lt;b&gt;1-4&lt;/b&gt;]. For example, on the web pages dedicated to &lt;a href=&quot;http://www.marcelpatek.com/nbo/nbo.html#python&quot;&gt;NBO Scripts and Handy Applications&lt;/a&gt;, we learned about &lt;span style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;pes_nbo3.py&lt;/b&gt;&lt;/span&gt; Python script. This standalone script was used to extract data from the potential energy scan (PES) output files generated by Gaussian09. In another example, &lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Python Script&lt;/span&gt;&lt;/b&gt; nodes were included in KNIME workflow to process&amp;nbsp;&lt;a href=&quot;http://script-orgmedchem.blogspot.com/2014/12/knime-python-anaconda-and-pandas.html&quot;&gt;NBO Dipole Moment results&lt;/a&gt;. In general, NBO output consists of formatted tables and summaries describing results of NBO analysis. These results include Natural Population Analysis, NBO Summary, Natural Dipole Moment Analysis, Natural Steric analysis, energy effects based on second-order perturbation theory and other properties. Extracting text sections of such output files is a typical and repetitive task when examining molecular properties by methods of NBO analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Python, IPython, and IPython Notebook&lt;/span&gt;&lt;/h2&gt;
&lt;span class=&quot;indent&quot;&gt;Until&lt;/span&gt; now we have worked with Python directly via the system shell by executing Python scripts. To make the work with Python and data easier for scientists, &lt;a href=&quot;http://ipython.org/&quot;&gt;IPython&lt;/a&gt; interactive shell &lt;a href=&quot;http://blog.fperez.org/2012/01/ipython-notebook-historical.html&quot;&gt;was introduced&lt;/a&gt; by Fernando Perez early in 2001. &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;IPython&lt;/span&gt;&lt;/b&gt; provides tools for interactive and exploratory computing in Python making debugging, code optimization, and interactive plotting quite easy and straightforward. Effective use of IPython typically involves third-party specialized packages, such as NumPy, Pandas, and Matplotlib, which allow for analysis of large data sets. More importantly, IPython has a relatively new feature called the “Notebook”. &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;IPython Notebook&lt;/b&gt;&lt;/span&gt; is a web-based interactive computing platform that combines live code, equations, narrative text, visualizations, images, interactive dashboards and other media. These documents provide a complete record of a computation that can be shared with others. Also, the IPython Notebook is not only a tool for scientific research and data analysis, but also a great tool for teaching. Technically, &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Notebook&lt;/b&gt;&lt;/span&gt; launches a web-based shell to an &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;IPython&lt;/span&gt;&lt;/b&gt; session that has handy features, like the ability to save, edit, and delete lines of code. The code is organized into cells of Python, text, or Markdown. One can move the cells around, develop code interactively with documentation and notes, display objects that a browser can render (e.g., images, HTML, videos) and to share the whole notebook for a collaborative work. &lt;br /&gt;
&lt;br /&gt;
To demonstrate the utility and benefits of using IPython Notebook, I will share such notebooks in the future blogs to explore molecular properties that are based on NBO analysis.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Installing IPython Notebook&lt;/span&gt;&lt;/h2&gt;
&lt;span class=&quot;indent&quot;&gt;Before&lt;/span&gt; we dive into the nuances of &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;IPython Notebook&lt;/span&gt;&lt;/b&gt;, here are a few pre-requisites:&lt;br /&gt;
&lt;br /&gt;
a)    As indicated above, using IPython (and the Notebook) assumes familiarity with the &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Python&lt;/b&gt;&lt;/span&gt; language. We need to have a Python installation on our computer. &lt;br /&gt;
&lt;br /&gt;
b)    We will also need to install IPython and Notebook and a few required packages. &lt;br /&gt;
&lt;br /&gt;
Continuum Analytics offers the &lt;a href=&quot;https://store.continuum.io/cshop/anaconda/&quot;&gt;Anaconda Python Distribution&lt;/a&gt;, which includes all the common scientific Python packages as well as IPython and Notebook. &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Anaconda&lt;/b&gt;&lt;/span&gt; itself is free and it comes with many pre-installed data analytics and processing Python packages and libraries. It comes with an excellent package manager named &lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;conda&lt;/span&gt;&lt;/b&gt;. It lets you install easily many modules on most platforms (Windows, Linux, Mac OS X), in 64-bit or 32-bit versions. &lt;br /&gt;
To get Anaconda installed under Windows OS, &lt;a href=&quot;http://repo.continuum.io/archive/.winzip/&quot;&gt;download Anaconda 1.9.1&lt;/a&gt; and run the executable. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
This particular version worked best for me under Window 7 system (Python 2.7.6 with IPython Notebook). Typical path to install into is: C:/Anaconda. Download of the latest installer is &lt;a href=&quot;http://continuum.io/downloads&quot;&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
When done, add the following string into your PATH: &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;C:\Anaconda;C:\Anaconda\Scripts&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
To access the PATH editor, right-click on Computer&amp;nbsp;→&amp;nbsp;Advanced system settings&amp;nbsp;→&amp;nbsp;Advanced tab&amp;nbsp;→&amp;nbsp;Environment Variables&amp;nbsp;→&amp;nbsp;System variables&amp;nbsp;→&amp;nbsp;Path.&lt;br /&gt;
&lt;br /&gt;
To check that Anaconda is installed, launch the command shell (cmd.exe) and execute command:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: Courier New, Courier, monospace;&quot;&gt;conda info --all&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Typical output follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt; Current conda install:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt; platform : win-32&lt;br /&gt; conda version : 3.7.1&lt;br /&gt; conda-build version : 1.2.0&lt;br /&gt; python version : 2.7.6.final.0&lt;br /&gt; requests version : 2.4.3&lt;br /&gt; root environment : C:\Anaconda (writable)&lt;br /&gt; default environment : C:\Anaconda&lt;br /&gt; envs directories : C:\Anaconda\envs&lt;br /&gt; package cache : C:\Anaconda\pkgs &lt;br /&gt; channel URLs : http://repo.continuum.io/pkgs/gpl/win-32/ &lt;br /&gt; http://repo.continuum.io/pkgs/free/win-32/ &lt;br /&gt; config file : C:\Users\USER\.condarc &lt;br /&gt; is foreign system : False&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In order to simplify installation of other packages in the future, we will install a popular package manager &lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;pip&lt;/span&gt;&lt;/b&gt;;&lt;br /&gt;
&lt;br /&gt;
In the command shell type:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;conda install pip&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
After that, let’s install another Python visualization library &lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;seaborn&lt;/span&gt;&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;pip install seaborn&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
A detailed description of Anaconda install and setup is described &lt;a href=&quot;https://www.kevinsheppard.com/images/0/09/Python_introduction.pdf&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
If IPython has been installed correctly, you should be able to run it from a system shell with the IPython command. Launch the command shell (cmd.exe) again and execute the command:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;C:\&amp;gt; ipython&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
We should see output similar to &lt;b&gt;Figure 1&lt;/b&gt; below.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHv09iCjCPRrvFAhN-kUbLnqt6f2rVqkDYURHrOEBcW4AtFwcyrVP2Ea3c4uxPvq1sHc8nPMZWJsSL6X8AzdXuvn_vuNJRzUGiLQVWgcp7fk-pHVTfWCajv4aVtbZ890pXz-cUlPacLG0/s1600/cmd_ipython.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHv09iCjCPRrvFAhN-kUbLnqt6f2rVqkDYURHrOEBcW4AtFwcyrVP2Ea3c4uxPvq1sHc8nPMZWJsSL6X8AzdXuvn_vuNJRzUGiLQVWgcp7fk-pHVTfWCajv4aVtbZ890pXz-cUlPacLG0/s1600/cmd_ipython.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot;&gt;&lt;b&gt;Figure 1&lt;/b&gt;&amp;nbsp; &amp;nbsp; The IPython console&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;noteclassic&quot;&gt;
The official IPython documentation webpage at &lt;a href=&quot;http://ipython.org/documentation.html&quot; target=&quot;_blank&quot;&gt;http://ipython.org/documentation.html&lt;/a&gt; is the place to go to get some help. It contains links to the online manual and to unofficial tutorials and articles created by the community. The &lt;a href=&quot;http://stackoverflow.com/questions/tagged/ipython&quot; target=&quot;_blank&quot;&gt;StackOverflow&lt;/a&gt; website at stackoverflow.com is also a great place to request help for IPython.
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
To check that everything is correctly installed, type &lt;span style=&quot;background-color: #f3f3f3; font-family: Courier New, Courier, monospace;&quot;&gt;ipython notebook&lt;/span&gt; in the shell. This will launch a local web server on the 8888 port (by default).&lt;br /&gt;
Go to
http://127.0.0.1:8888/ in a browser and check if you can see the page shown in &lt;b&gt;Figure 2&lt;/b&gt;.

&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLxNs-66V2tw5pw9GIHPk2rW1NeDZLeYCnMcwc_NcDN-JEKG8UNfKboOYCq8DZSMzYB9BGU5pbJ6PW9Ix6uD9ba_uVb_vg4JNuDjxeji6d4filDCogH_3wUYP6H0F1dz3nCI-qTlpqMWE/s1600/notebook+dashboard.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLxNs-66V2tw5pw9GIHPk2rW1NeDZLeYCnMcwc_NcDN-JEKG8UNfKboOYCq8DZSMzYB9BGU5pbJ6PW9Ix6uD9ba_uVb_vg4JNuDjxeji6d4filDCogH_3wUYP6H0F1dz3nCI-qTlpqMWE/s1600/notebook+dashboard.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot;&gt;&lt;b&gt;Figure 2&lt;/b&gt;&amp;nbsp; &amp;nbsp; The notebook dashboard&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
The dashboard will list all notebooks and notebook folders that you created or cloned from repositories.&lt;br /&gt;
An informative overview of the Notebook UI is &lt;a href=&quot;http://nbviewer.ipython.org/github/minrk/ipython/blob/master/examples/Notebook/Notebook%20Basics.ipynb&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Launching IPython Notebooks on Windows&lt;/span&gt;&lt;/h2&gt;
&lt;span class=&quot;indent&quot;&gt;The&lt;/span&gt; easiest way to launch a Notebook is to create IPython Notebook shortcut at your Desktop. On the Windows system, right mouse-click the IPython (Py 2.7) Notebook item in Start → All Programs menu and select Send To → Desktop (create shortcut) (Figure 3).&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5QGOhZwC044Lh42feljzo4iF4OivETa7H3VlVRLDSnCGNPo2AojrgwlzYyeHpaIB8cgCFpVPtRKFJrPUyvLyvDtNDThuQAF6AKZG1e7tDrtaunodbuWXV6-mZDxLUvYGjpRqc3R9obxk/s1600/menu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5QGOhZwC044Lh42feljzo4iF4OivETa7H3VlVRLDSnCGNPo2AojrgwlzYyeHpaIB8cgCFpVPtRKFJrPUyvLyvDtNDThuQAF6AKZG1e7tDrtaunodbuWXV6-mZDxLUvYGjpRqc3R9obxk/s1600/menu.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot;&gt;&lt;b&gt;Figure 3&amp;nbsp;&lt;/b&gt;&amp;nbsp; &amp;nbsp;IPython Notebook shortcut from menu&lt;span style=&quot;font-size: xx-small; text-align: start;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;noteimportant&quot;&gt;
&lt;h3&gt;
Icon Properties for IPython Notebook&amp;nbsp;&lt;/h3&gt;
For general customization of Notebook shortcuts, here are typical settings. Notebook location can be changed (path in &lt;span style=&quot;color: orange;&quot;&gt;orange&lt;/span&gt;)&lt;br /&gt;
Icon path:      %SystemDrive%\Anaconda\Menu\IPython.ico&lt;br /&gt;
Target:          C:\Anaconda\python.exe &quot;C:\Anaconda\Scripts/ipython-script.py&quot; notebook&lt;br /&gt;
Start in:        &quot;&lt;span style=&quot;color: orange;&quot;&gt;C:\Users\USER\Documents\IPython Notebooks\&lt;/span&gt;&quot;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;Running a standalone script:&lt;/i&gt;&lt;/span&gt;&lt;/h4&gt;
One can still run a standalone Python scripts from either the IPython console or from the IPython Notebook cell. While the standard shell command requires syntax:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;gt; python script.py input_file.txt&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
IPython console or Notebook cell require using the &lt;span style=&quot;color: magenta;&quot;&gt;&lt;b&gt;%magic&lt;/b&gt;&lt;/span&gt; function run:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;gt; &lt;span style=&quot;color: magenta;&quot;&gt;%&lt;/span&gt;run script.py input_file.txt&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;i&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Markdown&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;
To decorate plain text in the notebook cell, use the markup syntax published at:&lt;br /&gt;
&lt;a href=&quot;http://daringfireball.net/projects/markdown/&quot;&gt;http://daringfireball.net/projects/markdown/&lt;/a&gt; (&lt;b&gt;Figure 6&lt;/b&gt;).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;IPython Notebook Example&lt;/span&gt;&lt;/h2&gt;
&lt;span class=&quot;indent&quot;&gt;We&lt;/span&gt; will conclude this blog article with the “real” example of &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;IPython Notebook&lt;/span&gt;&lt;/b&gt; written on the topic of processing &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;NBO&lt;/b&gt;&lt;/span&gt; outputs. In this particular example, we will extract &lt;b&gt;DIPOLE MOMENT ANALYSIS&lt;/b&gt; summary from the NBO/GENNBO output file shown in &lt;b&gt;Figure 4&lt;/b&gt;. For the sake of consistency, our example will use the molecule of formamide &lt;a href=&quot;http://script-orgmedchem.blogspot.com/2014/12/knime-python-anaconda-and-pandas.html&quot;&gt;discussed in the KNIME blog&lt;/a&gt;. In its &quot;DIPOLE MOMENT ANALYSIS:&quot; section, the standard NBO output file contains the individual x,y,z-components and length of the total molecular dipole moment. Each of the entries is decomposed into the individual contributions of NLMO and NBO bond dipoles. We are going to extract those lines into a *.csv file for the later analysis.&lt;br /&gt;
&lt;div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Ue-41Oq0KH46CwnUQxAaft9rh8vQVxpOOtMx-SgWAemNP2MumsbM6-wxN-jU4YP2jHuYGqhWKlH8MCI5AT0rboEOxsRQAeVwN4ZFF0a_cLf77ofX6yWxCKRS9uvYyeP8dNBsoeRdN24/s1600/nbo_dipoles.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Ue-41Oq0KH46CwnUQxAaft9rh8vQVxpOOtMx-SgWAemNP2MumsbM6-wxN-jU4YP2jHuYGqhWKlH8MCI5AT0rboEOxsRQAeVwN4ZFF0a_cLf77ofX6yWxCKRS9uvYyeP8dNBsoeRdN24/s1600/nbo_dipoles.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot;&gt;&lt;b&gt;Figure 4&lt;/b&gt;&amp;nbsp; &amp;nbsp; Part of the Dipole moment summary output from the form.nbo file&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Refer to the &lt;b&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;ReadNboDip.ipynb&lt;/span&gt;&lt;/b&gt; notebook for the parsing algorithm and steps at each cell. To run all steps in the notebook, click the “&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Cell&lt;/span&gt;&lt;/b&gt;” → “&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;Run All&lt;/b&gt;&lt;/span&gt;” at the top navigation bar of the notebook page. Extracted NLMO part of the ‘DIPOLE MOMENT ANALYSIS:’ section is shown in &lt;b&gt;Figure 5&lt;/b&gt;. The corresponding file form_dip.csv is saved for further analysis.&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiLIRiAAi-SVVvX8JwLzliv_kX9EsyJhCTR_dEolas3fYrbDJGYgXcNn3-NeuuS4dAGeKbVk6vhmNOS3QCg-3DyI2VO_caTxewEpCQDOYki94pd0bwYJgaNrJkEtE1a7GAgSfYBE-EB5Q/s1600/processed_dipole.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiLIRiAAi-SVVvX8JwLzliv_kX9EsyJhCTR_dEolas3fYrbDJGYgXcNn3-NeuuS4dAGeKbVk6vhmNOS3QCg-3DyI2VO_caTxewEpCQDOYki94pd0bwYJgaNrJkEtE1a7GAgSfYBE-EB5Q/s1600/processed_dipole.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot;&gt;&lt;b&gt;Figure 5&lt;/b&gt;&amp;nbsp; &amp;nbsp; Formatted output of NLMO dipoles saved as form_dip.csv&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div&gt;
The “pure” Python script &lt;b&gt;&lt;span style=&quot;color: #674ea7;&quot;&gt;ReadNboDip.py&lt;/span&gt;&lt;/b&gt; which is accomplishing the same task can be downloaded from the &lt;a href=&quot;http://bit.ly/142ZKWZ&quot;&gt;nbo-processing&lt;/a&gt; GitHub repository. For details on how to clone Git repository, see the next paragraph.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0qz_8mP3VI51-KXpGt-GaGDsAWvDPm1Z1_eXrjOzuvVIvN7cfr0HQqZKnBkjTceRqoCottO4wImBsHJJ1cGTvUjjhIeqMl41q3CRPFLH2GukhGK6kxuOOhCggXT7xCWdv934twpXbmtY/s1600/notebook_example.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0qz_8mP3VI51-KXpGt-GaGDsAWvDPm1Z1_eXrjOzuvVIvN7cfr0HQqZKnBkjTceRqoCottO4wImBsHJJ1cGTvUjjhIeqMl41q3CRPFLH2GukhGK6kxuOOhCggXT7xCWdv934twpXbmtY/s1600/notebook_example.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot;&gt;&lt;b&gt;Figure 6&lt;/b&gt;&amp;nbsp; &amp;nbsp; Top part of an exemplary Notebook&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Complete IPython Notebook &lt;b&gt;&lt;span style=&quot;color: #674ea7;&quot;&gt;ReadNboDip.ipynb&lt;/span&gt;&lt;/b&gt; with the necessary files is &lt;a href=&quot;http://bit.ly/1ztVa1C&quot;&gt;available at Github&lt;/a&gt;. Html version of the notebook is available from &lt;a href=&quot;http://nbviewer.ipython.org/github/marpat/blog/blob/master/ReadNboDip.ipynb&quot;&gt;here&lt;/a&gt; (or if the nbviewer website is unresponsive, use &lt;a href=&quot;http://nbo.marcelpatek.com/git/ReadNboDip.html&quot;&gt;this link&lt;/a&gt;).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Working with GIT Repository&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span class=&quot;indent&quot;&gt;To&lt;/span&gt; download a local copy of examples and auxiliary files from this blog, you need &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;git&lt;/span&gt;&lt;/b&gt;, a distributed versioning system. I recommend using one of the GUI applications, such as &lt;a href=&quot;https://windows.github.com/&quot; target=&quot;_blank&quot;&gt;GitHub GUI&lt;/a&gt; for Windows or GUI for &lt;a href=&quot;http://git-scm.com/download/gui/win&quot; target=&quot;_blank&quot;&gt;other platforms&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;
GitHub GUI for Windows comes with the icon shortcut to its own shell (&lt;b&gt;Figure 7&lt;/b&gt;). To download the standalone Python script &lt;span style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;ReadNboDip.py&lt;/b&gt;&lt;/span&gt; and accompanying files, open &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Git Shell&lt;/span&gt;&lt;/b&gt; and type: &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: Courier New, Courier, monospace;&quot;&gt;git clone https://github.com/marpat/nbo-processing.git&lt;/span&gt; &lt;/div&gt;
&lt;br /&gt;
This will copy the repository of all processing scripts into a local folder named “nbo-processing”. While you can change the default GitHub directory from the GitHub GUI, path to the default location on Windows is: &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Libraries/My Documents/GitHub&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
To clone the notebook described in this blog, either: &lt;br /&gt;
a) Clone it as git clone &lt;a href=&quot;https://github.com/marpat/blog.git&quot;&gt;https://github.com/marpat/blog.git&lt;/a&gt; &lt;br /&gt;
b)    or go to &lt;a href=&quot;http://bit.ly/1ztVa1C&quot;&gt;its Git repository&lt;/a&gt; and download it as &lt;span style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;blog-master.zip&lt;/b&gt;&lt;/span&gt; file &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Again, to view the same notebook as html file in a browser, go to: &lt;a href=&quot;http://nbviewer.ipython.org/github/marpat/blog/blob/master/ReadNboDip.ipynb&quot;&gt;http://nbviewer.ipython.org/github/marpat/blog/blob/master/ReadNboDip.ipynb&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;References&lt;/span&gt;&lt;/h2&gt;
1.    NBO 6.0. E. D. Glendening, J. K. Badenhoop, A. E. Reed, J. E. Carpenter, J.Bohmann, C. M. Morales, C. R. Landis, and F. Weinhold, Theoretical Chemistry Institute, University of Wisconsin, Madison (2013). &lt;br /&gt;
&lt;br /&gt;
2.    E. D. Glendening, C. R. Landis and F. Weinhold, “Natural Bond Orbital &lt;br /&gt;
Methods,” WIREs Comp. Mol. Sci. 2, 1-42 (2012) &lt;br /&gt;
&lt;br /&gt;
3.    F. Weinhold, “Natural bond orbital analysis: A critical overview of &lt;br /&gt;
relationships to alternative bonding perspectives,” J. Comput. Chem. (2012). &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
4.    Further background and bibliographic materials can be found on the NBO website:&amp;nbsp;&lt;a href=&quot;http://nbo6.chem.wisc.edu/biblio_css.htm&quot;&gt;http://nbo6.chem.wisc.edu/biblio_css.htm&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
5.    &lt;a href=&quot;https://books.google.com/books?id=ejhnoPHNYz4C&amp;amp;lpg=PA1&amp;amp;dq=learning%20ipython%20for%20interactive&amp;amp;pg=PA1#v=onepage&amp;amp;q=learning%20ipython%20for%20interactive&amp;amp;f=false&quot;&gt;Learning IPython for Interactive Computing and Data Visualization&lt;/a&gt;,&amp;nbsp;by Cyrille Rossant, PACKT Publishing, e-Book, 2013 &lt;br /&gt;
&lt;br /&gt;
6.    &lt;a href=&quot;https://books.google.com/books?id=yZafBAAAQBAJ&amp;amp;lpg=PP1&amp;amp;dq=ipython%20interactive%20computing%20and%20visualization%20cookbook&amp;amp;pg=PP1#v=onepage&amp;amp;q=ipython%20interactive%20computing%20and%20visualization%20cookbook&amp;amp;f=false&quot;&gt;IPython Interactive Computing and Visualization Cookbook&lt;/a&gt;, by Cyrille Rossant, PACKT Publishing, e-Book, 2014&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 0.5in;&quot;&gt;
&lt;span class=&quot;addmd&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 0.5in;&quot;&gt;
&lt;span class=&quot;addmd&quot;&gt;&lt;span style=&quot;background: white; color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;div id=&quot;goup&quot;&gt;
&lt;a href=&quot;#toppage&quot;&gt;&lt;span&gt;&lt;img alt=&quot;Back to TOP&quot; border=&quot;0&quot; src=&quot;https://googledrive.com/host/0B69AdB0uDZ7tYXlzQkozNkJsNVU
&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2014/11/analyzing-nbo-results-with-ipython.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791571400000002 -111.57192599999998 32.6519144 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-7253281942642085664</guid><pubDate>Sat, 30 Aug 2014 19:56:00 +0000</pubDate><atom:updated>2015-09-12T12:22:49.870-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Gaussian</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">ModRedundant</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">PES</category><title>Potential Energy Scan and NBO Analysis</title><description>&lt;div&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; id=&quot;toppage&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
 &lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: -20px; margin-top: -10px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/NboScan.pdf&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://googledrive.com/host/0B69AdB0uDZ7teC1iWWItQ1YxX28&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Introduction&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;NBO&lt;/span&gt; analysis of orbital interactions is a powerful approach to understanding molecular properties. Subtle interactions can be often revealed by studying the NBO-derived properties at the potential energy surface (PES). By plotting the potential energy changes along the defined molecular coordinate (atom distance, angle, dihedral), one can get a better appreciation of different components of the total energy.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt; this post, we will explore a typical workflow utilizing Gaussian09W ESS to generate multiple molecular structures at the PES. We will introduce a new Java application that processes the Gaussian PES output files (*.out) and creates formatted Gaussian input files to perform a single point NBO analysis (&lt;b&gt;Figure 1&lt;/b&gt;). In the simplest case, Gaussian &lt;span style=&quot;color: magenta;&quot;&gt;&lt;b&gt;Scan&lt;/b&gt;&lt;/span&gt; keyword performs a series of single point calculations at various geometries. This, so called  rigid PES scan performs evaluations over a rectangular grid involving selected internal coordinates. The molecular structure must be defined in Z-matrix coordinates. To avoid potential troubles with a poorly constructed Z-matrix, NboScan app can only read output files generated by the relaxed PES scan initiated with the keyword &lt;span style=&quot;color: magenta;&quot;&gt;&lt;b&gt;Opt=ModRedundant&lt;/b&gt;&lt;/span&gt;. In such case, the keyword requests that a geometry optimization (&lt;span style=&quot;color: magenta;&quot;&gt;&lt;b&gt;Opt&lt;/b&gt;&lt;/span&gt;) be performed in redundant internal coordinate that may include scan and constraint information [2]. The latter option requires a separate input section to activate, freeze, and scan PES. Initial geometry can be supplied as Cartesian coordinates or as Z-matrix. Results are recorded in the job output file. Each PES output file contains table of &quot;Initial Parameters&quot;, which indicate the name and the value of &lt;u&gt;Scanned&lt;/u&gt; and &lt;u&gt;Frozen&lt;/u&gt; coordinates. Atom coordinates together with the corresponding energy at each coordinate increment are all part of the output file. Efficient retrieval of all requested values is often challenging task, certainly not error proof. It is where the NboScan app comes handy.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
To avoid potential troubles with a poorly constructed Z-matrix, this app can only read output files generated by the the relaxed PES scan initiated with the keyword &lt;span style=&quot;color: magenta;&quot;&gt;&lt;b&gt;Opt=ModRedundant&lt;/b&gt;&lt;/span&gt;.
&lt;/div&gt;
&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI0cLL15E0zHPeR5Epzyz1CNkvaLghJCE-eNYJVx2OR_hjOm07oePjuKuFlB8dl-dIHeZLaxeQnU-ViNi4Y6PbWaNoJFjjXhDhUESk9hs4ugZ72hegpgEElJvkBkiQOx4s_Hkqz7fyDYU/s1600/poster_nboscan.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI0cLL15E0zHPeR5Epzyz1CNkvaLghJCE-eNYJVx2OR_hjOm07oePjuKuFlB8dl-dIHeZLaxeQnU-ViNi4Y6PbWaNoJFjjXhDhUESk9hs4ugZ72hegpgEElJvkBkiQOx4s_Hkqz7fyDYU/s1600/poster_nboscan.png&quot; width=&quot;640px&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 3em; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Fig. 1.&lt;/b&gt;  A typical workflow for PES calculation using NboScan.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;N-Methyl Formamide Example&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;indent&quot;&gt;We&lt;/span&gt; will start with an example of rigid rotation of the methyl group in cis-N-methylformamide (CH&lt;span class=&quot;sub&quot;&gt;3&lt;/span&gt;NHCHO, cis-NMF). Results can be compared to the example discussed in the excellent book of Frank Weinhold and Clark R. Landis [1] on pages 141-142. The molecule of formamide was evaluated at HF B3LYP/6-311++G** level of theory. Gaussian09W was used for the relaxed PES evaluation with additional constraints. The input .gjf file is shown in &lt;b&gt;Figure 2&lt;/b&gt;. All &amp;nbsp;discussed files can be downloaded from the Download section at the bottom of this post.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibG-peo-AvVBqFdvwPQuSBgU9CiodPH-XXU-gtJcE3agIVBzQlNr58P7JYEjCIAatD5JLJkPturH6MJA_M4IN5TPcBenZszDK-LHixAPPFdq6nrVjJEA6pSu2pHmNYEIQWfOLNgYDNSVo/s1600/nmf_img.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibG-peo-AvVBqFdvwPQuSBgU9CiodPH-XXU-gtJcE3agIVBzQlNr58P7JYEjCIAatD5JLJkPturH6MJA_M4IN5TPcBenZszDK-LHixAPPFdq6nrVjJEA6pSu2pHmNYEIQWfOLNgYDNSVo/s1600/nmf_img.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 3em; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Fig. 2.&lt;/b&gt;  Gaussian input in Cartesian coordinates with added redundant coordinates.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;%chk=Formamide_rot_recoor.chk&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;# rhf/6-311++G(d,p) opt=modredundant nosymm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;RHF/6-311++G(d,p) (MeHNCHO) Me rot 2-1-6-7= 0 to 60&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;0 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;N &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp;-1.36100000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;C &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp; 0.00000000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;O &amp;nbsp; &amp;nbsp;0.99400000 &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp; 0.69340000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;H &amp;nbsp; -0.85910000 &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp;-1.88640000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;H &amp;nbsp; -1.02320000 &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp; 0.42260000&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;C &amp;nbsp; &amp;nbsp;1.28045663 &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp;-2.08303243&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;H &amp;nbsp; &amp;nbsp;2.08663777 &amp;nbsp; &amp;nbsp;0.00000000 &amp;nbsp; &amp;nbsp;-1.37948999&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;H &amp;nbsp; &amp;nbsp;1.34338205 &amp;nbsp; -0.87365131 &amp;nbsp; -2.69758412&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;H &amp;nbsp; &amp;nbsp;1.34338270 &amp;nbsp; &amp;nbsp;0.87365135 &amp;nbsp; &amp;nbsp;-2.69758400&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;6 * F &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Freeze bond lengths around the atom 6&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1 * F &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Freeze bond lengths around the atom 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;* 1 * F &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Freeze bond angles around the atom 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;* 2 * F &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Freeze bond angles around the atom 2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;* 1 6 * R &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Relax coordinates passing through atoms 1-6 (dihedral)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;D 2 1 6 7 S 12 5.0 &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;Scan dihedral 2-1-6-7 in 12 steps of 5 deg&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Upon completion of the run, results of the nearly rigid methyl group rotation are written into the corresponding .out file.&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h2 dir=&quot;ltr&quot; style=&quot;line-height: 1.5; margin-bottom: 0pt; margin-top: 10pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #4f81bd; font-family: Cambria; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;Extracting coordinates and energy data:&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt; the next step, we will launch the NboScan app by double-clicking the NboScan.jar file and load the above created .out file (&lt;b&gt;Figure 3&lt;/b&gt;).&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXT3qB8ggb9Ew9nCgtRk0S5IBI8zRKG_zXqviYRt4EwvgIXBivL42KRQD5b5fHnUZjLNA7JZiMQ6TAoWJna-_rAChLtoQUBR0RWKjWnMzwzO-LDf2GczLnGc7bQoZPiVak-2fi-jB5F34/s1600/nmfNboScan.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;600px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXT3qB8ggb9Ew9nCgtRk0S5IBI8zRKG_zXqviYRt4EwvgIXBivL42KRQD5b5fHnUZjLNA7JZiMQ6TAoWJna-_rAChLtoQUBR0RWKjWnMzwzO-LDf2GczLnGc7bQoZPiVak-2fi-jB5F34/s1600/nmfNboScan.png&quot; width=&quot;485px&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 3em; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Fig. 3.&lt;/b&gt;  Main window of the NboScan application.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Click on button&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;1. Browse Dir&lt;/b&gt;&lt;/span&gt;&amp;nbsp;to locate the file. Set the output directory for newly created Gaussian input files (.gjf) using the &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;2. Set Dir&lt;/b&gt;&lt;/span&gt; button. Alternatively, check the &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;Use input Dir&lt;/b&gt;&lt;/span&gt; box to direct output into the same directory (&lt;b&gt;Figure 4&lt;/b&gt;).&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiE4VMr52U1qox3iatOa0K7anX3-Rd4Mms9a2VGsVq5MabZpNMzLa0VNYcl9i55h-MYSCLdaLTlRNLpZ3j9x1wuZkMecno_B8F2JlPq1qnAU14f4MANI6ilrvSbOUt2FT_qxjg_DPgwjc/s1600/load_files.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiE4VMr52U1qox3iatOa0K7anX3-Rd4Mms9a2VGsVq5MabZpNMzLa0VNYcl9i55h-MYSCLdaLTlRNLpZ3j9x1wuZkMecno_B8F2JlPq1qnAU14f4MANI6ilrvSbOUt2FT_qxjg_DPgwjc/s1600/load_files.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span id=&quot;docs-internal-guid-8feea20a-0b1b-1c32-95ad-778d5c912846&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-8feea20a-0b1b-1c32-95ad-778d5c912846&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Fig. 4.&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; Loading files for processing and setting the output directory.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-8feea20a-0b1b-1c32-95ad-778d5c912846&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Set parameters for the following single point energy calculation in the section &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;. Those include the level of theory, basis set (pull-down menus) and additional comments and keywords to the route card. Alternatively, type in the custom level of theory and basis set.&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiONqpfgZB5qb0r4OgFp5x_dP5GZKrIEEb9s2upE0f7sZ99LJbYUg7FKNCSb7pGSL8Ppnn0wOnUPpJ-Gp-azXY4weCFsrsaYQTWOL2vHnYBnP8zvwmBfB5AJmyEQoW4MXYgBXWSeY_J_kA/s1600/set_route.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiONqpfgZB5qb0r4OgFp5x_dP5GZKrIEEb9s2upE0f7sZ99LJbYUg7FKNCSb7pGSL8Ppnn0wOnUPpJ-Gp-azXY4weCFsrsaYQTWOL2vHnYBnP8zvwmBfB5AJmyEQoW4MXYgBXWSeY_J_kA/s1600/set_route.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span id=&quot;docs-internal-guid-c6d9fe52-22ba-caa0-dca5-9e43acc9e8f6&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-c6d9fe52-22ba-caa0-dca5-9e43acc9e8f6&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Fig. 5&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;. Entering parameters for single point energy calculation at a given geometry.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-c6d9fe52-22ba-caa0-dca5-9e43acc9e8f6&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Optionally, check the &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;Plot profile&lt;/b&gt;&lt;/span&gt; box to output the energy profile along the scanned coordinate (&lt;b&gt;Figure 6&lt;/b&gt;). This will plot the total electronic energies at different dihedral angles (0-60 deg).&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrTU58Ex4pd_kXIRnaU6lOHgfU5Yqt87Ano3Tb_KW7lE-JxfEus3J8NLPZb0MCzljFivecd2zcj1xsMGri_RIras7PkXBoNMZCVv37VQlAXP-y3DAVPcWQ4KkDhBdmnVmoMeMEbIKjBqk/s1600/nmf_energy_profile.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;455px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrTU58Ex4pd_kXIRnaU6lOHgfU5Yqt87Ano3Tb_KW7lE-JxfEus3J8NLPZb0MCzljFivecd2zcj1xsMGri_RIras7PkXBoNMZCVv37VQlAXP-y3DAVPcWQ4KkDhBdmnVmoMeMEbIKjBqk/s1600/nmf_energy_profile.png&quot; width=&quot;640px&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 3em; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Fig. 6.&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; Energy profile along the scanned coordinate (dihedral 7-6-1-2).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div&gt;
Enable/disable additional options at the bottom of the window. Energy values at calculated points can be retrieved by pointing the mouse at the blue diamond. Axis values can be toggled between horizontal/vertical.&lt;br /&gt;
&lt;br /&gt;
Section &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;4.&lt;/b&gt;&lt;/span&gt; involves entering NBO keywords or selecting the preset NBO properties (&lt;b&gt;Figure 7&lt;/b&gt;). For more complex keyword lists, use the&amp;nbsp;&lt;a href=&quot;http://chemgplus.blogspot.com/2013/07/gennbo-helper.html&quot;&gt;GennboHelper&lt;/a&gt;&amp;nbsp;application described earlier and the &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;Enter custom&lt;/b&gt;&lt;/span&gt; keywords. The latest version of the GennboHelper can be&amp;nbsp;&lt;a href=&quot;http://www.marcelpatek.com/nbo/nbo.html#gennbohelper&quot;&gt;downloaded&lt;/a&gt;&amp;nbsp;from the app’s website.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVW7YKf4e1wX1SdLhsSrsw_d8xnsbbnAntL1ju8htUT3Vg8Hl5cmb9-cqaodQzzJKfuywS5JBAwt3IbEK4iysA8FYXTotp29v7xijvQjNp5bJtd_iAG8_IkQR0svT-GUVAPfC7-D5h7pM/s1600/nbo_output.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVW7YKf4e1wX1SdLhsSrsw_d8xnsbbnAntL1ju8htUT3Vg8Hl5cmb9-cqaodQzzJKfuywS5JBAwt3IbEK4iysA8FYXTotp29v7xijvQjNp5bJtd_iAG8_IkQR0svT-GUVAPfC7-D5h7pM/s1600/nbo_output.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span id=&quot;docs-internal-guid-cbf69fc2-0b1e-403b-b69f-75e2878b8d3d&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;b&gt;Fig. 7&lt;/b&gt;. Setting NBO keywords and Gaussian-NBO options.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;
Choosing the &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;PLOT files only&lt;/b&gt;&lt;/span&gt; option will generate the corresponding NBO keywords necessary to create PLOT files for each scanned geometry. The last option, &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;Set user 1&lt;/b&gt;&lt;/span&gt;, allows entering custom keywords that are retrieved next time when running the application.&lt;br /&gt;
&lt;br /&gt;
Instructions to Gaussian program on how to perform NBO calculations are selected on line&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;5&lt;/b&gt;&lt;/span&gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;G03 option uses older NBO3 module compiled as part of Gaussian 03 package.&lt;/li&gt;
&lt;li&gt;G09-link-NBO6 option adds keywords “EXTERNAL” and “pop=nbo6read” into the G09w route card and links NBO6 Windows binaries to G09w (revision D.01) [&lt;span style=&quot;color: magenta;&quot;&gt;DEFAULT&lt;/span&gt;]. This option requires having gaunbo6.bat file (part of the NBO6 package) in the main Gaussian directory (e.g., C:\G09W\gaunbo6.bat).&lt;/li&gt;
&lt;li&gt;G09-NBO option adds NBO6 specific keywords (pop=nbo6read) into the route card of G09w, which had NBO6 compiled together with G09w binaries.&lt;/li&gt;
&lt;li&gt;.47 file only option instructs ESS to generate .47 archive file for later analysis by GENNBO5/6. This is equivalent to NBO keywords ARCHIVE FILE=xxx.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
The message window at the bottom provides information related to the key scan parameters, such as, name of the scanned coordinate, its description in the output file, number of extracted geometries, and total number of atoms in the molecule. Path to files created by NboScan application is also part of the output.&lt;br /&gt;
&lt;br /&gt;
To facilitate the next step, that is, evaluation of each geometry with specified NBO keywords, Gaussian batch file (*.bcf) is created at the end of the run. Just drop the batch file into the main Gaussian09w window and click the “run” triangle icon (&lt;b&gt;Figure 8&lt;/b&gt;).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span id=&quot;docs-internal-guid-78f18605-0ae6-fe93-6f51-7a0d90f8f6e8&quot;&gt;&lt;/span&gt;
&lt;span id=&quot;docs-internal-guid-78f18605-0ae6-fe93-6f51-7a0d90f8f6e8&quot;&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKErmtDP1nb1hRWXriyc9QGRPBM2Zc8By9h3C84CwnVLp7yHfKvicVkHVqkD0TJy8PW8RlCSkCddWLr0MVXBmAkLhM4h1Kdf3dCTRKfyYsCNDwj_0bUc5z9cCaaAS9-ibMX-XRhLsUvug/s1600/batch+file+drop.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKErmtDP1nb1hRWXriyc9QGRPBM2Zc8By9h3C84CwnVLp7yHfKvicVkHVqkD0TJy8PW8RlCSkCddWLr0MVXBmAkLhM4h1Kdf3dCTRKfyYsCNDwj_0bUc5z9cCaaAS9-ibMX-XRhLsUvug/s1600/batch+file+drop.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span id=&quot;docs-internal-guid-f52a658b-0b1e-d1a4-2dba-dd183e7ad72f&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-f52a658b-0b1e-d1a4-2dba-dd183e7ad72f&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Fig. 8.&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; Starting the batch process in main interface of Gaussian09w.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-f52a658b-0b1e-d1a4-2dba-dd183e7ad72f&quot;&gt;
&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;docs-internal-guid-78f18605-0ae6-fe93-6f51-7a0d90f8f6e8&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt; text-align: justify;&quot;&gt;
Files created after the run are shown in &lt;b&gt;Figure 9&lt;/b&gt;. Each created file has a suffix indicating value of the scanned coordinate.&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiD3kR-dEeBJiW-vN2gz4WPQQZLFuHtU6Z6s5yYXfiPosAQV9Ffp-uFtvuSC9Gvp9NATXozE2mhW0-bbc_OY-dPaYu_y54_yZ9aMrx9YAnLz_JLvQAW3yIQ4sdT6Q_46Vz-agw3RdwaEM/s1600/input_output.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiD3kR-dEeBJiW-vN2gz4WPQQZLFuHtU6Z6s5yYXfiPosAQV9Ffp-uFtvuSC9Gvp9NATXozE2mhW0-bbc_OY-dPaYu_y54_yZ9aMrx9YAnLz_JLvQAW3yIQ4sdT6Q_46Vz-agw3RdwaEM/s1600/input_output.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; line-height: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;Fig. 9.&lt;/b&gt; List of input and output files. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
A representative example of the newly created series of .gjf files is shown in &lt;b&gt;Figure 10&lt;/b&gt;. Note the comment field referring to discrete geometry and the value of scanned coordinate (_10_, _20_, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9OKdz1thiSCtBed03kp2q4kVCyRhpaFxHGvlFxbxzWgdbWBWnNi5sZNrIhpPLyZ_eyFvYv3DAfVC5ZACamW5cdbNy9PBuie_dI9Eg6Dhm-ZH1WlBa1F-9XeyxtMx1n3lnE4iQ7k17DCs/s1600/new_gjf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9OKdz1thiSCtBed03kp2q4kVCyRhpaFxHGvlFxbxzWgdbWBWnNi5sZNrIhpPLyZ_eyFvYv3DAfVC5ZACamW5cdbNy9PBuie_dI9Eg6Dhm-ZH1WlBa1F-9XeyxtMx1n3lnE4iQ7k17DCs/s1600/new_gjf.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; line-height: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;Fig. 10.&lt;/b&gt; An example of created .gjf file. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;h1 dir=&quot;ltr&quot; style=&quot;line-height: 1.1500000000000001; margin-bottom: 0pt; margin-top: 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #365f91; font-family: Cambria; font-size: 19px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;References:&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
1.  Weinhold, F. and Landis, C.R. in &lt;a href=&quot;http://www.amazon.com/Discovering-Chemistry-With-Natural-Orbitals/dp/1118119967&quot;&gt;Discovering Chemistry with Natural Bond Orbitals&lt;/a&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
2.&amp;nbsp;&lt;a href=&quot;http://joaquinbarroso.com/2010/04/19/pesscan/&quot; target=&quot;_blank&quot;&gt;Rigid and Relaxed Potential Energy Surface Scans (PES Scan) in Gaussian 03 and Gaussian 09&lt;/a&gt;, J. Barroso.&lt;br /&gt;
&lt;h1 dir=&quot;ltr&quot; style=&quot;line-height: 1.1500000000000001; margin-bottom: 0pt; margin-top: 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #365f91; font-family: Cambria; font-size: 19px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 dir=&quot;ltr&quot; style=&quot;line-height: 1.1500000000000001; margin-bottom: 0pt; margin-top: 10pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #365f91; font-family: Cambria; font-size: 19px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Downloads:&lt;/span&gt;&lt;/h1&gt;
&lt;br /&gt;
NboScan java application:  &lt;a href=&quot;http://www.marcelpatek.com/blgdownload/NboScan.zip&quot;&gt;NboScan.zip&lt;/a&gt; v1.3&lt;br /&gt;
NboScan java app. (Linux-Ubuntu, SUSE):&amp;nbsp;&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/NboScan1.3Lin.zip&quot; style=&quot;line-height: 18.3999996185303px;&quot;&gt;NboScan1.3Lin.zip&lt;/a&gt;&lt;span style=&quot;line-height: 18.3999996185303px;&quot;&gt;&amp;nbsp;v1.3&lt;/span&gt;&lt;br /&gt;
NboScan manual: &lt;a href=&quot;http://www.marcelpatek.com/blgdownload/NboScan_man.pdf&quot; target=&quot;_blank&quot;&gt;NboScan_manual.pdf&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
Input and output files (.out, .gjf, .bcf):  &lt;a href=&quot;http://www.marcelpatek.com/blgdownload/io_files.zip&quot;&gt;io_files.zip&lt;/a&gt;&lt;br /&gt;
Latest updates are at: &lt;a href=&quot;http://www.marcelpatek.com/nbo/nbo.html&quot; target=&quot;_blank&quot;&gt;NBO Apps and Scripts&lt;/a&gt;&amp;nbsp;webpage&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;goup&quot;&gt;
&lt;a href=&quot;#toppage&quot;&gt;&lt;span&gt;&lt;img alt=&quot;Back to TOP&quot; border=&quot;0&quot; src=&quot;https://googledrive.com/host/0B69AdB0uDZ7tYXlzQkozNkJsNVU
&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2014/08/potential-energy-scan-and-nbo-analysis.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>2</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791571400000002 -111.57192599999998 32.6519144 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-2504825762371737608</guid><pubDate>Fri, 02 Aug 2013 01:56:00 +0000</pubDate><atom:updated>2018-03-17T14:13:10.291-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apps</category><category domain="http://www.blogger.com/atom/ns#">computational chemistry</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Jmol</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">organic chemistry</category><title>Jmol-NBO Visualization Helper</title><description>&lt;div&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; id=&quot;toppage&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: -20px; margin-top: -10px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://host138.hostmonster.com/~marcelpa/blgdownload/JmolNBO.pdf&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;

&lt;img border=&quot;0&quot; data-original-height=&quot;48&quot; data-original-width=&quot;48&quot; height=&quot;50&quot; src=&quot;https://4.bp.blogspot.com/yMLOv1tElxfO0Nz7dznUCt9dtbnJbhnsGII32BGBWWEngYDQgk3ho7J7NHUn3ynXvRqhgA=s400&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;indent&quot;&gt;Recent&lt;/span&gt; string of posts&amp;nbsp;detailed different aspects of natural bond orbital (NBO) visualization. In one example, JmolApplet was built for &lt;a href=&quot;http://chemgplus.blogspot.com/2012/10/jmolapplet-and-visualiziation-of-nbos.html&quot; target=&quot;_blank&quot;&gt;web visualization&lt;/a&gt;. In another, Jmol scripts were generated for a simple &lt;a href=&quot;http://chemgplus.blogspot.com/2013/02/create-jmol-scripts-for-nbo.html&quot; target=&quot;_blank&quot;&gt;copy/paste transfer&lt;/a&gt; to Jmol macro files. The last &lt;a href=&quot;http://chemgplus.blogspot.com/2013/03/jmol-scripts-for-visualizing-multiple.html&quot; target=&quot;_blank&quot;&gt;example&lt;/a&gt; presented java application for direct generation of Jmol macros. This post expands on the last example and introduces new, full featured java application:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Jmol-Nbo Visualization Helper&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt46OqUoXXL0Q63wA8fGyc90rJggQxPSnh4z12_ZA31ROZkAsATtH02eP0o3LIZsLRB9MuD1SmdGSJeedg-9nXc2qDyQ5NWKb4OyRMgZQGpK-BihmG9OvtwLymNWJc_S4s2X9yn6sig9c/s1600/nbo_header.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt46OqUoXXL0Q63wA8fGyc90rJggQxPSnh4z12_ZA31ROZkAsATtH02eP0o3LIZsLRB9MuD1SmdGSJeedg-9nXc2qDyQ5NWKb4OyRMgZQGpK-BihmG9OvtwLymNWJc_S4s2X9yn6sig9c/s1600/nbo_header.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Typical imagery based on Jmol-Nbo Visualization Helper macro files.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: right; padding: 15px; text-align: right;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYGmDCExmaoYorioH4-qPXrE1GSRYOdChZ7WOCCGylk9CAwJsyv1whE3R2t03vVTjPPqAuDxpMRN6iWQ1cXG1yiCGdtg8Gpy2itM1WH6_3Ovykzm1jQk8nqgXTOtuu1bDOS-fkwqpYJ2Q/s1600/setup2.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYGmDCExmaoYorioH4-qPXrE1GSRYOdChZ7WOCCGylk9CAwJsyv1whE3R2t03vVTjPPqAuDxpMRN6iWQ1cXG1yiCGdtg8Gpy2itM1WH6_3Ovykzm1jQk8nqgXTOtuu1bDOS-fkwqpYJ2Q/s1600/setup2.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 1 Jmol-NBO Visualization Helper GUI.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;As&lt;/span&gt; earlier versions, Jmol-NBO Helper is written in Java and compiled with JDK7. Successful run requires having the latest version of Java installed on your computer. Jmol-NBO Helper was developed and tested in java environment of Windows 7 and Linux systems.&lt;br /&gt;
&lt;br /&gt;
Installation involves unpacking files from JmolNboVHelper.zip archive&amp;nbsp;&amp;nbsp;(see download section at the bottom)&amp;nbsp;and placing them into any disk/directory on your system. Recommended &amp;nbsp;location is c:/nbo/JmolNboVHelper.&lt;br /&gt;
Requirements for a successful visualization of NBOs are&amp;nbsp;&lt;a href=&quot;http://www.jmol.org/&quot; target=&quot;_blank&quot;&gt;Jmol&lt;/a&gt;&amp;nbsp;and &lt;a href=&quot;http://chemgplus.blogspot.com/2012/09/visualizing-nbos-in-jmol.html&quot; target=&quot;_blank&quot;&gt;NBO PLOT files&lt;/a&gt;.&lt;br /&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;note&quot; style=&quot;clear: both;&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
&lt;span style=&quot;color: #b45f06;&quot;&gt;&lt;b&gt;&lt;i&gt;Jmol-Nbo Visualization Helper is a Java application that generates sets of Jmol .macro files that assist with generating orbital images in Jmol molecular viewer. Specific NBOs and NBO-NBO* pairs can be easily visualized and their interactions analyzed. Additional features include options to write .macro files into the default Jmol directory and to inspect source .nbo files for the key properties associated with NBO orbitals. The application has also options for visualization of 2-D contour images in customizable planes and an option to generate imagery for spin-polarized unrestricted solutions (alpha and beta spin orbitals). Java app GUI is now running both under Windows and Linux systems.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-size: 1.3em;&quot;&gt;Overview:&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;Jmol-NBO&lt;/span&gt; Helper features two distinct tabs, &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Jmol Setup&lt;/b&gt;&lt;/span&gt; and &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;NBO Analysis&lt;/b&gt;&lt;/span&gt; (&lt;b&gt;Fig. 1&lt;/b&gt;). Jmol macro files are created from the first tab, selected NBO outputs can be retrieved on the &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;NBO Analysis&lt;/b&gt;&lt;/span&gt; tab. By clicking the &quot;&lt;i&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;1. Browse Dir&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&quot; button on the &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Jmol Setup&lt;/b&gt;&lt;/span&gt; pane (&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;A&lt;/span&gt;&lt;/b&gt;), browse for the desired PLOT file on your computer. Choose any of the related plot files in range of .31-.40. Selected filename and its extension are parsed into the corresponding fields (&lt;b&gt;2&lt;/b&gt; and &lt;b&gt;3&lt;/b&gt;). Alternatively, select the requested basis from drop-down menu (&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;B&lt;/span&gt;&lt;/b&gt;) and the logical file name (LFN) in &lt;b&gt;3&lt;/b&gt; will be updated accordingly (&lt;b&gt;Fig. 2&lt;/b&gt;).&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYMCThayO3BSBzqUiGl5u95ikeZb3F70r7HAjbGFqQE-IDtsp_CzhtZqlVxlK1XUeGKx1jtqPwCJExY2f5egv_ncDVOe3PZr91FoK64dP5IxjBQoc9afBWsLJvPxSq3Hxe-uwzZGKw3lY/s1600/setup_1.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYMCThayO3BSBzqUiGl5u95ikeZb3F70r7HAjbGFqQE-IDtsp_CzhtZqlVxlK1XUeGKx1jtqPwCJExY2f5egv_ncDVOe3PZr91FoK64dP5IxjBQoc9afBWsLJvPxSq3Hxe-uwzZGKw3lY/s1600/setup_1.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 2 Inputs&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
After a succesful run, when Jmol-Nbo Helper is opened the next time, &amp;nbsp;filename and file extension from the previous run will be retrieved and filled into fields &lt;b&gt;1&lt;/b&gt;,&amp;nbsp;&lt;b&gt;2&lt;/b&gt;, and&amp;nbsp;&lt;b&gt;3&lt;/b&gt;. Next step involves selecting individual orbitals or range of orbitals in format 1,2,5,9 or 1-9, respectively. Homo and Lumo abbreviations are also allowed (&lt;b&gt;Fig. 1&lt;/b&gt;). At the lower part of &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Jmol Setup&lt;/b&gt;&lt;/span&gt; panel, choose whether to write macro file(s) into Jmol &lt;a href=&quot;http://chemgplus.blogspot.com/2013/02/create-jmol-scripts-for-nbo.html&quot; target=&quot;_blank&quot;&gt;default .macros directory&lt;/a&gt; (typical use) and if you want previously created macros be overwritten (i.e, clear the default directory). If none of the check boxes is selected, macro files will be written into the directory of .31-.40 files. Press &quot;&lt;b&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;Create&lt;/span&gt;&lt;/b&gt;&quot; (&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;C&lt;/b&gt;&lt;/span&gt;) and set of macro files will be created. Confirmation message will appear in the text box at the bottom.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Orbital Interactions:&lt;/span&gt;&lt;/h3&gt;
Now, let&#39;s move to options for creating imagery of orbital &amp;nbsp;interactions. &quot;&lt;i&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;NBO Interactions?&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&quot; box is the key in instructing Jmol to display two orbitals of your choice at the same time. This feature is useful for inspecting Donor-Acceptor pairs as seen in the center image of the main application interface (&lt;b&gt;Fig. 3&lt;/b&gt;). First, check the&amp;nbsp;&quot;&lt;i&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;NBO Interactions?&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&quot; box then select interacting pairs and enter them into field &quot;&lt;i&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;Orbital pairs&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&quot;. Format is D:A, D:A (columns and commas). For any visualization in Jmol, selection of background color is optional. Default is dark blue background. &amp;nbsp;&quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;Turn axes on&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&quot; and &quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;Labels OFF&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&quot; options are self-explanatory. As with the single orbitals, check the &quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;&lt;i&gt;Default directory&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&quot;, &quot;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;Clear default directory&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&quot; boxes, and press &quot;&lt;b&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;Create&lt;/span&gt;&lt;/b&gt;&quot;.&lt;br /&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicECmNQL4M__6LqapK6EDnaKNsB2jsu1MRw-iQF1YqfH2GwlY49n6xolAtFwbNmKRoWcl8n985fv4kSBnLOwdNeZtzVeparjqrsOUgalogcb8BplxsjyzAkyqBc3ef5G9GiTn9bgyUDvs/s1600/setup3.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicECmNQL4M__6LqapK6EDnaKNsB2jsu1MRw-iQF1YqfH2GwlY49n6xolAtFwbNmKRoWcl8n985fv4kSBnLOwdNeZtzVeparjqrsOUgalogcb8BplxsjyzAkyqBc3ef5G9GiTn9bgyUDvs/s1600/setup3.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 3 Options for interacting orbitals&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
In case that D-A orbitals overlap with opposite signs (i.i, positive lobe with negative one, blue with yellow), use suffix &lt;b&gt;&lt;i&gt;i&lt;/i&gt;&lt;/b&gt; appended to the orbital number that you want the sign be inverted (e.g., 12:87i will invert sign of orbital 87).&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Contours:&lt;/span&gt;&lt;/h3&gt;
Generation of macro files for contour imagery is a new addition to the Jmol-Nbo Helper. For either single or interacting orbitals, checking &quot;&lt;i&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;Contours&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&quot; box will lead to additional 2-D orbital imagery (&lt;b&gt;Fig. 4&lt;/b&gt;). Both surface (&lt;b&gt;&lt;i&gt;s&lt;/i&gt;&lt;/b&gt;) rendered and contours (&lt;b&gt;&lt;i&gt;c&lt;/i&gt;&lt;/b&gt;) images will be available. With &quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;Contours&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&quot; check box selected, choose definition of the plane onto which contours will be projected. Plane can be defined by atom numbers, atom numbers in combination with XYZ coordinates, just XYZ coordinates for each point, or by non parametric plane equation.&lt;br /&gt;
Due to the need for the plane definition, note that only one orbital or one orbital pair should be generated at the time. For one orbital only, use the field &quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;Orb 1&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&quot; to define projection plane (&lt;b&gt;Fig. 5&lt;/b&gt;). For interacting pairs, plane for each orbital is defined in &quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;Orb 1&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&quot; and &quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;Orb 2&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&quot; fields. Scaling of projection contours is done experimentally for each orbital. While default values (Low, High) are often satisfactory, feel free to change limits to fit your requirements.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ9Z2SbIG58kCRv-uOlULwUBJnvxHP-3PU3nveRO8M9uCuo5EkPOjdDYY9-4AEU_sZkVGbq1pctnF4Y51RJHpehTkc2llDrrFP8_jMGlACImhaNtxD-hL0ITgvgdj6GWXC8iSWOyxYxZQ/s1600/contours.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ9Z2SbIG58kCRv-uOlULwUBJnvxHP-3PU3nveRO8M9uCuo5EkPOjdDYY9-4AEU_sZkVGbq1pctnF4Y51RJHpehTkc2llDrrFP8_jMGlACImhaNtxD-hL0ITgvgdj6GWXC8iSWOyxYxZQ/s1600/contours.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 4 Contours and plane definition&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJmgQyXqUgVgpthw_GH1BFZ5gdNmSkEWuxZmkaysWXWjrSFcjjjpAwE_p3t9FOCx9BhtbVq6kquL4qY1hV_KMGipYcM8EDQanCPAMgd7b9Y5GqiE7vpuitQhgDReb_m667KCkea5-L1hI/s1600/contours2.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJmgQyXqUgVgpthw_GH1BFZ5gdNmSkEWuxZmkaysWXWjrSFcjjjpAwE_p3t9FOCx9BhtbVq6kquL4qY1hV_KMGipYcM8EDQanCPAMgd7b9Y5GqiE7vpuitQhgDReb_m667KCkea5-L1hI/s1600/contours2.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 5 Contours and scaling&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
Just underneath the Contour area is &quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;NBO6 Surfaces (now Surfaces)&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&quot; check box for including cutoff option to 3-D surfaces (&lt;b&gt;Fig. 6&lt;/b&gt;). While this may be only a temporary option, it can be used in general to affect the size of orbital lobes. The greater the number, the small is orbital lobe.&lt;br /&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Wf3o1DvSVQxh9bX6Crfzo044Wj5v72qxQS6YU28Wawt5ZvKYUP_pdVJeY1S8SHGePkZelOaxinjxoDovIW1bEngge616yRPelxaR79MkAYcBd6G-zmsQMIQYNyNDpG9dVW9xvb8sn_8/s1600/nbo6.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Wf3o1DvSVQxh9bX6Crfzo044Wj5v72qxQS6YU28Wawt5ZvKYUP_pdVJeY1S8SHGePkZelOaxinjxoDovIW1bEngge616yRPelxaR79MkAYcBd6G-zmsQMIQYNyNDpG9dVW9xvb8sn_8/s1600/nbo6.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm155OybxLAwXFGL2cYM8Mr0Sgc68ybaufOeDxfMzHazCsaoo0P52_qCf_T5bi3QwDFdkN6ZFOnXiz5zkmj6j1iIdpEYY1VfeoZg7pgjd_n5wo9QC0ZgAerh5KDxdh_9Su_ZmAT9GFWwY/s1600/nbo6_rev.png&quot; imageanchor=&quot;1&quot;&gt; &lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm155OybxLAwXFGL2cYM8Mr0Sgc68ybaufOeDxfMzHazCsaoo0P52_qCf_T5bi3QwDFdkN6ZFOnXiz5zkmj6j1iIdpEYY1VfeoZg7pgjd_n5wo9QC0ZgAerh5KDxdh_9Su_ZmAT9GFWwY/s1600/nbo6_rev.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 6 Cutoff values for Jmol orbitals&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;NBO6 Surfaces&lt;/span&gt; option has been changed in ver. 1.0.2. Surface scaling is now optional as normalization of primitives was fixed in NBO6. History of changes on NBO6 web site says: &quot;Errors in PLOT, NJC, and NBCP output arising from inconsistencies in normalization of Gaussian primitives from different ESS hosts have been eliminated. The current code renormalizes GTOs as necessary to insure consistent results for all ESS hosts&quot;.&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;Output Analysis:&lt;/span&gt;&lt;/h3&gt;
&lt;span class=&quot;indent&quot; style=&quot;color: orange;&quot;&gt;&lt;b&gt;NBO Analysis&lt;/b&gt;&lt;/span&gt; pane was added to guide users with selecting orbitals and the corresponding numbers for input into &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Jmol Setup&lt;/b&gt;&lt;/span&gt; tab.&lt;br /&gt;
&lt;br /&gt;
First, load the .nbo or .out file that corresponds to PLOT files used for NBO imagery (&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;A&lt;/span&gt;&lt;/b&gt;). Path and filename are again saved in local xml file and will be retrieved in the next session. Next, choose one of the radio buttons indicating the requested information from the nbo/out file (&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;B&lt;/span&gt;&lt;/b&gt;). By clicking &quot;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;Run&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&quot; button (&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;), selected output will be printed into the text field below.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3QB3yOFh99lh8GsR4Z9n5jGs7zsWce-v4nC-MaowbGHYXwsq0FQjYvIgUcJYj1iV0eB7Xd7U-wKuo330ShROOpYmhbyDkuK_d43ysI-fmcv56pqDv-4M7xUj0Px3peOnghxjYI9NS_2U/s1600/analysis.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3QB3yOFh99lh8GsR4Z9n5jGs7zsWce-v4nC-MaowbGHYXwsq0FQjYvIgUcJYj1iV0eB7Xd7U-wKuo330ShROOpYmhbyDkuK_d43ysI-fmcv56pqDv-4M7xUj0Px3peOnghxjYI9NS_2U/s1600/analysis.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 7 Content of the NBO output file&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
At the bottom of &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;NBO Analysis&lt;/span&gt;&lt;/b&gt; tab, there are two free-text fields where you can make notes about selected orbitals and pairs. Copy and paste your list(s) into designated fields on the &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Jmol Setup&lt;/b&gt;&lt;/span&gt; tab.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNIsxQFjT8wy_jrqfIBPxXy5PwMup9QupbofOrespeYVNEyGU9iodPM6TtV2UV8mEdeQ7G6o6bzh76jJEA14yS1XC8M4wbga4n1AxsPgAUJ7Um5EuG6EDfE3D8mLOesLk6YWTlmPqOQcc/s1600/jmol_macro.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNIsxQFjT8wy_jrqfIBPxXy5PwMup9QupbofOrespeYVNEyGU9iodPM6TtV2UV8mEdeQ7G6o6bzh76jJEA14yS1XC8M4wbga4n1AxsPgAUJ7Um5EuG6EDfE3D8mLOesLk6YWTlmPqOQcc/s1600/jmol_macro.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 8 Running macros from Jmol.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Once done with generating macro files, launch the Jmol and go to Macros drop-down menu. Earlier created files will be listed by their abbreviated file names. Just click the macro name and further adjust created images from Jmol console or menus.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #0b5394; font-size: 1.3em;&quot;&gt;Current version 2.1&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Version 2 of the JmolNbo Visualization Helper added an option to analyze open-shell NBO output. By checking the box &quot;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;Open-shell?&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&quot; in the lower part of the &lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;JmolSetup&lt;/b&gt;&lt;/span&gt; tab (&lt;b&gt;Fig. 9&lt;/b&gt;), content of the loaded &lt;b&gt;&lt;i&gt;lfn&lt;/i&gt;&lt;/b&gt; file (section 3.) will be parsed for the corresponding alpha and beta sections and two &lt;b&gt;&lt;i&gt;lfn&lt;/i&gt;&lt;/b&gt; files will be created (e.g., filename_a.37 and filename_b.37). New files are created in directory from which the original &lt;b&gt;&lt;i&gt;lfn&lt;/i&gt;&lt;/b&gt; file was loaded from (&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;i&gt;&lt;b&gt;1. Browse Dir&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;). Accordingly, two macro files for each initial (α&amp;nbsp;+ β) NPA output will be created and can be visualized in JmolViewer.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;clear: both;&quot;&gt;
&lt;div class=&quot;notewarning&quot;&gt;
&lt;span style=&quot;color: #b45f06;&quot;&gt;&lt;b&gt;&lt;i&gt;Since new files are written to the directory containing .31-.46 files, make sure that the folder is given -write permission (Linux users).
&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCziCXZrB-GSrGuum2VkURb0Zrck9zUMOJSzOftMIQYXP09WjcFLESOTBPqNoGNZQkNDvCjLeL_3guXA6xW95HlwWQlKhFgXDDaGoP4dFQvnjjOfMjWUQJD63xhAL7nYfSou8sbYRiOks/s1600/mainV2.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCziCXZrB-GSrGuum2VkURb0Zrck9zUMOJSzOftMIQYXP09WjcFLESOTBPqNoGNZQkNDvCjLeL_3guXA6xW95HlwWQlKhFgXDDaGoP4dFQvnjjOfMjWUQJD63xhAL7nYfSou8sbYRiOks/s1600/mainV2.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 9 &amp;nbsp;Option to create two separate alpha and beta spin sets and orbital imagery.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;NBO Analysis&lt;/b&gt;&lt;/span&gt; tab now prints different portions of the NBO output file (.nbo or .out) with sections for α and β spin sets (&lt;b&gt;Fig. 10&lt;/b&gt;). As a result of such separation, values are not anymore sorted. NBO output files (closed-shell and open-shell) are automatically recognized and parsed accordingly.&lt;br /&gt;
&lt;br /&gt;
An example&amp;nbsp;of open-shell system (HF+ radical cation) is part of the application download.&lt;br /&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihBl0hlTL168-4TsdtK61b7dR7JngXIcrRUTGCbvhL8mdYD20JwAR5-aPW5VuMG3ZX0D2rvGS3v4F86RqyXsCmwpfb058H8VsCDXUH6YSk7sS2P1JOQgfv_goFjrN8U-1J3_d_KNhdhXM/s1600/spin_analysis.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihBl0hlTL168-4TsdtK61b7dR7JngXIcrRUTGCbvhL8mdYD20JwAR5-aPW5VuMG3ZX0D2rvGS3v4F86RqyXsCmwpfb058H8VsCDXUH6YSk7sS2P1JOQgfv_goFjrN8U-1J3_d_KNhdhXM/s1600/spin_analysis.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 10 &amp;nbsp;Details of the Natural Bond Orbitals summary output for two spin systems.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Exemplary images for α-spin orbitals &lt;b&gt;5&lt;/b&gt; and &lt;b&gt;6&lt;/b&gt; of HF+ radical cation are shown in &lt;b&gt;Fig. 11&lt;/b&gt;.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDM2YmQnaXhlXDjjoqg1FdL-tBGwrWyiWvS02kzPfPPCZ7aL4PNkv4F_NEtMY8wTWlGpUFOFHJqLfiLnCyxDMn0e4-NSAb5mKKT8GWOvqS_BGr1vsiGvvzZsnwQ_zBpZAHc0GxsRFTECQ/s1600/HF_images.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDM2YmQnaXhlXDjjoqg1FdL-tBGwrWyiWvS02kzPfPPCZ7aL4PNkv4F_NEtMY8wTWlGpUFOFHJqLfiLnCyxDMn0e4-NSAb5mKKT8GWOvqS_BGr1vsiGvvzZsnwQ_zBpZAHc0GxsRFTECQ/s1600/HF_images.jpg&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 11 &amp;nbsp;2D countours and 3D images of alpha spin set for NBO 5 and 6 of HF+ radical cation.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
Enhancements in version 2.1 include the option to generation Jmol scripts to &lt;a href=&quot;http://chemgplus.blogspot.com/2015/07/web-visualization-of-nbos-in-x3d-format.html&quot; target=&quot;_blank&quot;&gt;output .x3d and .jvxl files&lt;/a&gt; for visualization of Natural Bond Orbitals in web browsers. As for version 2.1, the GUI is shown in &lt;b&gt;Figure 12&lt;/b&gt;.&amp;nbsp;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSr0XqRgDwhsqee9ktVqntWGIzD5jnLct-D9bqz9Z6o_wJPM5XVSivL2-lnO3hz0KtqCYEj5hnM6a5XqH6UonJZRudxmP-mBx4osBSbg3GOTbQ4SSjQvPjj5DAE4X8CtPCxK5vzCFrKc/s1600/jvh_create.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjSr0XqRgDwhsqee9ktVqntWGIzD5jnLct-D9bqz9Z6o_wJPM5XVSivL2-lnO3hz0KtqCYEj5hnM6a5XqH6UonJZRudxmP-mBx4osBSbg3GOTbQ4SSjQvPjj5DAE4X8CtPCxK5vzCFrKc/s1600/jvh_create.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 12 &amp;nbsp;Details of the application&#39;s main panel.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
While not directly implemented in Jmol-NBO Visualization Helper, &lt;a href=&quot;http://garybreton.com/JmolNbo_adding_surfaces.pdf&quot; target=&quot;_blank&quot;&gt;Gary Breton&lt;/a&gt; has &lt;a href=&quot;http://www.marcelpatek.com/blgdownload/JmolNbo_adding_surfaces.pdf&quot; target=&quot;_blank&quot;&gt;described&lt;/a&gt;&amp;nbsp;a creation of multiple orbital surfaces using combination of Jmol and Visualization Helper.&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #0b5394; font-size: 1.3em;&quot;&gt;Downloads:&lt;/span&gt;&lt;/h4&gt;
To download the latest version of Jmol-NBO Visualization Helper, please visit the &lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;NBO Scripts and Handy Applications&lt;/b&gt;&lt;/span&gt;&amp;nbsp;web page at &lt;a href=&quot;http://www.marcelpatek.com/nbo/nbo.html&quot;&gt;http://www.marcelpatek.com/nbo/nbo.html&lt;/a&gt;&lt;br /&gt;
Since the version 1.3, both Windows and Linux .jar files are part of the .zip download file. W suffix refers to the Windows OS, Ub/Lin suffix refers to the Linux (Ubuntu) OS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #0b5394; font-size: 1.3em;&quot;&gt;Video Tutorial:&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;640&#39; height=&#39;460&#39; src=&#39;https://www.youtube.com/embed/BzM0Mi5r-gY?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #0b5394; font-size: 1.3em;&quot;&gt;References:&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.jmol.org/&quot; target=&quot;_blank&quot;&gt;Jmol&lt;/a&gt;: an open-source Java viewer for chemical structures in 3D.&lt;/li&gt;
&lt;li&gt;Jmol/JSmol interactive scripting &lt;a href=&quot;http://chemapps.stolaf.edu/jmol/docs/&quot; target=&quot;_blank&quot;&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;F. Weinhold and C. R. Landis, Discovering Chemistry with Natural Bond Orbitals (Wiley-VCH, 2012), 319pp.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nbo6.chem.wisc.edu/biblio_css.htm&quot; target=&quot;_blank&quot;&gt;References&lt;/a&gt; at NBO6 Website.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nbo6.chem.wisc.edu/products_css.htm&quot; target=&quot;_blank&quot;&gt;NBOView and NBOPro&lt;/a&gt; are &quot;gold&quot; standards for creating NBO imagery and analysis of NBO outputs both originating and expanding concepts and software of Frank Weinhold.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;goup&quot;&gt;
&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=3495295212797855714#toppage&quot;&gt;&lt;img alt=&quot;Back to TOP&quot; border=&quot;0&quot; src=&quot;https://googledrive.com/host/0B69AdB0uDZ7tYXlzQkozNkJsNVU
&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</description><link>http://chemgplus.blogspot.com/2013/08/jmol-nbo-visualization-helper.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791571400000002 -111.57192599999998 32.6519144 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-8445737018331674996</guid><pubDate>Sun, 21 Jul 2013 22:44:00 +0000</pubDate><atom:updated>2015-09-12T12:24:19.371-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apps</category><category domain="http://www.blogger.com/atom/ns#">computational chemistry</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">organic chemistry</category><title>Gennbo Helper</title><description>&lt;div&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; id=&quot;toppage&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
After a string of &lt;a href=&quot;http://chemgplus.blogspot.com/&quot; target=&quot;_blank&quot;&gt;blogs&lt;/a&gt; on visualization of NBO orbitals in Jmol, today I am going to introduce new application:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;Gennbo Helper&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Gennbo Helper is java-based application which offers a simple way of generating:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;Keylists and the corresponding keywords for standalone program GENNBO5/6 (processing of existing archive files (FILE47))&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Keylists and the corresponding keywords for ESS-linked or &quot;embedded&quot; NBO modules&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Input files with nbo keywords for two ESS/NBO programs, namely Gaussian09 and PC-GAMESS/Firefly&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;note&quot; style=&quot;clear: both;&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
&lt;span style=&quot;color: #b45f06;&quot;&gt;&lt;b&gt;&lt;i&gt;Gennbo Helper assists with syntax of NBO keylists and keywords and formats them for input into standalone Gennbo program.
&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
The main reason behind Gennbo Helper was to &quot;script&quot; repetitive tasks behind preparation of .47 archive files, running the stand-alone GENNBO module, and consistently writing properly formatted ESS input files.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: right; padding: 15px; text-align: right;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPlKeUauJAeDOnA6DgiP0mHDl8XTUW8Q6ucEtzG88JWgRvzTW2JvElsXmMmF6ynsgH4py5m570SkZcZCMVUmDrnizrCSuMw9TqSN7m0B8KSPM1NZaXSafKGlTCB3_ssoVRJ7WAvJpuWM8/s1600/main_basic1.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPlKeUauJAeDOnA6DgiP0mHDl8XTUW8Q6ucEtzG88JWgRvzTW2JvElsXmMmF6ynsgH4py5m570SkZcZCMVUmDrnizrCSuMw9TqSN7m0B8KSPM1NZaXSafKGlTCB3_ssoVRJ7WAvJpuWM8/s640/main_basic1.png&quot; height=&quot;640&quot; width=&quot;496&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 1 Gennbo Helper GUI.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Being written in Java7 code, this application requires having the latest version of Java installed on your computer. Gennbo Helper was developed and tested in java environment of Windows 7 and Linux systems. Installation is rather simple. Files from GennboHelper.zip archive can be placed into any disk/directory on your system.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Without any doubts, efficient use of Gennbo Helper assumes familiarity with &lt;a href=&quot;http://nbo6.chem.wisc.edu/&quot; target=&quot;_blank&quot;&gt;NBO concepts and programs&lt;/a&gt; developed by Frank Weinhold at the University of Wisconsin. Reference section below lists key resources, which are invaluable for better understanding of chemical phenomena predicted by NBO analysis.&lt;br /&gt;
&lt;br /&gt;
Since this application makes direct use of standalone NBO6w program, having NBO6w installed on your computer will fully utilize capabilities of Gennbo Helper. For details and availability of NBO programs, visit the &lt;a href=&quot;http://nbo6.chem.wisc.edu/&quot; target=&quot;_blank&quot;&gt;NBO6 website&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;clear: both;&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
Gennbo Helper works with local NBO6 gennbo executable to process .47 archive files. Alternatively, modified .47 file can be used as input for the older Gennbo5W program.
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Brief Overview:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Gennbo Helper graphical user interface (&lt;b&gt;Fig. 1&lt;/b&gt;) consists of three main areas:&lt;br /&gt;
&lt;br /&gt;
1)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;File input (top area)&lt;br /&gt;
2)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Options (middle section)&lt;br /&gt;
3)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Output (bottom area)&lt;br /&gt;
&lt;br /&gt;
Archive file .47 is loaded first at the top by clicking &quot;1. Browse dir&quot; button. Filename and extension is parsed into different text fields and optional suffix can be added.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXZpqun6RHRDhRFiW2TixC_s0W2WdSLIZXupnJisM8FGNoWYnP3n0XB9o_9DioL7OEC3yFNMOH5vvGNqiz2lplW-vtVzYLkKit8-Z6NH2YvyQcZai9rAS1YTxDxW9qROdnVoixzresPKo/s1600/basic_ex1.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXZpqun6RHRDhRFiW2TixC_s0W2WdSLIZXupnJisM8FGNoWYnP3n0XB9o_9DioL7OEC3yFNMOH5vvGNqiz2lplW-vtVzYLkKit8-Z6NH2YvyQcZai9rAS1YTxDxW9qROdnVoixzresPKo/s1600/basic_ex1.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 2 Basic keywords tab&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Middle panel is subdivided into three tabs for different tasks. On the&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;Basic keywords&lt;/span&gt;&lt;/b&gt;&amp;nbsp;panel, options are selected by checking the corresponding check boxes,&amp;nbsp;levels, atom lists, and drop-down menus (&lt;b&gt;Fig. 2&lt;/b&gt;). In the middle part of Options is a group of control keywords. By selecting &lt;i&gt;Plot&lt;/i&gt; or &lt;i&gt;Archive&lt;/i&gt; keyword will always set &lt;i&gt;FILE&lt;/i&gt; keyword on as well. Clicking button &quot;3. Create/Append input&quot; generates string of NBO keywords in the output area below (in blue). Typical flow includes clicking &quot;Write *47&quot; and &quot;Run Gennbo6&quot; buttons. String of formatted NBO keywords is inserted into .47 archive file and processed by nbo6 modules. Alternatively, older GENNBO5W can be used to load and run modified .47 file manually.&lt;br /&gt;
&lt;br /&gt;
On the &lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;Keylists&lt;/b&gt;&lt;/span&gt; tab (&lt;b&gt;Fig. 3&lt;/b&gt;), user can create two main keylists with their specific keywords. Those are $CHOOSE and $DELETE. The former list can be used with standalone GENNBO application, the latter list with ESS-linked nbo6 modules or with ESS program having nbo routines included. While NEDA and NCS keywords are not necessarily parts of $DEL list, they were added into this group as they also require nbo modules being either internal or linked to ESS program. If format of keylist is incorrect, warning message will appear asking you to correct formatting. Hovering mouse over any field will display tip on format or the keyword.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrI0vDnlUVF3JrJlbvdYYNwyID6BpC1CZJbOdEPaxpSmoTH7cGn433zcDKUGzPolO2v1s5GFS563s6-pKBX3_mY7wVU8E-9w1170caGoeJSPmKiRN_86YWony_IVH9veKAzLVyy8J_us8/s1600/key_choose.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrI0vDnlUVF3JrJlbvdYYNwyID6BpC1CZJbOdEPaxpSmoTH7cGn433zcDKUGzPolO2v1s5GFS563s6-pKBX3_mY7wVU8E-9w1170caGoeJSPmKiRN_86YWony_IVH9veKAzLVyy8J_us8/s1600/key_choose.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 3 Keylists&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;ESS Input&lt;/b&gt;&lt;/span&gt; tab (&lt;b&gt;Fig. 4&lt;/b&gt;) allows generating basic input files for two ESS programs, Gaussian 09 and GAMESS/FIREFLY. Molecular geometries can either be pasted in or loaded from Examples drop-down menu. From this tab, input file with instructions to generate the necessary .47 archive file can be created and directly used with the two ESS programs mentioned above.&amp;nbsp;Pull-down menus and check boxes offer selection of computational method, examples of molecular geometries, symmetry, and other options to be added into input files. After all the necessary parameters are entered, click on buttons 4.-5.-6. “Create NBO input” button has the same function as button “3. Create/Append input”. It populates the output area with NBO keywords. “Save NBO param” will copy all keylists and keywords from the nbo output area and “Generate Input” button will create new .inp or .gjf file for use in FF or G09, respectively.&lt;br /&gt;
&lt;br /&gt;
Checking the new checkbox “Run” and clicking button 6. will generate windows batch file “gaussrun.bat” in the directory set by clicking button 2. If Gaussian program is installed in C:/G09W, the job will start immediately. This option was added for a greater convenience of Windows users and won’t work on other systems. All options except of running Gaussian (&amp;amp;Run) work also under Linux OS.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC2GYZGtiYZcEEdULVFGGRut8nz9_K3X84PT3ZkuHL4nslUkOcycHhgcvaV8SmeWJ8Q3sucmII7PYRgAX2U6QM8ABeJOZgmeIs2KBPvzAzXjCtVsqx2uKnh544O613FLNRX8djpyZBBe4/s1600/ess_main_b.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC2GYZGtiYZcEEdULVFGGRut8nz9_K3X84PT3ZkuHL4nslUkOcycHhgcvaV8SmeWJ8Q3sucmII7PYRgAX2U6QM8ABeJOZgmeIs2KBPvzAzXjCtVsqx2uKnh544O613FLNRX8djpyZBBe4/s1600/ess_main_b.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 4 ESS Input tab&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
In case that GAMESS/Firefly option was checked, button &quot;&lt;b&gt;&lt;i&gt;6. Generate Input&lt;/i&gt;&lt;/b&gt;&quot; will also create initialization batch file filename_RUN.bat in the directory of Firefly executable. To launch Firefly job, just double-click the .bat file.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGFOxAZTN2tawz4wqgX8B3pwZmUvIzxgjyWM8WIF0KO8LtK5E-f1ajxhG2wI9LD82DME8-HaqXgN0HhsA49fhPrJojEmb4MRHpX9pqwwkW5Zwpo2LYsqTMW6uPJC6HenSu4l-1RkyTGYE/s1600/batch_file.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGFOxAZTN2tawz4wqgX8B3pwZmUvIzxgjyWM8WIF0KO8LtK5E-f1ajxhG2wI9LD82DME8-HaqXgN0HhsA49fhPrJojEmb4MRHpX9pqwwkW5Zwpo2LYsqTMW6uPJC6HenSu4l-1RkyTGYE/s1600/batch_file.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In the Input and Output areas, there are two drop-down menus with nbo keyword presets and user settings. NBO keywords that are generated by user (or just typed in) can be saved (and re-used) in three different User settings.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #674ea7;&quot;&gt;Batch Input&lt;/span&gt;&lt;/b&gt; tab (&lt;b&gt;Fig. 5&lt;/b&gt;) allows GENNBO processing of multiple .47 files from one directory. Running a batch of .47 files is independent of other settings in the app.&lt;br /&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;
&lt;u&gt;Prerequisites:&lt;/u&gt;&lt;br /&gt;
In order to process .47 files by GENNBO6 modules, a helper jvgennbo.bat file has to be present in the main NBO6 directory (here c:/nbo6w). The file is part of the download. Since it is Windows file, the Batch processing is limited to Window users.&lt;br /&gt;
&lt;br /&gt;
1.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;First set the NBO6 (GENNBO) directory using the button “&lt;b&gt;2. Load Dir&lt;/b&gt;”.&lt;br /&gt;
2.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Load .47 files by clicking the “&lt;b&gt;Load Files&lt;/b&gt;” button (&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;1.&lt;/span&gt;&lt;/b&gt;) and by control-selecting multiple files in that directory. Selected files will appear in the &lt;span style=&quot;color: red;&quot;&gt;Batch list&lt;/span&gt; area.&lt;br /&gt;
3.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Write NBO keywords and lists into $NBO $END section of the .47 files. By clicking the “&lt;b&gt;Write Batch&lt;/b&gt;” button, keywords in the NBO keyword and keylist area will be inserted into all .47 files. Successful insertion of keywords will be indicated in the &lt;span style=&quot;color: red;&quot;&gt;Notification area&lt;/span&gt; at the bottom of the window.&lt;br /&gt;
Optionally, if .47 files already have $NBO section populated, skip the “&lt;b&gt;Write Batch&lt;/b&gt;” step. Clicking the “&lt;b&gt;Write Batch&lt;/b&gt;” button (&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;2.&lt;/b&gt;&lt;/span&gt;) with no keywords in the &lt;span style=&quot;color: red;&quot;&gt;Keyword and keylist area&lt;/span&gt;, default keyword PRINT=0 will be used.&lt;br /&gt;
4.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;By pressing “&lt;b&gt;Run batch&lt;/b&gt;” button (&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;3.&lt;/b&gt;&lt;/span&gt;) a loop feeding each .47 file into GENNBO modules will be launched. Progress monitor bar will indicate status of the processing and current file being process by GENNBO modules will be shown in the text field left of the progress bar. Upon completion, a message window will pop up.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; padding: 15px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_dk9ngV3EEcGUdPhTuLOs-sA7nlkk2BgUvva6VRX3Isw-r9Z6PGFkKvVhupolK3eQzLBJ_KbTKIq0EgyDd2eQOs0bxbKa4Vds-ydyEze-SYiUbezsDlzS__hoUo2dQ-sOiob8S1coSws/s1600/batch_tab.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_dk9ngV3EEcGUdPhTuLOs-sA7nlkk2BgUvva6VRX3Isw-r9Z6PGFkKvVhupolK3eQzLBJ_KbTKIq0EgyDd2eQOs0bxbKa4Vds-ydyEze-SYiUbezsDlzS__hoUo2dQ-sOiob8S1coSws/s1600/batch_tab.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 5 Batch List tab&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 21px;&quot;&gt;&lt;br /&gt;Download:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
The latest version of GennboHelper.zip file (ver 1.32 on April 2015) can be downloaded from &lt;a href=&quot;http://www.marcelpatek.com/nbo/nbo.html&quot; target=&quot;_blank&quot;&gt;NBO Scripts and Handy Applications&lt;/a&gt;&amp;nbsp;website. Gennbo Helper manual, README file, and accessory files are included.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 21px;&quot;&gt;Video Tutorial:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;640&#39; height=&#39;460&#39; src=&#39;https://www.youtube.com/embed/GOVhjaYrfyQ?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;References:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://nbo6.chem.wisc.edu/nboman.pdf&quot; target=&quot;_blank&quot;&gt;NBO6 manual&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;F. Weinhold, “Natural bond orbital analysis: A critical overview of relationships to alternative bonding perspectives,” J. Comput. Chem. (2012).&lt;/li&gt;
&lt;li&gt;F. Weinhold and C. R. Landis, Valency and Bonding: A Natural Bond Orbital Donor-Acceptor Perspective (Cambridge U. Press, 2004), 760pp.&lt;/li&gt;
&lt;li&gt;F. Weinhold and C. R. Landis, Discovering Chemistry with Natural Bond Orbitals (Wiley-VCH, 2012), 319pp.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nbo6.chem.wisc.edu/biblio_css.htm&quot; target=&quot;_blank&quot;&gt;References&lt;/a&gt; at NBO6 Website.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;div id=&quot;goup&quot;&gt;
&lt;a href=&quot;#toppage&quot;&gt;&lt;span&gt;&lt;img alt=&quot;Back to TOP&quot; border=&quot;0&quot; src=&quot;https://googledrive.com/host/0B69AdB0uDZ7tYXlzQkozNkJsNVU
&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2013/07/gennbo-helper.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>4</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791571400000002 -111.57192599999998 32.6519144 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-7590356675583248111</guid><pubDate>Sun, 31 Mar 2013 21:13:00 +0000</pubDate><atom:updated>2015-09-12T12:24:37.442-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apps</category><category domain="http://www.blogger.com/atom/ns#">computational chemistry</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Jmol</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">organic chemistry</category><title>Jmol Scripts for Visualizing Multiple NBOs</title><description>&lt;div&gt;&lt;a href=&quot;https://draft.blogger.com/null&quot; id=&quot;toppage&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; display: block; margin: 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0px; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKn14rx6rb3l9wCTN_j5ckGKnXhbtg87MUCvVNepW0wgmE_r7lxinN9WDEs0pZ-Swr3cx0Y3nEYF_izAKYJqQrDQTz4kSVKNQ4eTSeFn_27BngdHbK8Rs_fwOKnO-i5AmGnwUvjKszCuw/s1600/header1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 0.3em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKn14rx6rb3l9wCTN_j5ckGKnXhbtg87MUCvVNepW0wgmE_r7lxinN9WDEs0pZ-Swr3cx0Y3nEYF_izAKYJqQrDQTz4kSVKNQ4eTSeFn_27BngdHbK8Rs_fwOKnO-i5AmGnwUvjKszCuw/s1600/header1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-right: 1em; width: 440px;&quot;&gt;
&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt; the &lt;a href=&quot;http://chemgplus.blogspot.com/2013/02/create-jmol-scripts-for-nbo.html&quot; target=&quot;_blank&quot;&gt;previous part&lt;/a&gt;, single visualization scripts were created to display individual or interacting NBOs in&amp;nbsp;&lt;a href=&quot;http://jmol.sourceforge.net/&quot; target=&quot;_blank&quot;&gt;Jmol viewer&lt;/a&gt;. We have used a simple Java application to generate the corresponding Jmol script files. Here, a slightly modified version of the previous application is described, which allows for generation of sets of macro files for specific NBOs or interacting NBO-NBO* pairs.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-right: 1em; width: 440px;&quot;&gt;
&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt; brief, we browse for specific NBO &quot;PLOT&quot; (.32 - .40) file, click on it, and choose or leave default logical file name (LFN). In the next step, we proceed to the input of molecular orbitals (fields NBOs or NBO pairs). To visualize interacting orbitals, we check the &quot;NBO Interactions&quot; check box and enter list of interacting pairs (e.g. homo:lumo, 12:87).&lt;/div&gt;
Pairs are separated by comma and interacting pairs are denoted by column separator. For a simple list of orbitals, we enter comma separated list of orbital numbers (e.g. 10, 12, lumo). After clicking &quot;Create&quot; button, the corresponding script files will be created and confirmation printed in the text field below (Fig. 1).

From there, we launch JmolViewer, go to &quot;Macros&quot; pull-down menu, and choose one of the listed macros.
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Java Application - Details:&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
As indicated in Fig. 1 (magenta lines), we fill in the file path (Browse for and click any plot file), check the filename, and enter LFN type (37 for NBO).&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;File name is parsed from the selected path, filetype is removed. For example, by clicking on c:/nbo/form.37, directory c:/nbo is selected in field 1. and &quot;form&quot; is&amp;nbsp;auto filled&amp;nbsp; in field 2.&lt;/li&gt;
&lt;li&gt;Values for fields 1, 2, and 3 are recorded in newly created file &quot;nbo_settings.xml&#39; and re-used next time when application is launched. This file is stored together with the .jar executable.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
In the next step, we will specify list of orbitals (1) or interaction orbital pairs (2).&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;For list of orbitals, we enter comma separated order of orbital numbers (from .nbo file). For example, &quot;10, 12,homo,lumo&quot;. Spaces are tolerated. The latest revision also features option to enter ranges of orbital, such as &quot;5-10,12,homo,85-87&quot;.&lt;/li&gt;
&lt;li&gt;To indicate the interacting pair list, we have to check the box &quot;NBO Interactions?&quot; and type comma separated list of orbital numbers with column character indicating interaction pair. For example, list containing &quot;12:87, 10:65, homo:lumo&quot; will create three macro files for the following interacting pairs: &lt;b&gt;12-87&lt;/b&gt;, &lt;b&gt;10-65&lt;/b&gt;, and &lt;b&gt;homo-lumo&lt;/b&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
In this version, there is one additional feature - option to write macro files into the default JmolViewer .jmol/macros directory. Its path depends on the computer system (Win, Linux). If this check box is unchecked, macro files are created in the original directory (here c:/nbo) and have to be manually moved into .jmol/macros directory before launching JmolViewer.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw5Wr8ZH_0kvH5O_F4t3DCGIPofYaWHm19qbF5Zc0je70pOYKullkWiAoSi_u0dgEvrml7reGAxYEanh5e8L3Nf3v_LO18W443MPTTv45KFnZjCmW_jcqpsGJmmBAhRsGpyCD0VdWICKA/s1600/inter_pairs.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw5Wr8ZH_0kvH5O_F4t3DCGIPofYaWHm19qbF5Zc0je70pOYKullkWiAoSi_u0dgEvrml7reGAxYEanh5e8L3Nf3v_LO18W443MPTTv45KFnZjCmW_jcqpsGJmmBAhRsGpyCD0VdWICKA/s1600/inter_pairs.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 1 Interacting orbitals of formamide.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div&gt;
After clicking &quot;Create&quot;, the corresponding macro files will be generated in the assigned directory. Summary of executed tasks is shown in the text area. Note the number of macro files created (here two), type of orbitals (here NBO), and path to the macro files.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Plot file number (.32-.40) is translated into the corresponding orbital type (PNAO, NBO, ...) and abbreviated in the file name (Fig. 2).&lt;/li&gt;
&lt;li&gt;Spaces between interacting pairs are tolerated (12:87, \s homo:lumo), but other irregularities, such as &quot;12-87&quot; in the format are not checked for.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
To clear output field and fields for NBO entry, click the &quot;Clear text&quot; button.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHRG5jDL_u2SYZgXxU7LS-DRh5udfcpjC9LAX-8gRvgIvEvoGg0y9BGEDYZ777v1sRJoHdb9tIQOP5wfyChAnmm0niv5JPntGbCS4uKiTjBqz5GLlAvo6pzooeNI-V2V9e1_EqJ6OKCYA/s1600/macro_files.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHRG5jDL_u2SYZgXxU7LS-DRh5udfcpjC9LAX-8gRvgIvEvoGg0y9BGEDYZ777v1sRJoHdb9tIQOP5wfyChAnmm0niv5JPntGbCS4uKiTjBqz5GLlAvo6pzooeNI-V2V9e1_EqJ6OKCYA/s1600/macro_files.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 2 Macro files created in the&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;%USERPROFILE%/.jmol/macros&lt;/span&gt;&lt;b&gt;&amp;nbsp;directory.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Occasionally check for updates on this blog &quot;Click here for update&quot; link at the bottom of application window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Download:&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Download zipped .jar file by clicking the following link:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;u&gt;Latest version:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.marcelpatek.com/blgdownload/nbo_list_macro_rev3.1.zip&quot;&gt;nbo_list_macro_rev3.1.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Other versions: &amp;nbsp; &amp;nbsp; &lt;br /&gt;
rev2: &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/nbo_list_macro_rev2.0.zip&quot; target=&quot;_blank&quot;&gt;nbo_list_macro_rev2.0.zip&lt;/a&gt;&lt;br /&gt;
rev1: &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/nbo_list_macro_rev1.0.zip&quot; target=&quot;_blank&quot;&gt;nbo_list_macro_rev1.0.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;History:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;4/14/2013 - rev3.1 fixed bug with directory opening in the default place instead in the directory visited last.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;4/9/2013 &amp;nbsp; - &amp;nbsp;rev3.0 added option to delete files in default JmolViewer directory;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Changed file naming to allow for numerical sorting of interacting orbitals in JmolViewer (from name_10:57-NBO.macro to 10:57_name-NBO.macro)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;4/7/2013 &amp;nbsp; - &amp;nbsp; rev2.0; added option to enter ranges of orbitals (e.g., 1-5, 6-9,12). Changed file naming to allow for numerical sorting of individual orbitals in JmolViewer (from name_1-NBO.macro to 1_name-NBO.macro)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;3/31/2013 &amp;nbsp; - &amp;nbsp; rev1.0; original version&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
Java classes (and application) were compiled with JDK 1.7. Any updates to the files will have revision suffix added to the filename&amp;nbsp;(rev1.x)&amp;nbsp;.&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #bf9000;&quot;&gt;Contact me with any bugs, suggestions, or if there is a problem with the download (I&#39;ll e-mail you the files).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;References:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Dr. Joaquin Barroso&#39;s Blog&lt;a class=&quot;mogi-reference&quot; href=&quot;http://joaquinbarroso.com/tag/nbo/&quot; target=&quot;_blank&quot;&gt;&amp;nbsp;NBO thread.&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://joaquinbarroso.com/2009/09/24/nbo-visualization/&quot; target=&quot;_blank&quot;&gt;Natural Bond Orbitals (NBO) visualization&lt;/a&gt; at Dr. Joaquin Barroso&#39;s blog.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://nbo6.chem.wisc.edu/&quot; target=&quot;_blank&quot;&gt;Natural Bond Orbital 6.0 homepage&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://molecularmodelingbasics.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Molecular Modeling Basics&lt;/a&gt; - Jmol and more ...&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;goup&quot;&gt;
&lt;a href=&quot;#toppage&quot;&gt;&lt;span&gt;&lt;img alt=&quot;Back to TOP&quot; border=&quot;0&quot; src=&quot;https://googledrive.com/host/0B69AdB0uDZ7tYXlzQkozNkJsNVU
&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2013/03/jmol-scripts-for-visualizing-multiple.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791571400000002 -111.57192599999998 32.6519144 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-4658336163029642986</guid><pubDate>Tue, 19 Feb 2013 01:34:00 +0000</pubDate><atom:updated>2015-09-12T12:25:06.453-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Jmol</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><title>Create Jmol Scripts for NBO Visualization</title><description>&lt;div style=&quot;clear: both; display: block; margin: 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0px; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbUxF3MbVC6O3d9oClf9wfYGHi1OupuUbtX2GkC_9THzOUN0tlP5jCEbpnuiifNMtZ0MgpGgiGsbOQQrvP7LyYumnPjvd4Lbq2TpxWq3t899h77eXHUIuX-E4VS1JSp3WmS35dmhsG438/s1600/header.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbUxF3MbVC6O3d9oClf9wfYGHi1OupuUbtX2GkC_9THzOUN0tlP5jCEbpnuiifNMtZ0MgpGgiGsbOQQrvP7LyYumnPjvd4Lbq2TpxWq3t899h77eXHUIuX-E4VS1JSp3WmS35dmhsG438/s1600/header.png&quot; /&gt;&lt;/a&gt;


&lt;br /&gt;
&lt;div style=&quot;margin-right: 1em; width: 450px;&quot;&gt;
&lt;a href=&quot;http://chemgplus.blogspot.com/2012/09/visualizing-nbos-in-jmol.html&quot;&gt;&lt;span class=&quot;indent&quot;&gt;So&lt;/span&gt; far&lt;/a&gt;, we have worked out preparation of files for NBO visualization in the&amp;nbsp;&lt;a href=&quot;http://jmol.sourceforge.net/&quot; target=&quot;_blank&quot;&gt;Jmol viewer&lt;/a&gt;. At some point, one would like to visually inspect specific NBOs or interacting NBO-NBO* pairs. Jmol offers two approaches to &quot;loading&quot; molecules and their properties. One is via Jmol Console (File → Console, Fig. 2), the other one is to load a macro script from Macros menu. To make either approach more easy, I wrote a simple java application that generates both the script and macro for single NBO or pair of interacting NBO-NBO* orbitals. &lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-right: 1em; width: 450px;&quot;&gt;
&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt; brief, we browse for the specific NBO &quot;PLOT&quot; (.37 - .46) file, choose or leave default logical file name (LFN) and then proceed to input of molecular orbitals (field NBO). To visualize interacting orbitals, we check the &quot;NBO Interactions&quot; check box and enter interacting pair of orbitals into &quot;NBO&quot; and &quot;NBO*&quot; fields. After clicking &quot;Create&quot; button, the corresponding script will appear in the blank text field at the bottom.&lt;/div&gt;
&lt;div&gt;
From there, we can copy it to clipboard, save the macro file, or clear the text field. Detailed how-to can be found in each downloaded zip file.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;App Requirements:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Platform independent&lt;/li&gt;
&lt;li&gt;Preferably&amp;nbsp;standalone on desktops, possibly servers&lt;/li&gt;
&lt;li&gt;Simple, yet scalable&lt;/li&gt;
&lt;/ul&gt;
Java programming language not only fits all the above requirements, but it is also fun to work with. &lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
All discussed applications use Java SE 7 and JDK 1.7. To ensure that all apps work fine with older JAVA editions, JDK 1.6 versions (JAVA 6) are also included. Both versions were tested under Windows 7 and Ubuntu 11.04 virtual machine (VMware Workstation 7.0) hosted by Windows 7.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Java Application:&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
Let&#39;s begin with the Console input. I usually open Console window next to the main JmolViewer window for more interactive navigation. Typical example of Console&amp;nbsp;script&amp;nbsp;commands is shown in Fig. 1. For more scripting commands, see &lt;a href=&quot;http://chemapps.stolaf.edu/jmol/docs/&quot; target=&quot;_blank&quot;&gt;this scripting documentation&lt;/a&gt;. Specifics around molecular surfaces are described &lt;a href=&quot;http://chemapps.stolaf.edu/jmol/docs/examples-11/mo.htm&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsiieHDJJ0_q5DnKAyNlVDvTtpFNz_NWoqdBTv3JTIdNuuK9_ZRJPR3v1d7dPf91YWyYHKAO28quM5RJt1HfRzfTlTo-EFk6_dTyuo2vR8bNeo_Xm1rDW-_-xwWjRgtIbn_iH2N8c3Vt4/s1600/console.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsiieHDJJ0_q5DnKAyNlVDvTtpFNz_NWoqdBTv3JTIdNuuK9_ZRJPR3v1d7dPf91YWyYHKAO28quM5RJt1HfRzfTlTo-EFk6_dTyuo2vR8bNeo_Xm1rDW-_-xwWjRgtIbn_iH2N8c3Vt4/s1600/console.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 1 Jmol Console.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;
As outlined above and shown in Fig. 2, we fill in the file path (Browse for and click the particular plot file), check the filename and enter LFN type (37 for NBO), and proceed to field &quot;NBO&quot;. Here, we enter orbital number or just type &quot;homo, homo-1, etc.). After clicking &quot;Create&quot;, the corresponding script will appear in the empty text field.&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyMUPDzg15_Pzh8DM_-nFRuEeN7llBOi6CZZURKtG6SSE2RWTd5cLcM0xa_qyl97XfLLfSVCISJM94aQZQS6zxNGIa8JRed1bbTyJuyqVJmfIWsDC16bvY88st06zRafUZwVFIANcqqdA/s1600/script_nbo.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyMUPDzg15_Pzh8DM_-nFRuEeN7llBOi6CZZURKtG6SSE2RWTd5cLcM0xa_qyl97XfLLfSVCISJM94aQZQS6zxNGIa8JRed1bbTyJuyqVJmfIWsDC16bvY88st06zRafUZwVFIANcqqdA/s1600/script_nbo.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 2 Create Jmol Script for NBO Visualization.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
From here, we can copy the script to clipboard or save it as macro. In this example, file form_12.macro will be saved in the original directory of plot files. Data which is now in the clipboard can be directly pasted into Jmol Console (Fig. 1). After pressing &quot;Enter&quot;, new imagery will appear in the main Jmol viewer window.&lt;br /&gt;
To visualize interacting pairs of orbitals, check the box &quot;NBO Interactions?&quot; and provide the pair of interacting orbitals into &quot;NBO&quot; and &quot;NBO*&quot; fields, respectively. &amp;nbsp;(Fig. 3).&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEzBUTYEoVdzB2IK8JcWZhikajnb55Tw_9__B3z3Uho5_k3LZyHlu4wdEXYVxvxLGvMZ-QqECgTeWrCo3nicufbkEzKGkEMJWoX9U9BqPZeIVNzqCbiJJ757EU9vVK82uQbPyXZe4bEic/s1600/script_interact.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEzBUTYEoVdzB2IK8JcWZhikajnb55Tw_9__B3z3Uho5_k3LZyHlu4wdEXYVxvxLGvMZ-QqECgTeWrCo3nicufbkEzKGkEMJWoX9U9BqPZeIVNzqCbiJJ757EU9vVK82uQbPyXZe4bEic/s1600/script_interact.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 3 Create Jmol Script for NBO Visualization - I.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWoRYUrPi6NoOCMgq3W9G7thlgiAyuhqIfSqTku0FcDRS8GZ7tfkQ-61_gcWk7cbCnqhH6pyTXZwzdAtV1obZO3xkl0J0MurIxgqurjhVwlmHS_fRmT-RG32nFTAMBKXuQOAWPxkEmIHY/s1600/result_inter.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWoRYUrPi6NoOCMgq3W9G7thlgiAyuhqIfSqTku0FcDRS8GZ7tfkQ-61_gcWk7cbCnqhH6pyTXZwzdAtV1obZO3xkl0J0MurIxgqurjhVwlmHS_fRmT-RG32nFTAMBKXuQOAWPxkEmIHY/s1600/result_inter.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;padding-left: 2em; text-align: left;&quot;&gt;&lt;b&gt;Fig. 4 Interacting orbitals of formamide.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;padding-top: 2em;&quot;&gt;
Pasting the script into Console or saving it as macro file will result in visualization shown in Fig. 4. Save the above created macro file in the &quot;macro&quot; folder located at &quot;%USERPROFILE%/.jmol/macros&quot; (Windows 7). Hint - type the above path (without quotation marks) to Windows Explorer address bar and hit enter.&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;indent&quot;&gt;As the project evolved, I built two versions of the application. One is called &quot;light&quot; and does exactly what is described above. The other version, called &quot;extended&quot;, has a few&lt;/span&gt;&amp;nbsp;additional features - it will remember the previous state of file path, file name, and LFN type as data is stored (and retrieved) from dynamically created nbo_settings.xml file. This latter version also features link to any updates on this blog.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Download the files:&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot; bordercolor=&quot;#FFCC00&quot; cellpadding=&quot;3&quot; cellspacing=&quot;3&quot; style=&quot;background-color: #ffffcc; text-align: center; width: 100%;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td width=&quot;30%&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;App/JAVA SE&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td width=&quot;30%&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;JAVA 6&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
                &lt;td width=&quot;30%&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;JAVA 7&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
nbo_macro_light&lt;/div&gt;
&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/nbo_macro_light6.zip&quot; onclick=&quot;_gaq.push([&#39;_trackPageview&#39;,&#39;/blgdownload/nbo_macro_light6.zip&#39;]);&quot; target=&quot;_blank&quot;&gt;nbo_macro_light6.zip&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/nbo_macro_light7.zip&quot; onclick=&quot;_gaq.push([&#39;_trackPageview&#39;,&#39;/blgdownload/nbo_macro_light7.zip&#39;]);&quot; target=&quot;_blank&quot;&gt;nbo_macro_light7.zip&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
nbo_macro&lt;/div&gt;
&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/nbo_macro6.zip&quot; onclick=&quot;_gaq.push([&#39;_trackPageview&#39;,&#39;/blgdownload/nbo_macro6.zip&#39;]);&quot; style=&quot;text-align: center;&quot; target=&quot;_blank&quot;&gt;nbo_macro6.zip&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.marcelpatek.com/blgdownload/nbo_macro7.zip&quot; onclick=&quot;_gaq.push([&#39;_trackPageview&#39;,&#39;/blgdownload/nbo_macro7.zip&#39;]);&quot; target=&quot;_blank&quot;&gt;nbo_macro7.zip&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
As table headers indicate, the same java classes (and application) are compiled for JDK 1.6 and JDK 1.7 environment. Any updates to the files will have revision suffix added to the filename&amp;nbsp;(rev1)&amp;nbsp;.&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #bf9000;&quot;&gt;Contact me with any bugs or if there is a problem with the download (I&#39;ll e-mail you the files).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;Future Work:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
While both light and &quot;extended&quot; versions provide quick access to the script and macro files for use in JmolViewer, generation of custom set of macro files is clearly the next step. I&#39;ll post the blog update when new custom macro &quot;generator&quot; will be available. Another enhancements may include web access to java applet or Java Web Start deployment.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;How-to Video:&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;500&#39; height=&#39;415&#39; src=&#39;https://www.youtube.com/embed/2Sqo8T1Fong?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-size: 1.3em;&quot;&gt;References:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Dr. Joaquin Barroso&#39;s Blog&lt;a class=&quot;mogi-reference&quot; href=&quot;http://joaquinbarroso.com/tag/nbo/&quot; target=&quot;_blank&quot;&gt;&amp;nbsp;NBO thread.&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://joaquinbarroso.com/2009/09/24/nbo-visualization/&quot; target=&quot;_blank&quot;&gt;Natural Bond Orbitals (NBO) visualization&lt;/a&gt; at Dr. Joaquin Barroso&#39;s blog.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://nbo6.chem.wisc.edu/&quot; target=&quot;_blank&quot;&gt;Natural Bond Orbital 6.0 homepage&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://molecularmodelingbasics.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Molecular Modeling Basics&lt;/a&gt; - Jmol and more ...&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2013/02/create-jmol-scripts-for-nbo.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.92647899999997</georss:point><georss:box>31.791579400000003 -111.57192599999998 32.6519064 -110.28103199999997</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-4439735202382897417</guid><pubDate>Sun, 28 Oct 2012 21:13:00 +0000</pubDate><atom:updated>2015-07-19T15:32:23.494-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">computation</category><category domain="http://www.blogger.com/atom/ns#">Jmol</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><title>JmolApplet and Visualiziation of NBOs in Web Browsers</title><description>&lt;div style=&quot;clear: both; display: block; margin: 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirVfDSdUAZWnVf9Iud6CfoO9YLWC6MalazJecM1V7IqMPq-WMTt0BTD8GvlkR9a1X7w4akswbv_vn6ElDQZkWPALEmdvsTgkfZn-41rBSGCxXlhD-p1KNmXkml2zbv-QIomPkxwpZDZek/s1600/logo620.png&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0px; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin: 0in;&quot;&gt;
﻿﻿&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;clear: left; float: right; margin-left: 1em; text-align: right;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV_izP9tdfeh6lk_sw2Xy0ybMlAbaIJKw-aRDF-bi4yv2EGkaQ7H5mK3dczNc0tiq1mW24eSC_RDWpNITUVuhjM3oSYmReqww1Eplw8-0orbNM_LarpDdRHXR3RHcJtq_pCglWR2tHNjo/s1600/form_12_87.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: 1em; margin-right: 0em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV_izP9tdfeh6lk_sw2Xy0ybMlAbaIJKw-aRDF-bi4yv2EGkaQ7H5mK3dczNc0tiq1mW24eSC_RDWpNITUVuhjM3oSYmReqww1Eplw8-0orbNM_LarpDdRHXR3RHcJtq_pCglWR2tHNjo/s1600/form_12_87.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Lone-pair -&amp;gt; antibond delocalization in formamide.&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;In&lt;/span&gt; this post, we will continue exploring visualization possibilities offered by the free Jmol viewer, particularly, the graphical representations of Natural Bond Orbitals (NBOs) generated by GENNBO
5.0W.&amp;nbsp; Other sources of .31-.46 plot files can be used as well. Ultimately, we should be able to output and dynamically display selected NBOs in any web browser and further they display properties.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;Jmol&lt;/span&gt; is a free, open source molecule&amp;nbsp; viewer running on several common operating systems (Mac, Windows).&amp;nbsp; There are two
main applications that most users will want to use for visualization of molecular orbitals and molecular surfaces:&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;The JmolApplet is a web browser applet that can be integrated into web pages.&lt;/li&gt;
&lt;li&gt;The Jmol application is a standalone Java application that runs on the desktop.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
Jmol: an open-source Java viewer for chemical structures in 3D.&amp;nbsp;http://www.jmol.org/
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin: 0in;&quot;&gt;
Let&#39;s go through the steps of setting up files, directories, and parameters to output visualization directly
to a web browser.&lt;/div&gt;
&lt;div style=&quot;margin: 0in;&quot;&gt;
&lt;br /&gt;
As briefly outlined in the&amp;nbsp;&lt;a href=&quot;http://chemgplus.blogspot.com/2012/09/visualizing-nbos-in-jmol.html&quot;&gt;previous post&lt;/a&gt;, we first need to get the Jmol application files from&lt;/div&gt;
&lt;a href=&quot;http://jmolsourceforge.net/&quot;&gt;jmolsourceforge.net&lt;/a&gt; (zip file). Unpack the zip file into any drive/folder (e.g. D:/computation/jmol for this tutorial) and make a shortcut to Jmol.jar file on your desktop. Next, we will need the formamide.31-.46 plot files generated earlier (previous post). In case that you wish to reproduce examples in this tutorial, &lt;a href=&quot;https://docs.google.com/open?id=0B69AdB0uDZ7tU3F2LXFXX1hJd0E&quot; target=&quot;_blank&quot;&gt;here are the files&lt;/a&gt;. For now, just keep them separate from the jmol directory.&lt;br /&gt;
To be able to use ScriptButton features of the &lt;i&gt;Export to Web&lt;/i&gt; module of the Jmol application, we need to run a simple web server*. There are several choices available:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Using your own or institution&#39;s web server&lt;/li&gt;
&lt;li&gt;Installing a free web server environment, such as&amp;nbsp;&lt;a href=&quot;http://www.wampserver.com/en/&quot;&gt;WampServer&lt;/a&gt;&lt;a href=&quot;http://www.wampserver.com/en/&quot;&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Running a simple portable web server, such as &lt;a href=&quot;http://code.google.com/p/mongoose/&quot; target=&quot;_blank&quot;&gt;mongoose&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div id=&quot;box1&quot;&gt;
* Launching .html files directly from the web export folder fails to display Interactive buttons and most importantly, the java visualizations.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
Assuming that we want to run visualization on our local computer, the address will be http://localhost:8080/dir/file.html, where dir and file will be replaced by your actual directory name and the corresponding .html file name.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
While I am using WampServer (on Windows 7, 32bit), examples discussed here use simpler and &quot;light-weight&quot; mongoose server. Download it (mongoose-x.x.exe) from the above link and place the .exe file at the same level where the Jmol file is located (Fig. 1).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notewarning&quot;&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;This blog has been UPDATED (summer 2015)&lt;/span&gt; to reflect the recent changes in Jmol structure and Web presentation.
&lt;br /&gt;
&lt;pre&gt;With the Chrome browser phasing out support of Java-based plugins (applets), Jmol development has moved to JavaScript-based framework and HTML5 support.&amp;nbsp;&lt;/pre&gt;
As of mid-2015, Firefox, Opera, and IE still support java applets and plugins.
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwFknqSLFP4yr6NzgwBOG3Uzqt6A0J9PD10xTiqAd600ds_Xqt2zExSFsOMd9My6I1VkfBxj6kiJfVZAW1-l04uUnzSRH_I5VQVtPG4PW3JbMjxA2fGDjFUuA5KYQzMVTCgOZLX8hCFX4/s1600/localdir.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwFknqSLFP4yr6NzgwBOG3Uzqt6A0J9PD10xTiqAd600ds_Xqt2zExSFsOMd9My6I1VkfBxj6kiJfVZAW1-l04uUnzSRH_I5VQVtPG4PW3JbMjxA2fGDjFUuA5KYQzMVTCgOZLX8hCFX4/s1600/localdir.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 1 Folder structure of the Jmol app and loca/server files&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #3d85c6; font-size: large;&quot;&gt;Preparing the web output:&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
Now, open the desktop version of Jmol (click Jmol&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;bde9ec6acf18173a38a6b7315c059cf78df8a0dc&quot; grtype=&quot;null&quot; id=&quot;GRmark_bde9ec6acf18173a38a6b7315c059cf78df8a0dc_.:0&quot;&gt;.&lt;/span&gt;jar shortcut) and make sure to have sevral macro files ready (created earlier with JmolNBO Visualization Helper). Then go to:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&amp;nbsp;File -&amp;gt; Export -&amp;gt; Export to web page and select tab &quot;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;044d3b0130df547a4e11b44de2a95ef318e443c4&quot; grtype=&quot;null&quot; id=&quot;GRmark_044d3b0130df547a4e11b44de2a95ef318e443c4_ScriptButton:0&quot;&gt;ScriptButton&lt;/span&gt; Jmol&quot;&amp;nbsp;&lt;/li&gt;
&lt;br /&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: -60px; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-KGbKTm9R0XwhIh3XcmWrn3ezj6G_i8YSFMoTyoi9Du4B53Ys40zyOfeKjgUpmwRejkPguEZXo2_OqC6IrQpA0W-az0PMxIJ_4Q0SAGcK-h1JrbnlIcFVUesZ4dJ_xEYb2WtvOl4x-5g/s1600/jmol_webmaker2015.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-KGbKTm9R0XwhIh3XcmWrn3ezj6G_i8YSFMoTyoi9Du4B53Ys40zyOfeKjgUpmwRejkPguEZXo2_OqC6IrQpA0W-az0PMxIJ_4Q0SAGcK-h1JrbnlIcFVUesZ4dJ_xEYb2WtvOl4x-5g/s1600/jmol_webmaker2015.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 2 Jmol Web Page Maker main window&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Fill out the&amp;nbsp;Author&amp;nbsp;field, and enter &quot;./jsmol&quot; into the &quot;Relative server path to jar files&quot; field. Upon saving the html page, Jmol export Jsmol directory to your server structure (./java/jsmol). Enter just a dot into the &quot;Relative path to local jar files&quot; field (see Fig. 2).&amp;nbsp;&lt;/li&gt;
&lt;li&gt;For each desirable loaded visualization (through the macro scripts in the main Jmol app window), click &quot;Add Present Jmol State as Instance&quot; button to add NBOs to make them available for display in the browser. Name the state (NBO) by its corresponding number (Fig. 2).&lt;/li&gt;
&lt;li&gt;Click &quot;Save HTML as&quot; and navigate to the folder where Jmol folder is located (Fig. 3). In this example, it is D:/computation/jmol/java.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0cxcQu-X1x58fMm4HTi7PB3rw-ZNLKmr9cprBJIEzXnnTDQIzgme4JtJ98OoWLFrr9JEt7b0B930nnMYFXX658MaDIVcBqafdKlpGQJy2FhPrzXce5rV6SPKtHMajoWUDALjbsg0EIc/s1600/save+dialog2015.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0cxcQu-X1x58fMm4HTi7PB3rw-ZNLKmr9cprBJIEzXnnTDQIzgme4JtJ98OoWLFrr9JEt7b0B930nnMYFXX658MaDIVcBqafdKlpGQJy2FhPrzXce5rV6SPKtHMajoWUDALjbsg0EIc/s1600/save+dialog2015.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 3 Exporting web files with the folder layout&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
Now, the important part - go to the folder with .31-.42 plot files created earlier. &amp;nbsp;Due to an unknown bug in the java code, you have to&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;re-name&amp;nbsp;&lt;/span&gt;files form.31 and form.46 to form.37.31 and form37.46, respectively and copy them into the just created web folder /java. Essentially, we just insert .37 in the middle of the file name. Files in that directory should look similar to the top three files in Fig. 4.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4ZP9ksNBmp9wSBghGNYgyioVrCYiahdy3H_49XvUxwZONsCTSeo8Jb7cdPoGGlA8Cz-a_Pwtn9WP1MsKY0_iMLlIPYYYep8JAymz8JbO9jQaOHd6qFTBGJiELVNNuy8HdrIvEquMHT1o/s1600/nbo+directory2015.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4ZP9ksNBmp9wSBghGNYgyioVrCYiahdy3H_49XvUxwZONsCTSeo8Jb7cdPoGGlA8Cz-a_Pwtn9WP1MsKY0_iMLlIPYYYep8JAymz8JbO9jQaOHd6qFTBGJiELVNNuy8HdrIvEquMHT1o/s1600/nbo+directory2015.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 4 Structure and new files in the web export folder&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
All files created in this last step (except of jsmol directory) are available for &lt;a href=&quot;https://drive.google.com/file/d/0B69AdB0uDZ7tRWttZXZyOGpGYjg/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;download&lt;/a&gt;&amp;nbsp;(java.zip). Unpack them next to the Jmol folder (Fig. 5) &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;808b6d5a072d2362b7da07e53b4090c63c9a9a4f&quot; grtype=&quot;null&quot; id=&quot;GRmark_808b6d5a072d2362b7da07e53b4090c63c9a9a4f_and:0&quot;&gt;and&lt;/span&gt; follow the next step to reproduce this tutorial.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM1YSP2bo7EAk6LFlPzkZLVMmq4AQXbhkmJglBr_ICzidyXhvqLSNbFP6SO1c6XIHk4-8ALedWbdSOTCpZd8jQU0VBKnT-Kh0bjeF6XfuOuxZqW6NbUc0AurLmO-Ock96c5SsDSKuqhYU/s1600/serverdirB_2015.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM1YSP2bo7EAk6LFlPzkZLVMmq4AQXbhkmJglBr_ICzidyXhvqLSNbFP6SO1c6XIHk4-8ALedWbdSOTCpZd8jQU0VBKnT-Kh0bjeF6XfuOuxZqW6NbUc0AurLmO-Ock96c5SsDSKuqhYU/s1600/serverdirB_2015.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 5 Final directory layout&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: large;&quot;&gt;Launching the server:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Launch mongoose.exe by double clicking it (Fig. 5). Mongoose web server icon will appear at the right-bottom notification area.&lt;/li&gt;
&lt;li&gt;Confirm security exception (if any) and check &quot;Install service&quot;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Type&amp;nbsp;&lt;a href=&quot;http://localhost:8080/dmfserv/dmfserv.html&quot;&gt;http://localhost:8080/java/java.html&lt;/a&gt; to launch the in browser. Again, replace &quot;java&quot; with the name of your actual folder and .html file name.&lt;/li&gt;
&lt;li&gt;After finishing visualization, cancel and exit the mongoose server service.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Since the visualization and web structure use a lot of JavaScript, loading of all files may take 10-20s. Once the image is loaded there is a small 3D icon positioned down-left in the image window. Click on that icon to start loading 3D view and Jmol menu (opens on right-mouse click).&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmjrOl2PMl4cD5_I1XHYC2DfYETMI7j2si8bZ08qKxV4T_OTC_p-_pYCRSP0l5eBm1zPPmHQ2Uv6OObW53ZJvZS5qNw-v34kVZGCh8esgpWW9tVfZc32CWjQWc19AZeDZcIr2GgUpjE3M/s1600/3d.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmjrOl2PMl4cD5_I1XHYC2DfYETMI7j2si8bZ08qKxV4T_OTC_p-_pYCRSP0l5eBm1zPPmHQ2Uv6OObW53ZJvZS5qNw-v34kVZGCh8esgpWW9tVfZc32CWjQWc19AZeDZcIr2GgUpjE3M/s1600/3d.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The final web view is shown below.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMZ91ECfZZNjIS2EvCgMYypAJcDYS5l-XdYFKWOwvBLQ-jYXjhggdBFL3qCxQKwi_VO-3LeX4qSaP8LlGT13HE4o1k5WIqiFffB077O56IS7YoIMBiyARSsgwcOqsiVB0qOlB8Dy8WEGw/s1600/result2015.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMZ91ECfZZNjIS2EvCgMYypAJcDYS5l-XdYFKWOwvBLQ-jYXjhggdBFL3qCxQKwi_VO-3LeX4qSaP8LlGT13HE4o1k5WIqiFffB077O56IS7YoIMBiyARSsgwcOqsiVB0qOlB8Dy8WEGw/s1600/result2015.png&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Note that there is still the option to switch to Java-driven view (link below the image). However, the view will not work in the Chrome browser as of version 43.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: large;&quot;&gt;Watch video tutorial:&lt;/span&gt;&lt;br /&gt;
This video pertains to the early version of Jmol tutorial. While many steps are the same, please adapt revisions from the updated blog.&lt;br /&gt;
&lt;a href=&quot;http://youtu.be/Hzpr74WbDPo&quot; target=&quot;_blank&quot;&gt;mobile link:&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;550&#39; height=&#39;440&#39; src=&#39;https://www.youtube.com/embed/Hzpr74WbDPo?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://chemgplus.blogspot.com/2012/10/jmolapplet-and-visualiziation-of-nbos.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirVfDSdUAZWnVf9Iud6CfoO9YLWC6MalazJecM1V7IqMPq-WMTt0BTD8GvlkR9a1X7w4akswbv_vn6ElDQZkWPALEmdvsTgkfZn-41rBSGCxXlhD-p1KNmXkml2zbv-QIomPkxwpZDZek/s72-c/logo620.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.926479</georss:point><georss:box>32.0068154 -111.242336 32.436670400000004 -110.610622</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-3472151785313622101</guid><pubDate>Sat, 27 Oct 2012 23:45:00 +0000</pubDate><atom:updated>2015-09-12T12:25:25.973-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">computational chemistry</category><category domain="http://www.blogger.com/atom/ns#">Jmol</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><category domain="http://www.blogger.com/atom/ns#">organic chemistry</category><title>Visualizing NBOs in Jmol</title><description>&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;http://chemgplus.blogspot.com/2012/09/natural-bond-orbitals-nbo.html&quot;&gt;&lt;span class=&quot;indent&quot;&gt;&lt;span class=&quot;GingerNoCheckStart&quot;&gt;&lt;/span&gt;In&lt;/span&gt; the previous post&lt;/a&gt;, concept and usage of NBO analysis were introduced. This post outlines steps for visualization of natural bond orbitals in open source&amp;nbsp;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;viewer&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp;- Jmol. We will also assume the least practical scenario - running our calculations in Gaussian 09 for Windows (G09W).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;There are two&amp;nbsp;prerequisite&amp;nbsp;parts that we need for NBO analysis:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Molecular system wavefunction and&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.chem.wisc.edu/~nbo5/&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot; target=&quot;_blank&quot;&gt;NBO program&lt;/a&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt; that perform the analysis&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The former is usually generated by our electronic structure system (ESS), the latter one is&amp;nbsp;either&amp;nbsp;part of the ESS or has to be purchased separately (see &lt;a href=&quot;https://charge.wisc.edu/chemistry/order.asp&quot; target=&quot;_blank&quot;&gt;NBO web site&lt;/a&gt;). Currently, the most recent&amp;nbsp;version&amp;nbsp;of the NBO program is at version 5.9 (aka NBO5). Unfortunately, users of Windows version of Gaussian have only access to the older version of NBO (3.1), which is incorporated in binaries G03W or G09W. To gain access to NBO5 options, Windows users have to use &lt;a href=&quot;https://charge.wisc.edu/chemistry/order.asp&quot; target=&quot;_blank&quot;&gt;GENNBO 5.0W&lt;/a&gt; application, which performs analysis of wavefunction generated by the Gaussian ESS.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The process of obtaining NBO5 output files and results of NBO analysis is following:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Specify POP=NBOREAD keyword in route card of Gaussian input file ($NBO keylist will be read and processed)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Include the ARCHIVE and FILE=name in the $NBO keylist that is specified after the &quot;standard&quot; Gaussian input (Fig. 1). Leave one blank line before and after the keylist.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;File name.47 (in our case form.47) will be stored in &quot;Scratch&quot; directory of the G09W install path (typically C:\G09W).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Open this name.47 file in any text editor and enter keywords &quot;file=form plot&quot; between $NBO ... $END delimiters at the top of the file (Fig. 2).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Save the file and use it as input for GENNBO 5.0W analysis.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhftPw7_6Aav7gkiOUkNrYnDnpn4_1S6mPTPBCXtz0m-G7FOGMLYGTLRhoGT-IdOcmCc_if9lsjIy9IOq2bCoNvnIlE7P1ZZtPJNOt0_JVtATMFSGNzk5CmkZp5TRfJqnnfOMf5vq18_s/s1600/gauss_input1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhftPw7_6Aav7gkiOUkNrYnDnpn4_1S6mPTPBCXtz0m-G7FOGMLYGTLRhoGT-IdOcmCc_if9lsjIy9IOq2bCoNvnIlE7P1ZZtPJNOt0_JVtATMFSGNzk5CmkZp5TRfJqnnfOMf5vq18_s/s1600/gauss_input1.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 1 Example of G09W input file for formamide&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgITQCnxH0rAvPjgZaquBNMnsnhnIOihKh-kRFMULOXCN-EPwhkXBQooo33qPCTUVCDLNW450rTR2nMpK6f-qKTGoTXzA_YJO4pzwmR_VBBZTfrRRISbvb6KXKM5oWjx-9AlWp7tgmuemA/s1600/genbo5_setup1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgITQCnxH0rAvPjgZaquBNMnsnhnIOihKh-kRFMULOXCN-EPwhkXBQooo33qPCTUVCDLNW450rTR2nMpK6f-qKTGoTXzA_YJO4pzwmR_VBBZTfrRRISbvb6KXKM5oWjx-9AlWp7tgmuemA/s1600/genbo5_setup1.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 2 Setting up $NBO keylist in name.47 file&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;After GENNBO analysis finishes, the corresponding .31-.46 plot files will be in the GENNBO5 main directory. I usually just move them into directory where all other output files reside. At this point, our directory should contain the following files (Fig. 3):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNH4224MxBbmJOLEDtZkPyxQ97WmrfVwDyOSzfRI__j1cJ6XI0D8kIpPi9-mC7P75kO3LBR447d564GBM6dbHt-TLfoRUgMDbbYYiWempYL9b6m8N9smv5sobIOgApToRD1bU3kVoiyI0/s1600/lfn1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNH4224MxBbmJOLEDtZkPyxQ97WmrfVwDyOSzfRI__j1cJ6XI0D8kIpPi9-mC7P75kO3LBR447d564GBM6dbHt-TLfoRUgMDbbYYiWempYL9b6m8N9smv5sobIOgApToRD1bU3kVoiyI0/s1600/lfn1.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 3 List of created files&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;div class=&quot;notetip&quot;&gt;
Having GaussView 5.0, but not GENNBO 5.0W? For direct&amp;nbsp;output&amp;nbsp;of NBOs from G09W/NBO3.1 binary, include command &quot;POP=(nbo,savenbo)&quot; in the input file route card. Only NBOs (not other orbitals) are then saved in .chk file for further analysis. Format the checkpoint .chk file with Gaussian utility to formatted .fch file and use GaussView 5.0 to visualize NBOs. Due to the slight differences in NBO3.1 and NBO5 calculations, NBOs may look a bit different.
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;With plot files .32-.46 in place, we are ready to inspect shapes and size of NBOs. Actually, not just yet. We need to install&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Jmol&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;application that will run on our desktop. It&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;is a free, open-source molecule viewer, running on Windows, Mac OS X, and Linux/Unix systems.&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;Jmol can be downloaded from &lt;a href=&quot;http://jmolsourceforge.net/&quot;&gt;jmolsourceforge.net&lt;/a&gt;&amp;nbsp;as .zip file. Unpack it in any place you wish and make shortcut to Jmol.jar file on your desktop. Then, just run it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;To make generation of the NBO imagery easier, we will use Jmol scripts that can be run as &quot;macro&quot;. Save the following text between the dashed lined into file called,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;nbo12.macro&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;---------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Title=NBO12&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Script=reset;background [0,0,150];load F:/your/path/to/plotfiles/form.37;mo 12;wireframe 30;spacefill 50;center {0.0 0.419936 0.0}; rotate z 145.3; rotate y 176.92; rotate z 13.53; translate x 3.92; translate y 5.95; set rotationRadius 3.27;isosurface color [247,255,71] [113,168,254] mo 12 opaque;mo nomesh;isosurface translucent 0.3;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;---------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;This file should have no line breaks after the first line (just a long line text). You will need to &lt;b&gt;change the path&lt;/b&gt; to your set of .32-.40 plot files and &lt;b&gt;orbital number after &quot;mo&quot;&lt;/b&gt; command. Currently, it will display mo 12 (NBO), which is the HOMO in our formamide example.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Now, save the above created file nbo12.macro in the &quot;macro&quot; folder located at:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;C:\Users\username\.jmol\macros (Windows 7)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Launch the Jmol, click on &quot;Macros&quot; in the menu and click on &quot;NBO12&quot;. You should see the following image.&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3klcJA0_V1hmgv4lmFbo1pVleLzrgkTX-Pe2Mt-4XThdDBvbQ0YAcLwv-LWH-BUWF_jE5r6PRG8oTsTbaWmWQnXZQFrHA44wOL_7gd1OimejQmO4IzooT_BI0tF3qlQJgCdTZpUQkgxk/s1600/form_nbo12_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3klcJA0_V1hmgv4lmFbo1pVleLzrgkTX-Pe2Mt-4XThdDBvbQ0YAcLwv-LWH-BUWF_jE5r6PRG8oTsTbaWmWQnXZQFrHA44wOL_7gd1OimejQmO4IzooT_BI0tF3qlQJgCdTZpUQkgxk/s1600/form_nbo12_1.png&quot; /&gt;&lt;/a&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Fig. 4 &amp;nbsp;NBO 12 of formamide (HOMO)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
In the &lt;a href=&quot;http://chemgplus.blogspot.com/2012/10/jmolapplet-and-visualiziation-of-nbos.html&quot;&gt;next post&lt;/a&gt;, we will explore Jmol Applet and Visualiziation of NBOs in web browsers. Some other time, I&#39;ll take a look at the same visualization using Molekel 4.3.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Weinhold, F.;&lt;a class=&quot;mogi-reference&quot; href=&quot;http://books.google.com/books?id=y68Cs32WNI0C&quot; target=&quot;_blank&quot;&gt;&amp;nbsp;Discovering Chemistry With Natural Bond Orbitals&lt;/a&gt;, Willey, 2012.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://joaquinbarroso.com/2009/09/24/nbo-visualization/&quot; target=&quot;_blank&quot;&gt;Natural Bond Orbitals (NBO) visualization&lt;/a&gt; at Dr. Joaquin Barroso&#39;s blog.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;GingerNoCheckEnd&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2012/09/visualizing-nbos-in-jmol.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.926479</georss:point><georss:box>32.0068154 -111.242336 32.436670400000004 -110.610622</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3495295212797855714.post-7143496352831856490</guid><pubDate>Sun, 23 Sep 2012 17:08:00 +0000</pubDate><atom:updated>2015-09-12T12:25:42.744-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">computation</category><category domain="http://www.blogger.com/atom/ns#">NBO</category><title>Natural Bond Orbitals (NBO)</title><description>&lt;div style=&quot;clear: both; display: block; margin: 0px auto 0px auto; position: relative; width: 100%;&quot;&gt;
&lt;div style=&quot;margin-left: 0px;&quot;&gt;
&lt;a href=&quot;http://www.gplus.to/marcelpatek&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s1600/logo620a.png&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style=&quot;left: 670px; margin: 0; position: absolute; top: 5px;&quot;&gt;
&lt;a href=&quot;http://www.twitter.com/mpatek_&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIG0gR0qQmaguSfQg4rJWY3bo383vhmi4FIb7WgEg-wpWEIBsb2epFvgijFxfwd-BkDooNr8E6ON1dk5W54tTa9k1MDo4pHIm3DAyYf2nImO0QQLnK3mlUWjFGS4gonXoDln1V8uv5M4U/s1600/Twitter-Icon-Transparent.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJBjzAk0K4MxAIquBkjOMz8cADqMUuTKU52M7mV-BrCiRXO8FS3rh84CrtNOAXqeEm3TY84zeUboYMaaEEE0hBJczVDTOmR6An4r0-A2_s2eWk70Wyf2aQIHnvS2CrRXLqnAwXCpx4UMA/s1600/dog_orbitals1_200.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJBjzAk0K4MxAIquBkjOMz8cADqMUuTKU52M7mV-BrCiRXO8FS3rh84CrtNOAXqeEm3TY84zeUboYMaaEEE0hBJczVDTOmR6An4r0-A2_s2eWk70Wyf2aQIHnvS2CrRXLqnAwXCpx4UMA/s1600/dog_orbitals1_200.jpg&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;

&lt;div&gt;
&lt;span class=&quot;indent&quot;&gt;Some&lt;/span&gt; of the most important information about chemistry can be obtained from solutions of the Schrödinger equation. It is through the use of quantum mechanics that we are able to arrive to solutions that can predict properties of molecules with a high level of accuracy. While there are many excellent teachers, books, and&amp;nbsp;lectures&amp;nbsp;describing the fundamental theory of quantum mechanics (QM), it is the interpretation&amp;nbsp;and&amp;nbsp;practicality&amp;nbsp;of many&amp;nbsp;existing&amp;nbsp;QM schemes that chemists find&amp;nbsp;difficult&amp;nbsp;to translate into their everyday observations and understanding. By solving the Schrodinger equation one obtains&amp;nbsp;&quot;electronic energy&quot; for a specific spatial and spin state of electron, called molecular orbital. As an exact solution of&amp;nbsp;Schrödinger equation has only been achieved for one-electron system (hydrogen),&amp;nbsp;&amp;nbsp;there are many computational techniques developed that approximate the solution for&amp;nbsp;multiple-electron system.&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;clear: both&quot;&gt;&lt;/div&gt;
&lt;span class=&quot;indent&quot;&gt;To&lt;/span&gt; understand properties and&amp;nbsp;reactivity&amp;nbsp;of organic compounds, chemists have to rely on concepts such as, chemical bond, lone electron pair, conjugation, charges,&amp;nbsp;aromaticity, and other properties, which are often difficult to predict or quantify. By&amp;nbsp;successfully&amp;nbsp;applying those understandings to molecular structures, more complex properties or concepts including anomeric effect, rotational&amp;nbsp;barriers, hyperconjugation, resonance, and basicity can be described and predicted.&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: large;&quot;&gt;Molecular Orbitals:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;The&lt;/span&gt; most commonly used technique to approximately&amp;nbsp;solve the Schrödinger
&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;10ba5c099dd6c739280e40def3c202bbeeab8573&quot; grtype=&quot;null&quot; id=&quot;GRmark_10ba5c099dd6c739280e40def3c202bbeeab8573_equation:0&quot;&gt;equation&lt;/span&gt; is called a&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Hartree%E2%80%93Fock_method&quot; target=&quot;_blank&quot;&gt;Hartree-Fock method&lt;/a&gt; (HF), which&lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;decomposes many-electron wavefunction&amp;nbsp;into a combination of molecular orbitals&amp;nbsp;that are normalized&amp;nbsp;and
&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;63d86df9bbd6f512ba18f91d0cb76ee80ac73958&quot; grtype=&quot;null&quot; id=&quot;GRmark_63d86df9bbd6f512ba18f91d0cb76ee80ac73958_orthogonal:0&quot;&gt;orthogonal&lt;/span&gt;. Molecular orbitals are then expanded in terms of atomic orbitals as &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;47246a2e2f15229d535057af812c2a070b45d69d&quot; grtype=&quot;null&quot; id=&quot;GRmark_47246a2e2f15229d535057af812c2a070b45d69d_linear combination:0&quot;&gt;linear combination&lt;/span&gt; of atomic orbitals (LCAO). Conceptually different, but similar in mathematical formalism is Density functional theory (DFT), which has evolved rather recently from the &lt;a href=&quot;http://en.wikipedia.org/wiki/Density_functional_theory&quot; target=&quot;_blank&quot;&gt;Hohenberg and Kohn theorem&lt;/a&gt;, determines the energy of a molecule from the electron density instead of a &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;96a3112e4e7b83c79173d32d90bc581f4204c09f&quot; grtype=&quot;null&quot; id=&quot;GRmark_96a3112e4e7b83c79173d32d90bc581f4204c09f_wavefunction:0&quot;&gt;wavefunction&lt;/span&gt;.&amp;nbsp;In
&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;19fed4e47e408fdb758fc09158b578aac60d8709&quot; grtype=&quot;null&quot; id=&quot;GRmark_19fed4e47e408fdb758fc09158b578aac60d8709_the:0&quot;&gt;the&lt;/span&gt; HF analogy, a determinant of &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;19fed4e47e408fdb758fc09158b578aac60d8709&quot; grtype=&quot;null&quot; id=&quot;GRmark_19fed4e47e408fdb758fc09158b578aac60d8709_Kohn:1&quot;&gt;Kohn&lt;/span&gt;-Scham (K-S) &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;19fed4e47e408fdb758fc09158b578aac60d8709&quot; grtype=&quot;null&quot; id=&quot;GRmark_19fed4e47e408fdb758fc09158b578aac60d8709_orbitals:2&quot;&gt;orbitals&lt;/span&gt; is formed and the electron density is used to calculate &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;19fed4e47e408fdb758fc09158b578aac60d8709&quot; grtype=&quot;null&quot; id=&quot;GRmark_19fed4e47e408fdb758fc09158b578aac60d8709_energy:3&quot;&gt;energy&lt;/span&gt;. While there has been some debate over the interpretation of K-S &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;54e35d9923671d6866e8b1c685ce0912d53bc205&quot; grtype=&quot;null&quot; id=&quot;GRmark_54e35d9923671d6866e8b1c685ce0912d53bc205_orbitals:0&quot;&gt;orbitals&lt;/span&gt; (being a pure mathematical construct used to re-construct the density), their shapes tend to be remarkably similar to canonical HF MOs. Today, DFT formalism including the K-S &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;7d9abfea3aee4990fa2fda2b55ea43b2bbddb7c8&quot; grtype=&quot;null&quot; id=&quot;GRmark_7d9abfea3aee4990fa2fda2b55ea43b2bbddb7c8_orbitals:0&quot;&gt;orbitals&lt;/span&gt; are frequently used in qualitative analysis of chemical properties.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;Although&lt;/span&gt; &quot;classical&quot; Hartree-Fock and Kohn-Sham &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;c3ddab177f07c7c13857ded98fae925f13ccb4ed&quot; grtype=&quot;null&quot; id=&quot;GRmark_c3ddab177f07c7c13857ded98fae925f13ccb4ed_orbitals:0&quot;&gt;orbitals&lt;/span&gt; are, by definition, the best possible for a single-configuration &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;c3ddab177f07c7c13857ded98fae925f13ccb4ed&quot; grtype=&quot;null&quot; id=&quot;GRmark_c3ddab177f07c7c13857ded98fae925f13ccb4ed_wavefunction:1&quot;&gt;wavefunction&lt;/span&gt; or electron density, respectively, there is even a &quot;better&quot; set of &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;c3ddab177f07c7c13857ded98fae925f13ccb4ed&quot; grtype=&quot;null&quot; id=&quot;GRmark_c3ddab177f07c7c13857ded98fae925f13ccb4ed_orbitals:2&quot;&gt;orbitals&lt;/span&gt;, called &quot;natural&quot; &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;c3ddab177f07c7c13857ded98fae925f13ccb4ed&quot; grtype=&quot;null&quot; id=&quot;GRmark_c3ddab177f07c7c13857ded98fae925f13ccb4ed_orbitals:3&quot;&gt;orbitals&lt;/span&gt;, to describe the correlated electron density. And this is the point, where the concept of &lt;a href=&quot;http://www.chem.wisc.edu/~nbo5/&quot; target=&quot;_blank&quot;&gt;Natural Bond Orbitals&lt;/a&gt; comes in.&amp;nbsp;&lt;span style=&quot;font-family: inherit;&quot;&gt;NBO localization algorithm permits the &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;005bcdf3e6ac87ba88988467cff9cb313a93258c&quot; grtype=&quot;null&quot; id=&quot;GRmark_005bcdf3e6ac87ba88988467cff9cb313a93258c_form:0&quot;&gt;form&lt;/span&gt; of the BOs to be&amp;nbsp;fully optimized with respect to a maximum-occupancy&amp;nbsp;criterion based solely on the first-order reduced density&amp;nbsp;matrix. In NBO analysis, the input basis set is transformed successively into various&amp;nbsp;localized basis sets, first to natural atomic orbitals and then to hybrid &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;99c70a6320cfcde2ef217526fd5edd145d445b07&quot; grtype=&quot;null&quot; id=&quot;GRmark_99c70a6320cfcde2ef217526fd5edd145d445b07_orbitals:0&quot;&gt;orbitals&lt;/span&gt;&amp;nbsp;which are used to form &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;99c70a6320cfcde2ef217526fd5edd145d445b07&quot; grtype=&quot;null&quot; id=&quot;GRmark_99c70a6320cfcde2ef217526fd5edd145d445b07_bond:1&quot;&gt;bond&lt;/span&gt; &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;99c70a6320cfcde2ef217526fd5edd145d445b07&quot; grtype=&quot;null&quot; id=&quot;GRmark_99c70a6320cfcde2ef217526fd5edd145d445b07_orbitals:2&quot;&gt;orbitals&lt;/span&gt; (NBOs).&amp;nbsp;Finally the NBOs are transformed into localized MOs.&amp;nbsp;The NBO analysis can illuminate interesting chemical aspects of the bonding and&amp;nbsp;allow explanations of the various chemistry phenomena, such as, reactivity, &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;17c3edae642489b320cfe7399cf78e7b334d2f27&quot; grtype=&quot;null&quot; id=&quot;GRmark_17c3edae642489b320cfe7399cf78e7b334d2f27_stereoselectivity:0&quot;&gt;stereoselectivity&lt;/span&gt;, basicity, and intramolecular and intermolecular energy barriers, all based on&amp;nbsp;orbital interaction concepts. Most importantly, from the chemist&#39;s perspective, &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;c595390c48280b607f6c35d581d83dcd9768ad76&quot; grtype=&quot;null&quot; id=&quot;GRmark_c595390c48280b607f6c35d581d83dcd9768ad76_NBO analysis:0&quot;&gt;NBO analysis&lt;/span&gt; provides an orbital picture that is as close as possible to a classical &quot;textbook&quot; Lewis structure for a molecule.&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: large;&quot;&gt;NBO methodology:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;indent&quot;&gt;The&lt;/span&gt; NBO analysis&amp;nbsp;involves sequential transformation of nonorthogonal atomic&amp;nbsp;orbitals (AOs) to the complete and &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;8e6a506a3de5b48b928a6e5a53e6c817873ebe3d&quot; grtype=&quot;null&quot; id=&quot;GRmark_8e6a506a3de5b48b928a6e5a53e6c817873ebe3d_orthonormal:0&quot;&gt;orthonormal&lt;/span&gt; sets of “natural”&amp;nbsp;atomic orbitals (NAOs), hybrid &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;8e6a506a3de5b48b928a6e5a53e6c817873ebe3d&quot; grtype=&quot;null&quot; id=&quot;GRmark_8e6a506a3de5b48b928a6e5a53e6c817873ebe3d_orbitals:1&quot;&gt;orbitals&lt;/span&gt; (NHOs), and bond&amp;nbsp;orbital (NBOs). These localized basis sets describe electron&amp;nbsp;density and other properties by the smallest number of &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;8c98b6de55e534fe1f59593023e2570cac8307e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_8c98b6de55e534fe1f59593023e2570cac8307e3_filled:0&quot;&gt;filled&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;8c98b6de55e534fe1f59593023e2570cac8307e3&quot; grtype=&quot;null&quot; id=&quot;GRmark_8c98b6de55e534fe1f59593023e2570cac8307e3_orbitals:1&quot;&gt;orbitals&lt;/span&gt; in the most rapidly convergent fashion. As mentioned earlier, these &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;c08b01639d27749764807db2127dc1cd7b127c66&quot; grtype=&quot;null&quot; id=&quot;GRmark_c08b01639d27749764807db2127dc1cd7b127c66_orbital:0&quot;&gt;orbital&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;c08b01639d27749764807db2127dc1cd7b127c66&quot; grtype=&quot;null&quot; id=&quot;GRmark_c08b01639d27749764807db2127dc1cd7b127c66_are:1&quot;&gt;are&lt;/span&gt; closely related to the localized orbitals (bonds and lone pairs)
&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;9577ce685077d3bbc669295f297f376d2daa20cb&quot; grtype=&quot;null&quot; id=&quot;GRmark_9577ce685077d3bbc669295f297f376d2daa20cb_used:0&quot;&gt;used&lt;/span&gt; by organic chemists. The NBO method was developed by Weinhold and co-authors and it is becoming a powerful&amp;nbsp;and popular method for study of bonding concepts.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;indent&quot;&gt;On&lt;/span&gt; a more technical level, the NBO localization protocol divides NBOs into core, bonding, anti-bonding and ‘‘Rydberg’’(remaining) &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;f426ba9bac806f3ae4aa18f2e905554057adea11&quot; grtype=&quot;null&quot; id=&quot;GRmark_f426ba9bac806f3ae4aa18f2e905554057adea11_orbitals:0&quot;&gt;orbitals&lt;/span&gt;. The core and bonding &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;95a4ba9ae8e1c38be10216e7121662e3e5b41c00&quot; grtype=&quot;null&quot; id=&quot;GRmark_95a4ba9ae8e1c38be10216e7121662e3e5b41c00_orbitals:0&quot;&gt;orbitals&lt;/span&gt; describe&amp;nbsp;the strictly localized Lewis structure of a molecule.&amp;nbsp;The sequence goes through&amp;nbsp;various localized basis sets in the following order:&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;
&lt;b&gt;AOs-&amp;gt; NAOs -&amp;gt; NHOs -&amp;gt; NBOs -&amp;gt; NLMOs -&amp;gt; CMOs&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Examples of properties that can be calculated &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;20b40bde1b8c44133b50e38e844025805db325f9&quot; grtype=&quot;null&quot; id=&quot;GRmark_20b40bde1b8c44133b50e38e844025805db325f9_in:0&quot;&gt;in&lt;/span&gt; NBO basis include:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Dipole, &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;7dafd33fa8abde2b30da97f438ce327580edfec9&quot; grtype=&quot;null&quot; id=&quot;GRmark_7dafd33fa8abde2b30da97f438ce327580edfec9_polarizability:0&quot;&gt;polarizability&lt;/span&gt;, atomic charges,&lt;/li&gt;
&lt;li&gt;Bonding-anti-bonding orbital interactions,&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Resonance structures                                    (second order perturbation theory),&lt;/li&gt;
&lt;li&gt;Bond orders,&lt;/li&gt;
&lt;li&gt;Energy decomposition,&lt;/li&gt;
&lt;li&gt;Chemical shift, J-couplings,&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;fef00aaaf69eeb13ad30b3a536d819725e9e4f6b&quot; grtype=&quot;null&quot; id=&quot;GRmark_fef00aaaf69eeb13ad30b3a536d819725e9e4f6b_Steric:0&quot;&gt;Steric&lt;/span&gt; analysis,&lt;/li&gt;
&lt;li&gt;Canonical MO analysis.&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: large;&quot;&gt;Differences between &amp;nbsp;canonical and NBO MOs:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Canonical MOs (CMOs) are &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;9cbbe04ae9b7dadc30f92f7b504e2490443b1cde&quot; grtype=&quot;null&quot; id=&quot;GRmark_9cbbe04ae9b7dadc30f92f7b504e2490443b1cde_delocalized:0&quot;&gt;delocalized&lt;/span&gt; over the whole molecule,&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;They usually bear no resemblance to localized &lt;i&gt;s&lt;/i&gt; and &lt;i&gt;p &lt;/i&gt;bonds, or &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;4ea9582009fc8499275b91557fbb7f800834f029&quot; grtype=&quot;null&quot; id=&quot;GRmark_4ea9582009fc8499275b91557fbb7f800834f029_to:0&quot;&gt;to&lt;/span&gt; lone pairs, so they cannot be used to support familiar chemical reasoning&amp;nbsp;&lt;/li&gt;
&lt;li&gt;On the path to NBOs, an ordinary MO calculation is done at a high enough level to reproduce measured geometry or energies (&lt;span class=&quot;GRcorrect&quot; grphrase=&quot;cf086683fa10894d63b9440587e1198f5871409f&quot; grtype=&quot;null&quot; id=&quot;GRmark_cf086683fa10894d63b9440587e1198f5871409f_delocalized:0&quot;&gt;delocalized&lt;/span&gt; MOs are obtained),&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Then the atomic basis set is transformed into an equal number of natural atomic orbitals (NAOs), and the MOs into an equal number of natural bond &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;83b7f9b48d098bd552f4dbaacf15f13f2fdae005&quot; grtype=&quot;null&quot; id=&quot;GRmark_83b7f9b48d098bd552f4dbaacf15f13f2fdae005_orbitals:0&quot;&gt;orbitals&lt;/span&gt; (NBOs)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;These additional transformations are cheap in computer time&lt;/li&gt;
&lt;li&gt;More intuitive NBOs are &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;a822304f6223e0a410aa9efbd35116ec50825b30&quot; grtype=&quot;null&quot; id=&quot;GRmark_a822304f6223e0a410aa9efbd35116ec50825b30_result:0&quot;&gt;result&lt;/span&gt; of those mathematical transformations&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;indent&quot;&gt;While&lt;/span&gt; analysis of the NBO results is instructive and informative, one usually wishes to visualize newly generated NBOs. In&amp;nbsp;&lt;a href=&quot;http://chemgplus.blogspot.com/2012/09/visualizing-nbos-in-jmol.html&quot;&gt;the next post&lt;/a&gt;, I will describe the use of Jmol for visualization of NBOs.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;linedivider90&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6; font-size: large;&quot;&gt;References:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;F. Weinhold, &quot;Natural Bond Orbital Methods&quot; in, Encyclopedia of Computational Chemistry, P. &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;efa00315a1c01460e3944824c168a33a8244a871&quot; grtype=&quot;null&quot; id=&quot;GRmark_efa00315a1c01460e3944824c168a33a8244a871_v.R.:0&quot;&gt;v.R.&lt;/span&gt; Schleyer, N. L. &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;d8e97fa76f78bf9c55b83ba4b52198991d786a40&quot; grtype=&quot;null&quot; id=&quot;GRmark_d8e97fa76f78bf9c55b83ba4b52198991d786a40_Allinger:0&quot;&gt;Allinger&lt;/span&gt;, T. Clark, J. &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;c622bd0df2e888017c41d4175ff025bf62334661&quot; grtype=&quot;null&quot; id=&quot;GRmark_c622bd0df2e888017c41d4175ff025bf62334661_Gasteiger:0&quot;&gt;Gasteiger&lt;/span&gt;.,&amp;nbsp;P. A. Kollman, H. F. Schaefer III, P. R. Schreiner (Eds.), (John Wiley &amp;amp; Sons, Chichester, UK, 1998), Vol. 3, pp. 1792-1811.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;F. Weinhold and C. R. Landis, Valency and Bonding: A Natural Bond Orbital Donor-Acceptor Perspective (Cambridge University Press, Sept 2005).&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;A. E. Reed, L. A. Curtiss, and F. Weinhold, Chem. Rev. 88, 899-926 (1988).&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;L. Pauling, &quot;The Nature of the Chemical Bond&quot;, (Cornell University Press, 3rd &lt;span class=&quot;GRcorrect&quot; grphrase=&quot;a3583f84698f1ff75d14b168d483cd9702f0f883&quot; grtype=&quot;null&quot; id=&quot;GRmark_a3583f84698f1ff75d14b168d483cd9702f0f883_ed:0&quot;&gt;ed&lt;/span&gt;., 1960)&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;linedivider100&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>http://chemgplus.blogspot.com/2012/09/natural-bond-orbitals-nbo.html</link><author>noreply@blogger.com (Chemgplus)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8aBruW7in9ZokMFtTcK6DrZZq6fp-uRiC_sb43eGqZAvgGAy8ZG8raOtO4o3WYADcBCnBhY5i5TnYeYwqtUsLsgcVOHT1Zsp7qyaXSvTAtjIeDCN3C_s1U7NAQay5D19PRa5azj3BBk/s72-c/logo620a.png" height="72" width="72"/><thr:total>2</thr:total><georss:featurename>Tucson, AZ, USA</georss:featurename><georss:point>32.2217429 -110.926479</georss:point><georss:box>32.0068154 -111.242336 32.436670400000004 -110.610622</georss:box></item></channel></rss>