IDL Trinkets

The Powerbook accelerometer package shows a neat way to get information from your Powerbook via IDL (check the links below for MacBook code).

Instructions:
  1. Download the tarball and double-click on it to extract the motion folder.
  2. Start IDL in the motion folder.
  3. Read in the image (or use your own) and run the procedure:

    IDL> im = readfits('im.fits')
    IDL> motion, im

  4. Wiggle it (your Powerbook), just a little bit.
I deserve no credit at all for the C-code that queries the hardwear. My contribution is a spawn command in a while loop. The source and executable came from the level widget, and these guys deserve credit for that.





  Máté Ádámkovics
Postdoctoral Researcher
Astronomy Department
University of California
Berkeley, CA 94720


mate@berkeley.edu
(510) 642-6111


Home
Research Summary
Titan News
Publications
Astro 12
IDL
Webcams
About me