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)
commitaed1aa8008cc1ac981add954975215fbe133aa41
tree4f2cb16693d5c09dff421731e0f14f9555c8f5b3
parent4a4d66963130a7cbb2d66e6d8cb78328c4c5cefc
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