hscan, kscan, lscan, hklscan

           
class hscan(Macro, _diffrac):
    "Scan h axis"

    param_def = [
        ['start_pos',  Type.Float,   None, 'Scan start position'],
        ['final_pos',  Type.Float,   None, 'Scan final position'],
        ['nr_interv',  Type.Integer, None, 'Number of scan intervals'],
        ['integ_time', Type.Float,   None, 'Integration time'],
    ]

class kscan(Macro, _diffrac):
    "Scan k axis"

    param_def = [
        ['start_pos',  Type.Float,   None, 'Scan start position'],
        ['final_pos',  Type.Float,   None, 'Scan final position'],
        ['nr_interv',  Type.Integer, None, 'Number of scan intervals'],
        ['integ_time', Type.Float,   None, 'Integration time'],
    ]

class lscan(Macro, _diffrac):
    "Scan l axis"

    param_def = [
        ['start_pos',  Type.Float,   None, 'Scan start position'],
        ['final_pos',  Type.Float,   None, 'Scan final position'],
        ['nr_interv',  Type.Integer, None, 'Number of scan intervals'],
        ['integ_time', Type.Float,   None, 'Integration time'],
    ]

class hklscan(Macro, _diffrac):
    "Scan h k l axes"

    param_def = [
        ['h_start_pos',  Type.Float,   None, 'Scan h start position'],
        ['h_final_pos',  Type.Float,   None, 'Scan h final position'],
        ['k_start_pos',  Type.Float,   None, 'Scan k start position'],
        ['k_final_pos',  Type.Float,   None, 'Scan k final position'],
        ['l_start_pos',  Type.Float,   None, 'Scan l start position'],
        ['l_final_pos',  Type.Float,   None, 'Scan l final position'],
        ['nr_interv',  Type.Integer, None, 'Number of scan intervals'],
        ['integ_time', Type.Float,   None, 'Integration time'],
    ]

p09/door/haso107d1.01 [32]: kscan 0 1 11 0.1
ScanDir is not defined. This operation will not be stored persistently. Use Use "expconf" (or "senv ScanDir <abs directory>") to enable it
Scan #1 started at Tue Jan 20 18:17:21 2015. It will take at least 0:00:01.200000
Moving to start positions...
 #Pt No   e6cctrl_k  exp_t01    d1_c01      dt   
   0      -4.29333e-32    0.1        1      0.496505
   1      0.0909015    0.1        2      2.13244 
   2       0.18182     0.1        6      3.57856 
   3       0.272723    0.1        11     5.08008 
   4       0.363634    0.1        19     6.64288 
   5       0.454543    0.1        30     8.13935 
   6       0.545446    0.1        46     9.60844 
   7       0.636358    0.1        63     10.2903 
   8       0.727268    0.1        74     11.0591 
   9       0.818178    0.1        86     12.7656 
   10      0.909093    0.1        86     14.3544 
   11         1        0.1        88      16.019 
Scan #1 ended at Tue Jan 20 18:17:37 2015, taking 0:00:16.183987.Dead time 92.6% (motion dead time 84.1%)

p09/door/haso107d1.01 [34]: hklscan 1 1 0 1 0 0 11 0.1
ScanDir is not defined. This operation will not be stored persistently. Use Use "expconf" (or "senv ScanDir <abs directory>") to enable it
Scan #2 started at Tue Jan 20 18:19:38 2015. It will take at least 0:00:01.200000
Moving to start positions...
 #Pt No   e6cctrl_h  e6cctrl_k  e6cctrl_l  exp_t01    d1_c01      dt   
   0       0.999997  -4.29333e-32  -9.66773e-17    0.1        75     0.425216
   1       0.999999  0.0909015  -8.76262e-06    0.1       106     1.91755 
   2       0.999995   0.18182   -8.86968e-06    0.1       121     3.42069 
   3       0.999994   0.272723  -1.93355e-16    0.1       131     4.90196 
   4          1       0.363634      0        0.1       128     6.41766 
   5       0.999994   0.454543      0        0.1       114     7.94115 
   6          1       0.545446  -3.86709e-16    0.1        93      9.4274 
   7       0.999999   0.636358  -6.76741e-16    0.1        70     10.1194 
   8       1.00001    0.727268  1.07905e-05    0.1        47     10.6942 
   9       1.00001    0.818178  -2.90032e-16    0.1        32     12.2742 
   10      0.999992   0.909093  -1.17937e-05    0.1        17     13.8966 
   11         1          1      -3.86709e-16    0.1        9       15.521 
Scan #2 ended at Tue Jan 20 18:19:54 2015, taking 0:00:15.783787.Dead time 92.4% (motion dead time 81.1%)



2019-11-13