<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Loglet in the Clouds</title>
	<atom:link href="http://lizardinthesun.com/cloudblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://lizardinthesun.com/cloudblog</link>
	<description>S-curves are Everywhere</description>
	<pubDate>Mon, 01 Feb 2010 18:23:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>iPhone app</title>
		<link>http://lizardinthesun.com/cloudblog/2010/02/iphone-app/</link>
		<comments>http://lizardinthesun.com/cloudblog/2010/02/iphone-app/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 18:09:00 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=232</guid>
		<description><![CDATA[Dr. Modis created an iPhone app for s-curve analysis.  Cool. 
My javascript logletlab 3.0 app will probably work great on the iPad (it used to crash the iPhone). And its free&#8230; 

]]></description>
			<content:encoded><![CDATA[<p>Dr. Modis created an <a href="http://www.appolicious.com/apps/147715-the-s_curve-theodore-modis">iPhone app</a> for s-curve analysis.  Cool. </p>
<p>My javascript logletlab 3.0 app will probably work great on the iPad (it used to crash the iPhone). And its free&#8230; </p>
<p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2010/02/iphone-app/feed/</wfw:commentRss>
		</item>
		<item>
		<title>four parameter logistic (first pulse only)</title>
		<link>http://lizardinthesun.com/cloudblog/2009/07/four-parameter-logistic-first-pulse-only/</link>
		<comments>http://lizardinthesun.com/cloudblog/2009/07/four-parameter-logistic-first-pulse-only/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 06:25:09 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=229</guid>
		<description><![CDATA[Per a suggestion of Dr. Modis, The first logistic pulse is now a four parameter logistic:

where d is a initial displacement value. 
The default constraints on d are zero and zero, so the 
default is to fit a three parameter logistic for the first pulse
(i.e. the guessing algorithm will not attempt to guess a displacement)
]]></description>
			<content:encoded><![CDATA[<p>Per a suggestion of <a href="http://www.growth-dynamics.com/">Dr. Modis</a>, The first logistic pulse is now a four parameter logistic:</p>
<pre><img src='/cloudblog/wp-content/plugins/latexrender/pictures/dcdd23d238adef386a305252144c853d_21.28014pt.gif' title='&#10;\displaystyle p(t) = \frac{\kappa}{ 1 + \exp\left( \frac{\ln(81)}{-\alpha} (t - \beta) \right)} + d' alt='&#10;\displaystyle p(t) = \frac{\kappa}{ 1 + \exp\left( \frac{\ln(81)}{-\alpha} (t - \beta) \right)} + d'  style="vertical-align:-21.28014pt;" ></pre>
<p>where d is a initial displacement value. <br />
The default constraints on d are zero and zero, so the <br />
default is to fit a three parameter logistic for the first pulse<br />
(i.e. the guessing algorithm will not attempt to guess a displacement)</p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2009/07/four-parameter-logistic-first-pulse-only/feed/</wfw:commentRss>
		</item>
		<item>
		<title>documentation</title>
		<link>http://lizardinthesun.com/cloudblog/2009/07/documentation/</link>
		<comments>http://lizardinthesun.com/cloudblog/2009/07/documentation/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 18:27:00 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=216</guid>
		<description><![CDATA[I have written some preliminary and hopefully helpful documentation. Click &#8220;Documentation&#8221; in the tab bar above this post.
Comments appreciated. 
Please send email to p e r r i n m e y e r _at_ y a h o o _dot_ c o m 
]]></description>
			<content:encoded><![CDATA[<p>I have written some preliminary and hopefully helpful documentation. Click &#8220;Documentation&#8221; in the tab bar above this post.</p>
<p>Comments appreciated. <br />
Please send email to <tt>p e r r i n m e y e r _at_ y a h o o _dot_ c o m </tt></p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2009/07/documentation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>copy and paste spreadsheet data!</title>
		<link>http://lizardinthesun.com/cloudblog/2009/07/copy-and-paste-spreadsheet-data/</link>
		<comments>http://lizardinthesun.com/cloudblog/2009/07/copy-and-paste-spreadsheet-data/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 07:25:37 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=187</guid>
		<description><![CDATA[I figured out the javascript to allow a user to copy data from two columns of a spreadsheet and paste it into the application.  I have tested it on google chrome (fastest! - my recommendation ), safari (almost as fast, and firefox (about half the speed). 

For this reason I consider the app slightly [...]]]></description>
			<content:encoded><![CDATA[<p>I figured out the javascript to allow a user to copy data from two columns of a spreadsheet and paste it into the application.  I have tested it on google chrome (fastest! - my recommendation ), safari (almost as fast, and firefox (about half the speed). </p>
<p>
For this reason I consider the app slightly useful, and so I have decided to call it &#8220;beta.&#8221;.  Click on the &#8220;Try LogletLab 3.0&#8243; tab on the top of this page.</p>
<p>
I thank the coders at <a href="http://stackoverflow.com/questions/1095131/paste-excel-data-into-html-table">http://stackoverflow.com</a> for their helpful answers. </p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2009/07/copy-and-paste-spreadsheet-data/feed/</wfw:commentRss>
		</item>
		<item>
		<title>google chrome for mac and linux</title>
		<link>http://lizardinthesun.com/cloudblog/2009/06/google-chrome-for-mac-and-linux/</link>
		<comments>http://lizardinthesun.com/cloudblog/2009/06/google-chrome-for-mac-and-linux/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 15:57:54 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/2009/06/google-chrome-for-mac-and-linux/</guid>
		<description><![CDATA[google has (finally) released an alpha version of their browser for mac and linux.  And, as expected, it runs the alpha logletlab javascript very fast, more than double the speed of firefox (thanks to the v8 javascript engine). So I can now start on making a google spreadsheet logletlab 3 app.  cool.
]]></description>
			<content:encoded><![CDATA[<p>google has (finally) released an alpha version of their browser for mac and linux.  And, as expected, it runs the alpha logletlab javascript very fast, more than double the speed of firefox (thanks to the v8 javascript engine). So I can now start on making a google spreadsheet logletlab 3 app.  cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2009/06/google-chrome-for-mac-and-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bug in alpha logletlab</title>
		<link>http://lizardinthesun.com/cloudblog/2009/02/bug-in-alpha-logletlab/</link>
		<comments>http://lizardinthesun.com/cloudblog/2009/02/bug-in-alpha-logletlab/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 20:05:53 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=171</guid>
		<description><![CDATA[My first bug report!! thanks to  jhelm! (user data not working). Fixed too.
]]></description>
			<content:encoded><![CDATA[<p>My first bug report!! thanks to  <a href="http://jhelmassociates.com/">jhelm</a>! (user data not working). Fixed too.</p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2009/02/bug-in-alpha-logletlab/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fluid Blue and LaTeX</title>
		<link>http://lizardinthesun.com/cloudblog/2008/12/fluid-blue-and-latex/</link>
		<comments>http://lizardinthesun.com/cloudblog/2008/12/fluid-blue-and-latex/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 19:37:54 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=154</guid>
		<description><![CDATA[I found a nice minimalist WordPress theme, fluid-blue, and I changed the defaults to make it even more minimal.  I think that I have latexrender set up so that it is at least readable.  For example, in our formulation of the Logistic growth model, we use  to represent the growth rate parameter, but it [...]]]></description>
			<content:encoded><![CDATA[<p>I found a nice minimalist WordPress theme, <a href="http://srinig.com/wordpress/themes/fluid-blue/">fluid-blue</a>, and I changed the defaults to make it even more minimal.  I think that I have latexrender set up so that it is at least readable.  For example, in our formulation of the Logistic growth model, we use <img src='/cloudblog/wp-content/plugins/latexrender/pictures/7b7f9dbfea05c83784f8b85149852f08_1.0pt.gif' title='\alpha' alt='\alpha'  style="vertical-align:-1.0pt;" > to represent the growth rate parameter, but it has a different scale than usual.</p>
<p> And now I can write LaTeX equations directly in the WordPress editor, which is cool. Here is the single Logistic model again </p>
<p>
<pre><img src='/cloudblog/wp-content/plugins/latexrender/pictures/14e501bd455e47464c0c2263a55699f1_21.28014pt.gif' title='&#10;\displaystyle p(t) = \frac{\kappa}{ 1 + \exp\left( \frac{\ln(81)}{-\alpha} (t - \beta) \right)} ' alt='&#10;\displaystyle p(t) = \frac{\kappa}{ 1 + \exp\left( \frac{\ln(81)}{-\alpha} (t - \beta) \right)} '  style="vertical-align:-21.28014pt;" ></pre>
</p>
<p>Since Fluid Blue is a GPL licensed theme, here is an <a href="/cloudblog/wp-content/uploads/fluid-blue-perrin.tgz">archive</a> of the (minimal) changes I made.</p>
<p>Latexrender is useful, since it has AMS LaTeX font support, for example I can write things like <img src='/cloudblog/wp-content/plugins/latexrender/pictures/da7b98a2e9e4d42a40451108a1fcfc8f_1.46916pt.gif' title=' z \in \mathbb{C}' alt=' z \in \mathbb{C}'  style="vertical-align:-1.46916pt;" >, and <img src='/cloudblog/wp-content/plugins/latexrender/pictures/b0acf411d836d07f40845565218bf08a_1.46916pt.gif' title=' x \in \mathbb{R}^3' alt=' x \in \mathbb{R}^3'  style="vertical-align:-1.46916pt;" >, which is cool.</p>
<h6>Its still a shame that in 21st century its still so hard to write decently typeset mathematics, but at least thanks to the GNU free software movement, Donald Knuth&#8217;s open source Tex, and php things at least look reasonable.  It&#8217;s a shame that MathML development has been so poor and slow. Hopefully, with the adoption of UTF-8 (Unicode) as the standard encoding scheme, and the open source Unicode mathematical font project <a href="http://www.stixfonts.org/">STIX</a> about finished, there is a reasonable chance that LaTeX will be able to typeset UTF-8 Unicode fonts + html5 and finally math on the web will look as good as PDF. </h6></p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2008/12/fluid-blue-and-latex/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress and LaTeX and (mt) (gs)</title>
		<link>http://lizardinthesun.com/cloudblog/2008/12/wordpress-and-latex/</link>
		<comments>http://lizardinthesun.com/cloudblog/2008/12/wordpress-and-latex/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 08:24:16 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=81</guid>
		<description><![CDATA[After a lot of hacking, I managed to get a LaTeX plugin for Wordpress working on (mt) (gs).

which was entered by:
 square bracket tex \frac{\kappa}{ 1 + \exp(\alpha \, t - \beta)} 
I&#8217;m not thrilled with the rendering quality, but I can probably tweak that now that I have everything working&#8230;
First, (mt) (gs) has latex [...]]]></description>
			<content:encoded><![CDATA[<p>After a lot of hacking, I managed to get a LaTeX plugin for Wordpress working on (mt) (gs).</p>
<p><img src='/cloudblog/wp-content/plugins/latexrender/pictures/25e2a4cc3e4d8d79f3c64cae87657c50_13.12012pt.png' title=' p(t) = \sum_{i} \frac{\kappa_i}{ 1 + \exp \left( \frac{\log(81)}{-\alpha_i} \, (t -\beta_i)\right)} ' alt=' p(t) = \sum_{i} \frac{\kappa_i}{ 1 + \exp \left( \frac{\log(81)}{-\alpha_i} \, (t -\beta_i)\right)} '  style="vertical-align:-13.12012pt;" ></p>
<p>which was entered by:<br />
<tt> square bracket tex \frac{\kappa}{ 1 + \exp(\alpha \, t - \beta)} </tt></p>
<p>I&#8217;m not thrilled with the rendering quality, but I can probably tweak that now that I have everything working&#8230;</p>
<p>First, <a href="http://mediatemple.net">(mt) (gs)</a> has latex installed, but misconfigured. Tech support was unwilling to help, so I figured out how to download the new TeX user group <a href="http://tug.org/texlive/">TeXLive</a> (strange name) unix installer, and install it as a user through ssh.  Fun.  But it actually worked. Then, this site <a href="http://fugato.net/2007/01/20/latex-in-wordpress/"><tt>http://fugato.net/2007/01/20/latex-in-wordpress/</tt></a> and <a href="http://sixthform.info/steve/wordpress/"><tt>http://sixthform.info/steve/wordpress/</tt></a> led the way for wordpress and php.  Cool when it all works!!!.</p>
<p>Test of 2nd equation: <img src='/cloudblog/wp-content/plugins/latexrender/pictures/2a63b33c4203989813b54aea4682b098_5.13809pt.png' title=' F(t) = \frac{p(t)}{\kappa} ' alt=' F(t) = \frac{p(t)}{\kappa} '  style="vertical-align:-5.13809pt;" > latexrender does not appear to work with wordpress 2.7.x RC&#8230;</p>
<p>how about AMS math fonts: <img src='/cloudblog/wp-content/plugins/latexrender/pictures/1d3bee578ad84ffe3cce91b2ee57ef68_3.33331pt.png' title=' x \in \mathbb{R}^3, \  \text{and} \  z \in \mathbb{C}' alt=' x \in \mathbb{R}^3, \  \text{and} \  z \in \mathbb{C}'  style="vertical-align:-3.33331pt;" > cool!</p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2008/12/wordpress-and-latex/feed/</wfw:commentRss>
		</item>
		<item>
		<title>alpha release</title>
		<link>http://lizardinthesun.com/cloudblog/2008/11/alpha/</link>
		<comments>http://lizardinthesun.com/cloudblog/2008/11/alpha/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 00:16:10 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=62</guid>
		<description><![CDATA[
http://lizardinthesun.com/loglet/loglet3.html
is an alpha release of a javascript version of Loglet Lab, which fits S-curves of the form:

For a demo, click the buttons labeled &#8220;step 1&#8243;, &#8220;step 2&#8243;, and &#8220;step 3&#8243; (in that order). That will load the &#8220;classic&#8221; dataset on the growth of a sunflower, and fit a single S-shaped logistic to it.  The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lizardinthesun.com/loglet/loglet3.html" target="_blank"><br />
<tt>http://lizardinthesun.com/loglet/loglet3.html</tt></a></p>
<p>is an alpha release of a javascript version of Loglet Lab, which fits S-curves of the form:</p>
<p><a href="/loglet/logletpng.png" target="_blank"><img src="/loglet/logletpng.png" alt="" /></a><br />
For a demo, click the buttons labeled &#8220;step 1&#8243;, &#8220;step 2&#8243;, and &#8220;step 3&#8243; (in that order). That will load the &#8220;classic&#8221; dataset on the growth of a sunflower, and fit a single S-shaped logistic to it.  The data and plots all load on one page, so you have to keep scrolling down.  There are other datasets pre-loaded.  The data is &#8220;live&#8221; once loaded, so you can change values and click &#8220;step 3&#8243; (fit) with new values.</p>
<p>This &#8220;app&#8221; is mainly to test browser support and work on the algorithms and plotting, with the eventual goal of turning this into a google spreadsheet widget, but it is actually usable on its own.</p>
<p>I am using a &#8220;new&#8221; constrained regression algorithm that is inefficient (but robust&#8230;). So you really <strong>need a cutting edge browser</strong> (i.e. google chrome, webkit nightly build, or Firefox 3.1 beta with JIT enabled).  I don&#8217;t use Microsoft IE, so it probably won&#8217;t work on IE.  I plan on explaining the regression algorithm in a later post.</p>
<p><a href="/loglet/FP_Clarification.pdf">This PDF </a> explains a bit about the logistic formulation used and how we do our plots.</p>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2008/11/alpha/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Matlab, jQuery and JSON</title>
		<link>http://lizardinthesun.com/cloudblog/2008/11/matlab-jquery-and-json/</link>
		<comments>http://lizardinthesun.com/cloudblog/2008/11/matlab-jquery-and-json/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 23:11:26 +0000</pubDate>
		<dc:creator>perrin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://lizardinthesun.com/cloudblog/?p=16</guid>
		<description><![CDATA[I do all my numerical algorithm development in Matlab, so I needed a way to easily get results from Matlab into javascript.  Here is a (a pretty cool if I don&#8217;t say so myself) matlab code that creates a JSON file from a matlab data structure.

data.x = rand(10,1);
data.y = rand(10,1)

dataname = 'data' 

fid = [...]]]></description>
			<content:encoded><![CDATA[<p>I do all my numerical algorithm development in Matlab, so I needed a way to easily get results from Matlab into javascript.  Here is a (a pretty cool if I don&#8217;t say so myself) matlab code that creates a <a href="http://json.org">JSON</a> file from a matlab data structure.</p>
<pre><code class="language=matlab">
data.x = rand(10,1);
data.y = rand(10,1)

dataname = 'data' 

fid = fopen('matlab.json','w');

numdata = max(size(fieldnames(eval(dataname))))

fdata = char(fieldnames(eval(dataname)));

fprintf(fid,'{ "%s" : {\n ',dataname)
for dataiter=1:numdata,
  fprintf(fid,' "%s" : [ \n',fdata(dataiter));
  stmp = sprintf('%s.%s',dataname,fdata(dataiter));
  for i=1:(max(length(eval(stmp))))-1,
    stmp = sprintf('%s.%s(%i)',dataname,fdata(dataiter),i);
    fprintf(fid,'%1.10e , \n',eval(stmp));
  end
  stmp2 =  sprintf('%s.%s',dataname,fdata(dataiter));;
  stmp = sprintf('%s.%s(%i)',dataname,fdata(dataiter),(max(length(eval(stmp2)))));
  fprintf(fid,'%1.10e  \n',eval(stmp));

  if dataiter == numdata ,
    fprintf(fid,'] \n');
  else
    fprintf(fid,'], \n');
  end

end

fprintf(fid,'} } \n');

</code></pre>
<p>And then reading it in and parsing it with <a href="http://jQuery.org">jQuery</a> is really simple.</p>
<pre><code class="language-javascript">
 var x = [];
 var y = [];
 $.ajaxSetup({ async: false});
  $.getJSON("matlab.json", function (json)
            {
              x = json.data.x.slice(0);
              y = json.data.y.slice(0);
            }
            );
  </code></pre>
]]></content:encoded>
			<wfw:commentRss>http://lizardinthesun.com/cloudblog/2008/11/matlab-jquery-and-json/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
