From d5d02c2962311733d9f1027aa3677cd21f689b16 Mon Sep 17 00:00:00 2001 From: devicerandom Date: Fri, 13 Jun 2008 23:18:28 +0000 Subject: [PATCH] Added first draft of jpk.py driver for JPK instruments -still not full,nor consistent. --- hemingclamp.py | 11 ----- hooke.conf | 1 + jpk.py | 128 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+), 11 deletions(-) create mode 100644 jpk.py diff --git a/hemingclamp.py b/hemingclamp.py index 881a789..e2f2e1c 100755 --- a/hemingclamp.py +++ b/hemingclamp.py @@ -18,17 +18,6 @@ __changelog__=''' import string import libhookecurve as lhc -def hemingclamp_magic(filepath): - ''' - we define our magic heuristic for HemingClamp files - ''' - myfile=file(filepath) - headerlines=myfile.readlines()[0:3] - if headerlines[0][0:10]=='#Hemingway' and headerlines[1][0:19]=='#Experiment: FClamp': - return True - else: - return False - class DataChunk(list): '''Dummy class to provide ext and ret methods to the data list. In this case ext and self can be equal. diff --git a/hooke.conf b/hooke.conf index e07dec9..b590ac9 100755 --- a/hooke.conf +++ b/hooke.conf @@ -35,6 +35,7 @@ This section defines which drivers have to be loaded by Hooke. +