Sunday, August 9, 2009

Emacs and Sage

I have been unhappy with my current practice of cut and pasting statistical results etc. from MATLAB or Python output into LaTeX for publishing. Changes to code and recalculations lead to an endless possibility for error. So I have been working on using SageTex as an interface LaTeX. As a small step that might be helpful to others by adding the commands at the end of this post to my .emacs file (actually I use Aquamacs) I can type C-c C-c sage to run Sage on the appropriate segments of my LaTeX file (see SageTeX) for more detail. I will post in future about my experience using SageTeX for getting closer to the goal of reproducible research (SageTeX also has a MATLAB interface so I plan to use it for interfacing with MATLAB too).

;; SageTeX setup
;; This adds the command sage when in LaTeX mode (to invoke type C-C C-c sage)
(eval-after-load "tex"
'(setq TeX-command-list
(append TeX-command-list
(list
(list "sage" "sage %s.sage" 'TeX-run-command nil t :help "Run SAGE on the SAGE file corresponding to this LaTeX file (run latex first).")))))

Sunday, March 22, 2009

Publication: Natural scene statistics and the structure of orientation maps in the visual cortex.

Hunt, J.J., Giacomantonio, C.E., Tang, H., Mortimer, D., Jaffer, S.,Vorobyov, V., Ericksson, G., Sengpiel, F. & Goodhill, G.J. (2009).
Natural scene statistics and the structure of orientation maps in the visual cortex.
Neuroimage, in press.

Publication: On the simulation of enzymatic digest patterns: the fragmentation of oligomeric and polymeric galacturonides by endo-polygalacturonase II

Hunt, J. J., Cameron, R. G., Williams, M. A. K. (2006)
On the simulation of enzymatic digest patterns: the fragmentation of oligomeric and polymeric galacturonides by endo-polygalacturonase II,
Biochimica et Biophysica Acta 1760:1696-1703

Access article via DOI link 10.1016/j.bbagen.2006.08.022,Local PDF, Arvix Preprint physics/0609004