~gcg/splithopkinsontools/trunk

« back to all changes in this revision

Viewing changes to simpleSync.py

  • Committer: gcg
  • Date: 2018-07-31 17:48:26 UTC
  • Revision ID: gcg-20180731174826-bxzp5ubwr5lwyt6b
DHTB notchFFT

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#directory = r"C:\Users\gcg\Documents\SHTB\Koemmerling_GD920D\20180607_koemmerling_D_3bar"
27
27
#directory = r"C:\Users\gcg\Documents\SHTB\Koemmerling_GD920D\20180607_koemmerling_EdT_3bar"
28
28
# ===============================
29
 
directory = r"C:\Users\gcg\Documents\ZwickSync"
30
 
Zwick = True
 
29
directory = r"/home/gcg/SHTB/PC/DHTB_A/1Bar_12x10PC_TestA/"
 
30
#directory = r"/mnt/engsysstaff/Projekte/SHTB_Koemmerling/GD920D/0d9Bar_G"
 
31
Zwick = False
31
32
 
32
33
import numpy as np
33
34
from scipy import interpolate
222
223
    global p, parTree
223
224
    params = [{'name': 'nsmooth force', 'type': 'int', 'value':  1, 'step': 1, 'siPrefix': False},
224
225
              {'name': 'nsmooth strain', 'type': 'int', 'value':  1, 'step': 1, 'siPrefix': False},
225
 
              {'name': 'delay', 'type': 'float', 'value': 0.04},
 
226
              {'name': 'delay', 'type': 'float', 'value': 0.09},
226
227
              {'name': 'E modulus', 'type': 'float', 'value': 2.0, 'step': 0.2, 'suffix': ' GPa'},
227
228
              {'name': 'gauge length L0', 'type': 'float', 'value': 6.5, 'step': 0.1, 'suffix': ' mm'},
228
229
              {'name': 'cross sec. width', 'type': 'float', 'value': 3.0, 'step': 0.1, 'suffix': ' mm'},
229
 
              {'name': 'cross sec. height', 'type': 'float', 'value': 8.0, 'step': 0.1, 'suffix': ' mm'},
 
230
              {'name': 'cross sec. height', 'type': 'float', 'value': 10.0, 'step': 0.1, 'suffix': ' mm'},
230
231
              {'name': 'A0', 'type': 'float', 'value': 24.0, 'step': 1, 'suffix': ' mm^2', 'readonly' : True},
231
232
              {'name': 'local strain rate', 'type': 'float', 'value': 0.0, 'step': 1, 'readonly' : True},
232
233
              {'name': 'mean strain rate', 'type': 'float', 'value': 0.0, 'step': 1, 'readonly' : True},