Added calibration file support to the JPK driver.
authorW. Trevor King <wking@drexel.edu>
Thu, 17 Jun 2010 17:17:57 +0000 (13:17 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 17 Jun 2010 17:17:57 +0000 (13:17 -0400)
commit2ea2718975ae124c808aa54d4f468bd55ef3234c
tree4f2cb16693d5c09dff421731e0f14f9555c8f5b3
parent8931a12e55da9f7dd508150fa3213a94e36a5d64
Added calibration file support to the JPK driver.

I'm not sure about my interpretation of the calibration file format.
I've emailed JPK for clarification, so we'll see what they have to say.

Also:
* Check for 'filetype' attributes when loading playlists.  If it
  exists, try to load using the matching driver before going through
  the whole list of available drivers.  This should speed up checks
  for curves that were identified by some previous playlist activity
  (or by hand if the user is generating playlists from scratch).
* Pass curve info into Driver.read().  This allows playlist attributes
  to affect curve loading.  The particular example that motivated this
  was
    <CHANNEL-NAME>_<BASE-NAME>_to_<TARGET-NAME>_calibration_file
  for the JPK driver, but it is a good idea in general.  Experiment
  temperature should probably be set this way vs. its current global
  config setting.
* Added Driver.logger(), to reduce code duplication.
hooke/curve.py
hooke/driver/__init__.py
hooke/driver/jpk.py
hooke/driver/mfp3d.py
hooke/driver/picoforce.py
hooke/driver/tutorial.py
hooke/driver/wtk.py
test/data/vclamp_jpk/README
test/data/vclamp_jpk/default.cal [new file with mode: 0644]
test/data/vclamp_jpk/playlist.hkp
test/jpk_driver.py