curve_info = self._zip_translate_params(
zip_info, segments[0].info['raw info'], version)
for segment in segments: # HACK, should use curve-level spring constant
- segment.info['spring constant (N/m)'] = \
- curve_info['spring constant (N/m)']
+ for key in ['spring constant (N/m)',
+ 'z piezo sensitivity (m/V)']:
+ if key in curve_info:
+ segment.info['spring constant (N/m)'] = \
+ curve_info['spring constant (N/m)']
+
return (segments, curve_info)
def _zip_info(self, zipfile):