<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Free WHAM Functions</title><link>https://sourceforge.net/p/esbmtools/wiki/Free%2520WHAM%2520Functions/</link><description>Recent changes to Free WHAM Functions</description><atom:link href="https://sourceforge.net/p/esbmtools/wiki/Free%20WHAM%20Functions/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 26 Mar 2014 15:55:14 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/esbmtools/wiki/Free%20WHAM%20Functions/feed" rel="self" type="application/rss+xml"/><item><title>Free WHAM Functions modified by Ramneek</title><link>https://sourceforge.net/p/esbmtools/wiki/Free%2520WHAM%2520Functions/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -10,15 +10,14 @@

        getTQE(os.getcwd() + '/simdata/', 'pdb_code')

-  is used to get a list of the simulation temperatures, the Q values and the
-  energy values for the simulation data.
+  is used to get a list of the simulation temperatures, the Q values and the energy values for the
+  simulation data.

   This is a function of FreeWHAM.py

-→ After this, we define the minimum and maximum temperatures over which the
-  simulation was run and the time step of the simulation (which can be found
-  in the .mdp file used for the simulation). For this example, we ran the
-  simulation from 98 K to 118 K with a timestep of 0.01.
+→ After this, we define the minimum and maximum temperatures over which the simulation was run and the
+  time step of the simulation (which can be found in the .mdp file used for the simulation). For this
+  example, we ran the simulation from 98 K to 118 K with a timestep of 0.01.

 → Next we use the function

@@ -33,8 +32,8 @@
    (2) -heat capacity as function of temperature
    (3) -maximal and minimal Q value in trajectories

-→ Now that we have all the information necessary for freeWHAM, we plot the graph
-  using the following function:
+→ Now that we have all the information necessary for freeWHAM, we plot the graph using the following
+  function:

        plotFree(freeArray, tArray, cv, qmin, qmax)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ramneek</dc:creator><pubDate>Wed, 26 Mar 2014 15:55:14 -0000</pubDate><guid>https://sourceforge.netd4534f368c43325160b58296dc4e1c3723f71a0a</guid></item><item><title>Free WHAM Functions modified by Ramneek</title><link>https://sourceforge.net/p/esbmtools/wiki/Free%2520WHAM%2520Functions/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;﻿This document explains the functions in eSBMTools that were used in this example.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;→ 1 module from eSBMTools was imported into freeWHAM.py:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;            &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;FreeWHAM&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;py&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;→ The function&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;getTQE&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getcwd&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;simdata&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;pdb_code&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;is used to get a list of the simulation temperatures, the Q values and the&lt;br /&gt;
  energy values for the simulation data.&lt;/p&gt;
&lt;p&gt;This is a function of FreeWHAM.py&lt;/p&gt;
&lt;p&gt;→ After this, we define the minimum and maximum temperatures over which the&lt;br /&gt;
  simulation was run and the time step of the simulation (which can be found&lt;br /&gt;
  in the .mdp file used for the simulation). For this example, we ran the&lt;br /&gt;
  simulation from 98 K to 118 K with a timestep of 0.01.&lt;/p&gt;
&lt;p&gt;→ Next we use the function&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;getFreeEnergy&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tList&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;qList&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eList&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tMin&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tMax&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tStep&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tlist&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;qlist&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;elist&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;obtained&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt; &lt;span class="n"&gt;getTQE&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tMin&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tMax&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tStep&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;specified&lt;/span&gt; &lt;span class="n"&gt;earlier&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;to get the following information from the simulation data:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;free&lt;/span&gt; &lt;span class="nx"&gt;energy&lt;/span&gt; &lt;span class="nx"&gt;landscape&lt;/span&gt; &lt;span class="nx"&gt;as&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;temperature&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="nx"&gt;Q&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;heat&lt;/span&gt; &lt;span class="nx"&gt;capacity&lt;/span&gt; &lt;span class="nx"&gt;as&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;temperature&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;maximal&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="nx"&gt;minimal&lt;/span&gt; &lt;span class="nx"&gt;Q&lt;/span&gt; &lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nx"&gt;trajectories&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;→ Now that we have all the information necessary for freeWHAM, we plot the graph&lt;br /&gt;
  using the following function:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;plotFree&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;freeArray&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tArray&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cv&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;qmin&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;qmax&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;    &lt;span class="n"&gt;freeArray&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;tArray&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt;&lt;span class="p"&gt;................(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;and&lt;/span&gt;       &lt;span class="n"&gt;cv&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt;&lt;span class="p"&gt;..................................(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;and&lt;/span&gt;       &lt;span class="n"&gt;qmin&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;qmax&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt;&lt;span class="p"&gt;.......................(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;→ The above three functions are a part of the FreeWHAM module.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Cheers!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ramneek</dc:creator><pubDate>Wed, 19 Mar 2014 15:34:06 -0000</pubDate><guid>https://sourceforge.net6c257ab44fa2c8dbdbcb62236f519aeba211cddb</guid></item></channel></rss>