Friday, April 20, 2007

MarsEdit markdown test.

This is a test of MarsEdit's Markdown capabilities. Why use Markdown?

- It's easier to write
- It's easier to read the source

This is some code:

def rot2d(x, y, ang):
'rotate vectors by geometric angle'
xr = x*cos(ang) - y*sin(ang)
yr = x*sin(ang) + y*cos(ang)
return xr, yr

So, check out [this link](http://www.red-sweater.com/blog/324/marsedit-markdown), or see how [Markdown syntax works](http://daringfireball.net/projects/markdown/syntax).

Wednesday, April 11, 2007

PyQwt5 -- another plotting package for numerical python

Although matplotlib is the standard 2D plotting tool for numerical python, PyQt5 looks like an interesting alternative. Although the graphics appear to be more geared toward on-screen display, it is also (supposedly) very fast, so it might be a good platform for real-time data analysis.

Tuesday, April 10, 2007

Setting up Parallels to read a serial port

I need to set up parallels to run windows so that I can use software (windows only) that came with my RBR-620 CTD. The solution is much easier than some of the hints found on the web. Simply install the USB to RS232 drivers in windows, and then allow parallels to see the device by checking the appropriate device in the 'Devices -> USB' menu. That's it.

Just make sure to turn it off again when you want to use the port on the Mac side, as they don't share devices well..