Sunday, March 25, 2012
Running Digital Micrograph on Linux or Mac OSX
Monday, September 5, 2011
Accessing Journals in Papers2 via Cornell Proxy
Papers2 is a fairly nice way to manage your scientific articles. At least nice enough for me to purchase, although I am not convinced it is vastly superior to the cross-platform alternatives like Zotero and Mendeley. Nonetheless, it has become my software of choice for the moment.
My library institution is Cornell University and accessing articles off campus requires circumventing the pay-wall via a proxy. I spent the time figuring out how to do this from within Papers via the Cornell proxy. Unfortunately, this guide will reach a small audience and may be redundant with information already on the internet - however, I would have found it very useful two hours ago.
So, to get Papers2 setup for the Cornell system,
go to: File -> Preferences
Then select the "Access" menu:
Select Cornell University from the dropdown menu:
Lastly, and most importantly, you will need to specify Cornell's proxy in the region circled below:
In the circled region put: http://proxy.library.cornell.edu
You will now be able to access MOST journal services and articles. Note that Web of Science will probably not work, so you will need to locate your journals through other services such as Google Scholar, PubMed, IEEExplore, etc.
Tuesday, May 18, 2010
Rotating a Figure or Plot in Matlab
>> view(90,90)
...and you can go from this:

...to this:

Normally I would not post such a simple tutorial on my blog, however I wasted over a half an hour trying to find out this simple solution. After sifting through a multitude of poor documentation, blog posts, and forum threads, I ended up figuring it out on my own. I would like to say that there are many other ways to achieve this, and I was aware of most of them. I just wanted to know the easiest way and now hopefully the internet finds this useful as well.
Sunday, January 4, 2009
A New Equals Sign - Dot Equals
A lot of times, algebraic manipulations of expressions are made and the equals sign is also used. An example of this would be:
In this latter example, I think a unique equality character should be used to distinguish equalities made solely from mathematical manipulation.
So I propose the following a dot equals to denote equalities made solely from mathematical manipulation or evaluation. A simple example being:
Or

Although this symbol is available in unicode and Latex, if the character does not exist an equal with a period ( .= ) could be used. I must note that I have seen this to denote "in the limit of". I do not think this is a common use, and as an alternative a dot underneath the equals sign could be used or anything else similar to an equals sign. This symbol and many others exist in Unicode or Latex. For inspiration, check out all of the unicode symbols here.
Wednesday, July 30, 2008
MIT Photonic Bands (MPB) on Cygwin
how to run MPB on windows
-Robert Hovden, Jul 30 2008
[View PDF]
This is a quick rundown / summary of what I did to compile and install MPB using Cygwin on my Windows Vista machine. There are many dependencies and libraries that are needed to get MPB up and running. It is not comprehensive but at the very least, this should save you some time.
Installing Cygwin
Cygwin is a Linux-like environment for Windows which can be used to run software written for Linux distributions. After downloading Cygwin and running setup.exe you will be prompted with a couple hundred optional packages to install. You will need many of these packages to run MPB, let’s go through what dependencies can be installed using setup.exe.
gcc : C compiler
> Devel
gcc-g++: C++ compiler
> Devel
gcc-g77: Fortran compiler
> Devel
gettext: GNU Internationalization development utilities
> Devel
guile: The GNU extension language and Scheme interpreter – executables
> Interpreters
guile-devel: The GNU extension language and Scheme interpreter – development
> Libs
hdf5: HDF5 Hierarchical Data Format
> Utils
lapack: Comprehensive FORTRAN library for linear algebra operations.
> Math
libhdf5-devel: HDF5 Hierarchical Data Format – (development)
> Utils
libgmp-devel: Development library for GMP arbitrary precision arithmetic library
> Libs
libiconv: GNU character set conversion library and utilities
> Libs
libtool: A shared library generation tool
> Devel
make: The GNU version of the ‘make’ utility
> Devel
FFTW 2.1.5
FFTW version 3 is available through the cygwin setup but you will need version 2 which must be downloaded and compiled. Versions 2 and 3 will not conflict if both are simultaneously installed on your machine.
LIBCTL
Libctl is written by the authors of MPB and it can be found on their website. This must be compiled and installed.
MPB
With all of the above dependencies you should have enough to compile, install, and run MPB. Note that in order to install MPB using Windows Vista you will have to run cygwin as an administrator.



