User:Carl Boettiger/Notebook/Comparative Phylogenetics/2010/09/01

From OpenWetWare
Jump to navigationJump to search
Owwnotebook icon.png Comparative Phylogenetics Report.pngMain project page
Resultset previous.pngPrevious entry      Next entryResultset next.png

Entry title

Automated scripts for image uploads. Tag-based generation of a slideshow:

<html> <script src=""></script> </html>

Running the script:

 ./flickr_slideshow *.png

Creates the html code that can be embedded into the notebook for a slideshow those images. Images only get the date-time tag as a unique id.

<html> <object width="400" height="300"> <param name="flashvars" value="offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fcboettig%2Ftags%2F20100901141512%2Fshow%2F&page_show_back_url=%2Fphotos%2Fcboettig%2Ftags%2F20100901141512%2F&user_id=46456847@N08&tags=20100901141512&jump_to=&start_index="></param> <param name="movie" value=""></param> <param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="" allowFullScreen="true" flashvars="offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fcboettig%2Ftags%2F20100901141512%2Fshow%2F&page_show_back_url=%2Fphotos%2Fcboettig%2Ftags%2F20100901141512%2F&user_id=46456847@N08&tags=20100901141512&jump_to=&start_index=" width="400" height="300"></embed></object> </html>

This one uses the mediawiki plugin. More formatting options could be incorporated of course. (Creates the thumbnail images down the right-hand side).

<html> <script src=""></script> </html>

<flickr>4948495209|t</flickr> <flickr>4948495397|t</flickr> <flickr>4948495377|t</flickr> <flickr>4949084108|t</flickr> <flickr>4948495319|t</flickr> <flickr>4949084050|t</flickr> <flickr>4949084018|t</flickr> <flickr>4949084074|t</flickr> <flickr>4948495433|t</flickr>

Good practice/brush up on my regular expressions and bash scripting anyway. Scripts re-upload images each time, even if the image hasn't changed. Makes the photostream confusing but that's only temporary. Could simply add the figures to the version management, might be easier, though doesn't enable things like the slideshow or the social options on a particular figure. Maybe just as well that it's a free account, duplicates whose urls I don't track will be lost to the ether.

Adaptive Dynamics Runs

Above figures correspond to these analytic approximations and coexistence simulations

Now Re-running coexistence simulations on the (-0.2, 0.2) grid and plotting side-by-side with analytics on same parameters; code.